#include <Topology.h>
|
| typedef std::map< uint64_t, STaskInfo > | HashToTaskInfoMap_t |
| | Note that hash is of type uint_64. Hash is calculated using CRC64 algorithm. More...
|
| |
| typedef std::function< bool(std::pair< uint64_t, const STaskInfo & >)> | TaskInfoCondition_t |
| |
| typedef boost::filter_iterator< TaskInfoCondition_t, HashToTaskInfoMap_t::const_iterator > | TaskInfoIterator_t |
| |
| typedef std::pair< TaskInfoIterator_t, TaskInfoIterator_t > | TaskInfoIteratorPair_t |
| |
| typedef std::map< uint64_t, TaskCollectionPtr_t > | HashToTaskCollectionMap_t |
| |
| typedef std::function< bool(std::pair< uint64_t, TaskCollectionPtr_t >)> | TaskCollectionCondition_t |
| |
| typedef boost::filter_iterator< TaskCollectionCondition_t, HashToTaskCollectionMap_t::const_iterator > | TaskCollectionIterator_t |
| |
| typedef std::pair< TaskCollectionIterator_t, TaskCollectionIterator_t > | TaskCollectionIteratorPair_t |
| |
| typedef std::map< std::string, TaskPtr_t > | HashPathToTaskMap_t |
| |
| typedef std::map< std::string, TaskCollectionPtr_t > | HashPathToTaskCollectionMap_t |
| |
| typedef std::map< CTopoIndex, TopoElementPtr_t, CompareTopoIndexLess > | TopoIndexToTopoElementMap_t |
| |
| typedef std::map< uint64_t, std::vector< uint64_t > > | CollectionHashToTaskHashesMap_t |
| |
| typedef std::set< uint64_t > | HashSet_t |
| |
◆ CollectionHashToTaskHashesMap_t
◆ HashPathToTaskCollectionMap_t
◆ HashPathToTaskMap_t
◆ HashSet_t
◆ HashToTaskCollectionMap_t
◆ HashToTaskInfoMap_t
Note that hash is of type uint_64. Hash is calculated using CRC64 algorithm.
◆ TaskCollectionCondition_t
◆ TaskCollectionIterator_t
◆ TaskCollectionIteratorPair_t
◆ TaskInfoCondition_t
◆ TaskInfoIterator_t
◆ TaskInfoIteratorPair_t
◆ TopoIndexToTopoElementMap_t
◆ CTopology()
◆ ~CTopology()
| CTopology::~CTopology |
( |
| ) |
|
|
virtual |
◆ getDifference()
Get difference between THIS topology and a new one.
- Parameters
-
| [in] | _topology | New topology to calculate the difference with. |
| [out] | _removedTasks | Tasks which exist in THIS topology and don't exist in new one. |
| [out] | _removedCollections | Collections which exist in THIS topology and don't exist in new one. |
| [out] | _addedTasks | Tasks which exist in new topology and don't exist in THIS one. |
| [out] | _addedCollections | Collections which exist in new topology and don't exist in THIS one. |
◆ getHashPathToTaskCollectionMap()
◆ getHashPathToTaskMap()
◆ getHashToTaskCollectionMap()
◆ getHashToTaskInfoMap()
◆ getMainGroup()
◆ getTaskByHash()
| TaskPtr_t CTopology::getTaskByHash |
( |
uint64_t |
_hash | ) |
const |
◆ getTaskByHashPath()
| TaskPtr_t CTopology::getTaskByHashPath |
( |
const std::string & |
_hashPath | ) |
const |
◆ getTaskCollectionByHash()
◆ getTaskCollectionIterator()
◆ getTaskHashesByTaskCollectionHash()
| const std::vector< uint64_t > & CTopology::getTaskHashesByTaskCollectionHash |
( |
uint64_t |
_hash | ) |
const |
◆ getTaskInfoByHash()
| const STaskInfo & CTopology::getTaskInfoByHash |
( |
uint64_t |
_hash | ) |
const |
◆ getTaskInfoIterator()
◆ getTaskInfoIteratorForPropertyId()
◆ getTopoElementByTopoIndex()
◆ getTopoIndexToTopoElementMap()
Accessors to internal data structures. Used for unit tests.
◆ init()
| void CTopology::init |
( |
const std::string & |
_fileName, |
|
|
bool |
_initForTest = false |
|
) |
| |
Initializes topology from specified file.
- Exceptions
-
FIXME Use parser based on the file extension.
◆ setXMLValidationDisabled()
| void CTopology::setXMLValidationDisabled |
( |
bool |
_val | ) |
|
◆ stringOfCollections()
| std::string CTopology::stringOfCollections |
( |
const HashSet_t & |
_ids | ) |
const |
◆ stringOfTasks()
| std::string CTopology::stringOfTasks |
( |
const HashSet_t & |
_ids | ) |
const |
◆ toString()
| string CTopology::toString |
( |
| ) |
const |
|
virtual |
Returns string representation of an object.
- Returns
- String representation of an object.
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
_strm, |
|
|
const CTopology & |
_topology |
|
) |
| |
|
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: