|
XNetwork 1.7.5; VERSION ${PROJECT_VERSION}
|
Read-only mapping of mappings (view into a dict-of-dict data structure) More...
#include <coreviews.hpp>

Public Types | |
| using | size_type = typename std::remove_reference_t< Atlas >::size_type |
Public Member Functions | |
| AtlasView (Atlas &d) | |
| Construct an AtlasView from an Atlas container. | |
| auto | size () const -> size_t |
| Get the number of elements in the view. | |
| auto | begin () const |
| Get iterator to the beginning of the view. | |
| auto | end () const |
| Get iterator to the end of the view. | |
| template<typename T > | |
| auto | operator[] (const T &key) const -> const auto & |
| Access element at specified key (const version) | |
| template<typename T > | |
| auto | at (const T &key) const -> const auto & |
| Access element at specified key (const version) | |
| template<typename T > | |
| auto | operator[] (const T &key) -> auto & |
| Access element at specified key (non-const version) | |
Public Attributes | |
| Atlas & | _atlas |
Read-only mapping of mappings (view into a dict-of-dict data structure)
The inner level of dict is read-write, but the outer level is read-only.
| Atlas | The underlying mapping type |
Construct an AtlasView from an Atlas container.
| d | The Atlas container to create a view of |
Access element at specified key (const version)
| T | The key type |
| key | The key to access |
Get iterator to the beginning of the view.
Get iterator to the end of the view.
Access element at specified key (non-const version)
| T | The key type |
| key | The key to access |
Access element at specified key (const version)
| T | The key type |
| key | The key to access |
Get the number of elements in the view.