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

#include <TopoVars.h>

Inheritance diagram for dds::topology_api::CTopoVars:
dds::topology_api::CTopoBase

Public Types

typedef std::map< std::string, std::string > varMap_t
 

Public Member Functions

 CTopoVars ()
 Constructor. More...
 
virtual ~CTopoVars ()
 Destructor. More...
 
void initFromPropertyTree (const std::string &_name, const boost::property_tree::ptree &_pt)
 Inherited from TopoBase. More...
 
virtual std::string toString () const
 Returns string representation of an object. More...
 
const varMap_tgetMap () const
 
- 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 CTopoVars &_vars)
 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)
 

Member Typedef Documentation

◆ varMap_t

typedef std::map<std::string, std::string> dds::topology_api::CTopoVars::varMap_t

Constructor & Destructor Documentation

◆ CTopoVars()

CTopoVars::CTopoVars ( )

Constructor.

◆ ~CTopoVars()

CTopoVars::~CTopoVars ( )
virtual

Destructor.

Member Function Documentation

◆ getMap()

const CTopoVars::varMap_t & CTopoVars::getMap ( ) const

◆ initFromPropertyTree()

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

Inherited from TopoBase.

Implements dds::topology_api::CTopoBase.

◆ toString()

string CTopoVars::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 CTopoVars _vars 
)
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: