This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IndoorMap/mapview/model/IHasAttributes.h
2016-05-24 16:55:19 +02:00

22 lines
494 B
C++

#ifndef IHASATTRIBUTES_H
#define IHASATTRIBUTES_H
#include <string>
class IHasAttributes {
public:
/** 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 all attributes as map */
virtual const std::unordered_map<std::string, std::string> getAttributes() const = 0;
};
#endif // IHASATTRIBUTES_H