XNetwork 1.7.5; VERSION ${PROJECT_VERSION}
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AdjacencyView< Atlas > Class Template Reference

Read-only map of maps of maps (view into a dict-of-dict-of-dict structure) More...

#include <coreviews.hpp>

Inheritance diagram for AdjacencyView< Atlas >:
Inheritance graph
[legend]
Collaboration diagram for AdjacencyView< Atlas >:
Collaboration graph
[legend]

Public Member Functions

 AdjacencyView (Atlas &d)
 Construct an AdjacencyView from an Atlas container.
 
- Public Member Functions inherited from AtlasView< Atlas >
 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)
 

Additional Inherited Members

- Public Types inherited from AtlasView< Atlas >
using size_type = typename std::remove_reference_t< Atlas >::size_type
 
- Public Attributes inherited from AtlasView< Atlas >
Atlas_atlas
 

Detailed Description

template<typename Atlas>
class AdjacencyView< Atlas >

Read-only map of maps of maps (view into a dict-of-dict-of-dict structure)

The inner level of dict is read-write, but the outer levels are read-only.

Template Parameters
AtlasThe underlying mapping type

Constructor & Destructor Documentation

◆ AdjacencyView()

template<typename Atlas >
AdjacencyView< Atlas >::AdjacencyView ( Atlas d)
inlineexplicit

Construct an AdjacencyView from an Atlas container.

Parameters
dThe Atlas container to create a view of

The documentation for this class was generated from the following file: