11 if(m_properties.find(propertyName)!=m_properties.end()){
13 m_properties.erase(propertyName);
15 m_properties.insert(std::make_pair(propertyName,propertyValue));
20 m_flags.insert(flagName);
24 return (m_properties.find(propertyName)!=m_properties.end());
29 std::map<std::string,std::string>::const_iterator iP = m_properties.find(propertyName);
30 if(iP!=m_properties.end()){
38 if(m_flags.find(flagName)!=m_flags.end()){
46 if(m_properties.find(propertyName)!=m_properties.end()){
48 m_properties.erase(propertyName);
55 if(m_flags.find(flagName)!=m_flags.end()){
57 m_flags.erase(flagName);
bool hasProperty(const std::string &propertyName) const
bool getFlag(const std::string &flagName) const
bool removeProperty(const std::string &propertyName)
bool setProperty(const std::string &propertyName, const std::string &propertyValue)
std::string getProperty(const std::string &propertyName) const
bool removeFlag(const std::string &flagName)
void setFlag(const std::string &flagName)