6 #ifndef __DDS__TopoProperty__ 7 #define __DDS__TopoProperty__ 18 namespace topology_api
38 using Ptr_t = std::shared_ptr<CTopoProperty>;
40 using PtrMap_t = std::map<std::string, CTopoProperty::Ptr_t>;
55 void setValue(
const std::string& _value);
63 virtual std::string
toString()
const;
virtual std::string toString() const
Returns string representation of an object.
Definition: TopoProperty.cpp:90
Definition: TopoBase.h:20
CTopoProperty::EScopeType getScopeType() const
Definition: TopoProperty.cpp:47
friend std::ostream & operator<<(std::ostream &_strm, const CTopoProperty &_property)
Operator << for convenient output to ostream.
virtual ~CTopoProperty()
Destructor.
Definition: TopoProperty.cpp:23
EAccessType
Definition: TopoProperty.h:25
std::shared_ptr< CTopoBase > Ptr_t
Definition: TopoBase.h:36
virtual std::string hashString() const
Inherited from TopoBase.
Definition: TopoProperty.cpp:103
std::map< std::string, CTopoProperty::Ptr_t > PtrMap_t
Definition: TopoProperty.h:40
EScopeType
Definition: TopoProperty.h:32
const std::string & getValue() const
Definition: TopoProperty.cpp:27
Miscellaneous functions and helpers are located here.
Definition: AgentConnectionManager.h:13
Definition: TopoProperty.h:22
void setAccessType(CTopoProperty::EAccessType _accessType)
Definition: TopoProperty.cpp:42
void initFromPropertyTree(const boost::property_tree::ptree &_pt)
Inherited from TopoBase.
Definition: TopoProperty.cpp:57
CTopoProperty::EAccessType getAccessType() const
Definition: TopoProperty.cpp:32
void setScopeType(CTopoProperty::EScopeType _scopeType)
Definition: TopoProperty.cpp:52
void saveToPropertyTree(boost::property_tree::ptree &_pt)
Inherited from TopoBase.
Definition: TopoProperty.cpp:76
CTopoProperty(const std::string &_name)
Constructor.
Definition: TopoProperty.cpp:17
void setValue(const std::string &_value)
Definition: TopoProperty.cpp:37