2 // Created: 12 Aug 2014
3 // Author: Vitaly SMETANNIKOV
8 #include "Config_def.h"
13 /// Class which describes a one property
44 * Creates a one property
45 * \param theSection - name of section (domain of using) of the property.
46 * \param theName - name (title) of the value.
47 * \param theType - type of the value.
48 * \param theValue - initial value of the property.
50 Config_Prop(const std::string& theSection, const std::string& theName,
51 const std::string& theTitle, PropType theType, const std::string& theValue)
53 mySection = theSection;
60 std::string section() const
64 std::string name() const
69 std::string title() const
73 void setTitle(const std::string& theTitle)
82 void setType(PropType theType)
87 std::string value() const
91 void setValue(const std::string& theValue)
96 bool operator==(const Config_Prop* theProp) const
98 return (mySection == theProp->section()) && (myName == theProp->name());
102 std::string mySection;
109 typedef std::list<Config_Prop*> Config_Properties;