template<typename T>
class msl::graph::IteratorTemplate< T >
Node encapsulating an msl::Iterator.
|
|
using | Pointer = std::shared_ptr<IteratorTemplate<T>> |
| | Reference-counted pointer to IteratorTemplate<T>.
|
|
using | ConstPointer = std::shared_ptr<IteratorTemplate<T> const> |
| | Reference-counted constant pointer to IteratorTemplate<T>.
|
|
using | Pointer = std::shared_ptr<Node> |
| | Reference-counted pointer to Node.
|
|
using | ConstPointer = std::shared_ptr<Node const> |
| | Reference-counted constant pointer to Node.
|
|
using | Siblings = std::vector<AbstractNode::Pointer> |
| | Child container.
|
|
using | Pointer = std::shared_ptr<AbstractNode> |
| | Reference-counted pointer to AbstractNode.
|
|
using | ConstPointer = std::shared_ptr<AbstractNode const> |
| | Reference-counted constant pointer to AbstractNode.
|
|
| NLSStatus | prepare (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override |
| | Prepare the children.
|
| NLSStatus | run (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override |
| | Run the children for each item of the iterator range.
|
| void | reset () override |
| | Reset the iterator and reset its children to a default state.
|
| uint64_t | duration () const override |
| | Return the sum of the duration of the children times the number of items of the iterator range.
|
| MrProtocolData::SeqExpoRFInfo | rfInfo () const override |
| | Return the sum of the RF information of the children times the number of items of the iterator range.
|
| NLSStatus | prepare (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override |
| | Prepare all children in order.
|
| NLSStatus | run (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override |
| | Run all children in order.
|
| Node & | setRegistry (Dictionary::Pointer registry) override |
| | Set the registry to this node and its children.
|
| void | reset () override |
| | Reset children to a default state.
|
| uint64_t | duration () const override |
| | Return the sum of the duration of the children.
|
| MrProtocolData::SeqExpoRFInfo | rfInfo () const override |
| | Return the sum of the RF information of the children.
|
|
bool | empty () const |
| | Check whether this node has children.
|
|
std::size_t | size () const |
| | Return the number of children.
|
|
template<typename T> |
| T & | appendChild (std::shared_ptr< T > const &child) |
| | Append a child in last position, return the child.
|
|
void | appendChildren (Siblings const &siblings) |
| | Append children after the last position.
|
|
Node & | deleteChild (std::size_t index) |
| | Remove a child.
|
|
Node & | clearChildren () |
| | Remove all children.
|
| AbstractNode::ConstPointer | child (std::size_t index) const |
| | Return a child at given position.
|
| AbstractNode::Pointer | child (std::size_t index) |
| | Return a child at given position.
|
|
Dictionary::ConstPointer | registry () const |
| | Return the registry.
|
|
Dictionary::Pointer & | registry () |
| | Return the registry.
|
|
template<typename T> |
| T const & | get (std::string const &key) const |
| | Return an object from the dictionary.
|
|
template<typename T> |
| T & | get (std::string const &key) |
| | Return an object from the dictionary.
|
|
template<typename T> |
| AbstractNode & | set (std::string const &key, T &&value) |
| | Store an object in the dictionary, create it if needed.
|
|
boost::typeindex::type_info const & | type (std::string const &key) const |
| | Return the type of an object in the dictionary.
|