|
DDS
ver. 3.6
|
#include <TopoVars.h>
Public Types | |
| using | Ptr_t = std::shared_ptr< CTopoVars > |
| using | varMap_t = std::map< std::string, std::string > |
Public Types inherited from dds::topology_api::CTopoBase | |
| enum | EType { EType::TOPO_BASE, EType::TOPO_PROPERTY, EType::TOPO_ELEMENT, EType::TASK, EType::COLLECTION, EType::GROUP, EType::REQUIREMENT, EType::TOPO_VARS, EType::TRIGGER } |
| using | Ptr_t = std::shared_ptr< CTopoBase > |
| using | PtrVector_t = std::vector< CTopoBase::Ptr_t > |
Public Member Functions | |
| CTopoVars (const std::string &_name) | |
| Constructor. More... | |
| virtual | ~CTopoVars () |
| Destructor. More... | |
| void | initFromPropertyTree (const boost::property_tree::ptree &_pt) |
| Inherited from TopoBase. More... | |
| void | saveToPropertyTree (boost::property_tree::ptree &_pt) |
| Inherited from TopoBase. More... | |
| virtual std::string | toString () const |
| Returns string representation of an object. More... | |
| virtual std::string | hashString () const |
| Inherited from TopoBase. More... | |
| const varMap_t & | getMap () const |
Public Member Functions inherited from dds::topology_api::CTopoBase | |
| void | setName (const std::string &_name) |
| Modifiers. More... | |
| void | setParent (CTopoBase *_parent) |
| const std::string & | getName () const |
| Accessors. More... | |
| CTopoBase::EType | getType () const |
| CTopoBase * | getParent () const |
| std::string | getPath () const |
| Return full path to topo element or property. More... | |
| void | initFromXML (const std::string &_filepath, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| Initializes object with data from XML file. More... | |
| void | initFromXML (std::istream &_stream, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| Initializes object with data from XML input stream. 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 | |
| template<class Object_t > | |
| static Object_t::Ptr_t | make (const std::string &_objectName, const std::string &_filepath, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| Convenience API to create topology object from XML file. More... | |
| template<class Object_t > | |
| static Object_t::Ptr_t | make (const std::string &_objectName, std::istream &_stream, const std::string &_schemaFilepath="", std::string *_topologyName=nullptr) |
| Convenience API to create topology object from XML file. More... | |
| template<class Object_t > | |
| static Object_t::Ptr_t | make (const std::string &_name, const boost::property_tree::ptree &_pt) |
| Convenience API to create topology object with data from property tree. More... | |
Protected Member Functions inherited from dds::topology_api::CTopoBase | |
| CTopoBase (const std::string &_name) | |
| Constructor. More... | |
| virtual | ~CTopoBase () |
| Destructor. More... | |
| void | setType (CTopoBase::EType _type) |
| using dds::topology_api::CTopoVars::Ptr_t = std::shared_ptr<CTopoVars> |
| using dds::topology_api::CTopoVars::varMap_t = std::map<std::string, std::string> |
| CTopoVars::CTopoVars | ( | const std::string & | _name | ) |
Constructor.
|
virtual |
Destructor.
| const CTopoVars::varMap_t & CTopoVars::getMap | ( | ) | const |
|
virtual |
Inherited from TopoBase.
Implements dds::topology_api::CTopoBase.
|
virtual |
Inherited from TopoBase.
Implements dds::topology_api::CTopoBase.
|
virtual |
Inherited from TopoBase.
Implements dds::topology_api::CTopoBase.
|
virtual |
Returns string representation of an object.
Reimplemented from dds::topology_api::CTopoBase.
|
friend |
Operator << for convenient output to ostream.
1.8.15