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

#include <Requirement.h>

Inheritance diagram for dds::topology_api::CRequirement:
dds::topology_api::CTopoBase

Public Member Functions

 CRequirement ()
 Constructor. More...
 
virtual ~CRequirement ()
 Destructor. More...
 
void initFromPropertyTree (const std::string &_name, const boost::property_tree::ptree &_pt)
 Inherited from TopoBase. More...
 
const std::string & getValue () const
 
ERequirementType getRequirementType () const
 
void setValue (const std::string &_value)
 
void setRequirementType (ERequirementType _requireemntType)
 
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 CRequirement &_requirement)
 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

◆ CRequirement()

CRequirement::CRequirement ( )

Constructor.

◆ ~CRequirement()

CRequirement::~CRequirement ( )
virtual

Destructor.

Member Function Documentation

◆ getRequirementType()

ERequirementType CRequirement::getRequirementType ( ) const

◆ getValue()

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

◆ initFromPropertyTree()

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

Inherited from TopoBase.

Implements dds::topology_api::CTopoBase.

◆ setRequirementType()

void CRequirement::setRequirementType ( ERequirementType  _requireemntType)

◆ setValue()

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

◆ toString()

string CRequirement::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 CRequirement _requirement 
)
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: