many changes :P
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
#ifndef IHASATTRIBUTES_H
|
||||
#define IHASATTRIBUTES_H
|
||||
|
||||
#include <string>
|
||||
//#include <string>
|
||||
|
||||
class IHasAttributes {
|
||||
//class IHasAttributes {
|
||||
|
||||
public:
|
||||
//public:
|
||||
|
||||
/** set the value for the given key */
|
||||
virtual void setAttribute(const std::string& key, const std::string& val) = 0;
|
||||
// /** set the value for the given key */
|
||||
// virtual void setAttribute(const std::string& key, const std::string& val) = 0;
|
||||
|
||||
/** get the value for the given key */
|
||||
virtual const std::string& getAttribute(const std::string& key) const = 0;
|
||||
// /** get the value for the given key */
|
||||
// virtual const std::string& getAttribute(const std::string& key) const = 0;
|
||||
|
||||
/** get all attributes as map */
|
||||
virtual const std::unordered_map<std::string, std::string> getAttributes() const = 0;
|
||||
// /** get all attributes as map */
|
||||
// virtual const std::unordered_map<std::string, std::string> getAttributes() const = 0;
|
||||
|
||||
};
|
||||
//};
|
||||
|
||||
#endif // IHASATTRIBUTES_H
|
||||
|
||||
Reference in New Issue
Block a user