Lazy enumeration of node maps.
More...
#include <cvb/genapi/node_map_enumerator.hpp>
Public Member Functions | |
NodeMapEnumerator (NodeMapEnumerator &&other)=default | |
Move constructor. More... | |
NodeMapEnumerator & | operator= (NodeMapEnumerator &&other)=default |
Move operator. More... | |
void * | Handle () const noexcept |
Classic API device handle. More... | |
std::vector< String > | Names () const |
Get the names of all available node maps. More... | |
NodeMapPtr | operator[] (const String &name) const |
Name based node map access. More... | |
NodeMapPtr | NodeMap (const String &name) const |
Name based node map access. More... | |
Static Public Member Functions | |
template<class T > | |
static NodeMapEnumerator | FromObject (const T &object) |
Create a node map enumerator for a given object. More... | |
Lazy enumeration of node maps.
Enumerates node maps (lazy) that belong to a arbitrary object respectively it's handle on demand.
|
default |
Move constructor.
[in] | other | The other object. |
Does | not throw any exception. |
|
inlinestatic |
Create a node map enumerator for a given object.
[in] | object | That has a handle. |
Any | exception derived from std::exception including CvbException. |
|
inlinenoexcept |
Classic API device handle.
Does | not throw any exception. |
It is normally not necessary to work with this handle.
|
inline |
Get the names of all available node maps.
Any | exception derived from std::exception including CvbException. |
The list may be empty.
|
inline |
Name based node map access.
[in] | name | Name of the node map. |
Any | exception derived from std::exception including CvbException. |
If the node map does not exists the access will throw.
|
default |
Move operator.
[in] | other | The other object. |
Does | not throw any exception. |
|
inline |
Name based node map access.
[in] | name | Name of the node map. |
Any | exception derived from std::exception including CvbException. |
If the node map does not exists the access will throw.