#include <TopoProperty.h>
|
| enum | EAccessType { EAccessType::READ,
EAccessType::WRITE,
EAccessType::READWRITE
} |
| |
| enum | EScopeType { EScopeType::GLOBAL,
EScopeType::COLLECTION
} |
| |
| using | Ptr_t = std::shared_ptr< CTopoProperty > |
| |
| using | PtrMap_t = std::map< std::string, CTopoProperty::Ptr_t > |
| |
| 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 > |
| |
|
| 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...
|
| |
| | CTopoBase (const std::string &_name) |
| | Constructor. More...
|
| |
| virtual | ~CTopoBase () |
| | Destructor. More...
|
| |
| void | setType (CTopoBase::EType _type) |
| |
◆ Ptr_t
◆ PtrMap_t
◆ EAccessType
| Enumerator |
|---|
| READ | |
| WRITE | |
| READWRITE | |
◆ EScopeType
| Enumerator |
|---|
| GLOBAL | |
| COLLECTION | |
◆ CTopoProperty()
| CTopoProperty::CTopoProperty |
( |
const std::string & |
_name | ) |
|
◆ ~CTopoProperty()
| CTopoProperty::~CTopoProperty |
( |
| ) |
|
|
virtual |
◆ getAccessType()
◆ getScopeType()
◆ getValue()
| const std::string & CTopoProperty::getValue |
( |
| ) |
const |
◆ hashString()
| string CTopoProperty::hashString |
( |
| ) |
const |
|
virtual |
◆ initFromPropertyTree()
| void CTopoProperty::initFromPropertyTree |
( |
const boost::property_tree::ptree & |
_pt | ) |
|
|
virtual |
◆ saveToPropertyTree()
| void CTopoProperty::saveToPropertyTree |
( |
boost::property_tree::ptree & |
_pt | ) |
|
|
virtual |
◆ setAccessType()
◆ setScopeType()
◆ setValue()
| void CTopoProperty::setValue |
( |
const std::string & |
_value | ) |
|
◆ toString()
| string CTopoProperty::toString |
( |
| ) |
const |
|
virtual |
◆ 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: