11#ifndef LIMA_COMMON_PROPERTYCODE_PROPERTYCODEMANAGER_H
12#define LIMA_COMMON_PROPERTYCODE_PROPERTYCODEMANAGER_H
64 const std::string& propertyName)
const;
72 const std::string& propertyName)
const;
80 const std::set<std::string>& propertyNames)
const;
116 std::map<std::string,LinguisticCode>& conversionTable)
const;
119 std::unique_ptr<PropertyCodeManagerPrivate> m_d;
#define LIMA_PROPERTYCODE_EXPORT
Provide function to read write and check a property.
const std::shared_ptr< PropertyAccessor > getPropertySetAccessor(const std::set< std::string > &propertyNames) const
Get a PropertyAccessor associated to several properties.
void convertSymbolicCodes(const std::string &symbolicCodeFile, std::map< std::string, LinguisticCode > &conversionTable) const
Compute conversion of symbolic codes into linguisticCode and append them into the given map.
friend class PropertyCodeManagerPrivate
const std::map< std::string, PropertyManager > & getPropertyManagers() const
Get the map of all PropertyManagers.
const PropertyManager & getPropertyManager(const std::string &propertyName) const
Get the PropertyManager associated to a property.
void readFromXmlFile(const std::string &filename)
This functions should be called once, just after creation.
PropertyCodeManager()
Default Constructor.
PropertyCodeManager & operator=(const PropertyCodeManager &)
const PropertyAccessor & getPropertyAccessor(const std::string &propertyName) const
Get the PropertyAccessor associated to a property.
LinguisticCode encode(const std::map< std::string, std::string > &propValues) const
Compute the code corresponding to given the properties/values.
Provide tools to manage a specific property.