#include <TopoRequirement.h>
|
enum | EType { EType::WnName,
EType::HostName,
EType::Gpu,
EType::MaxInstancesPerHost
} |
|
using | Ptr_t = std::shared_ptr< CTopoRequirement > |
|
using | PtrVector_t = std::vector< CTopoRequirement::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
◆ PtrVector_t
◆ EType
Enumerator |
---|
WnName | |
HostName | |
Gpu | |
MaxInstancesPerHost | |
◆ CTopoRequirement()
CTopoRequirement::CTopoRequirement |
( |
const std::string & |
_name | ) |
|
◆ ~CTopoRequirement()
CTopoRequirement::~CTopoRequirement |
( |
| ) |
|
|
virtual |
◆ getRequirementType()
◆ getValue()
const std::string & CTopoRequirement::getValue |
( |
| ) |
const |
◆ hashString()
string CTopoRequirement::hashString |
( |
| ) |
const |
|
virtual |
◆ initFromPropertyTree()
void CTopoRequirement::initFromPropertyTree |
( |
const boost::property_tree::ptree & |
_pt | ) |
|
|
virtual |
◆ saveToPropertyTree()
void CTopoRequirement::saveToPropertyTree |
( |
boost::property_tree::ptree & |
_pt | ) |
|
|
virtual |
◆ setRequirementType()
◆ setValue()
void CTopoRequirement::setValue |
( |
const std::string & |
_value | ) |
|
◆ toString()
string CTopoRequirement::toString |
( |
| ) |
const |
|
virtual |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
_strm, |
|
|
const CTopoRequirement & |
_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: