DDS  ver. 2.0
Public Member Functions | Friends | List of all members
dds::topology_api::CTopoProperty Class Reference

#include <TopoProperty.h>

Inheritance diagram for dds::topology_api::CTopoProperty:
dds::topology_api::CTopoBase

Public Member Functions

 CTopoProperty ()
 Constructor. More...
 
virtual ~CTopoProperty ()
 Destructor. More...
 
void initFromPropertyTree (const std::string &_name, const boost::property_tree::ptree &_pt)
 Inherited from TopoBase. More...
 
const std::string & getValue () const
 
EPropertyAccessType getAccessType () const
 
void setValue (const std::string &_value)
 
void setAccessType (EPropertyAccessType _accessType)
 
virtual std::string toString () const
 Returns string representation of an object. More...
 
- Public Member Functions inherited from dds::topology_api::CTopoBase
void setId (const std::string &_id)
 Modifiers. More...
 
void setParent (CTopoBase *_parent)
 
std::string getId () const
 Accessors. More...
 
ETopoType getType () const
 
CTopoBasegetParent () const
 
std::string getPath () const
 Return full path to topo element or property. More...
 
CTopoIndex getIndex () const
 Return index of topo element or property. More...
 

Friends

std::ostream & operator<< (std::ostream &_strm, const CTopoProperty &_property)
 Operator << for convenient output to ostream. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from dds::topology_api::CTopoBase
static const boost::property_tree::ptree & findElement (ETopoType _type, const std::string &_name, const boost::property_tree::ptree &_pt)
 Helper function to find element in property tree by type and name. More...
 
- Protected Member Functions inherited from dds::topology_api::CTopoBase
 CTopoBase ()
 Constructor. More...
 
virtual ~CTopoBase ()
 Destructor. More...
 
void setType (ETopoType _type)
 

Constructor & Destructor Documentation

◆ CTopoProperty()

CTopoProperty::CTopoProperty ( )

Constructor.

◆ ~CTopoProperty()

CTopoProperty::~CTopoProperty ( )
virtual

Destructor.

Member Function Documentation

◆ getAccessType()

EPropertyAccessType CTopoProperty::getAccessType ( ) const

◆ getValue()

const std::string & CTopoProperty::getValue ( ) const

◆ initFromPropertyTree()

void CTopoProperty::initFromPropertyTree ( const std::string &  _name,
const boost::property_tree::ptree &  _pt 
)
virtual

Inherited from TopoBase.

Implements dds::topology_api::CTopoBase.

◆ setAccessType()

void CTopoProperty::setAccessType ( EPropertyAccessType  _accessType)

◆ setValue()

void CTopoProperty::setValue ( const std::string &  _value)

◆ toString()

string CTopoProperty::toString ( ) const
virtual

Returns string representation of an object.

Returns
String representation of an object.

Reimplemented from dds::topology_api::CTopoBase.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  _strm,
const CTopoProperty _property 
)
friend

Operator << for convenient output to ostream.

Returns
Insertion stream in order to be able to call a succession of insertion operations.

The documentation for this class was generated from the following files: