NGen
|
A class to hold and manage layer metadata for the system. More...
#include <LayerData.hpp>
Public Member Functions | |
LayerDataStorage () | |
~LayerDataStorage () | |
const LayerDescription & | get_layer (int id) const |
return the layer object at this numeric id | |
void | put_layer (const LayerDescription &desc, int id) |
store a new layer description in the indicated id slot | |
bool | exists (int id) |
check to see if a layer has been associated with an id number | |
std::vector< int > & | get_keys () |
Private Attributes | |
std::unordered_map< int, LayerDescription > | stored_layers |
std::vector< int > | keys |
A class to hold and manage layer metadata for the system.
Layer can be accessed by interger id the default valid range is -20 .. 80
|
inline |
|
inline |
|
inline |
check to see if a layer has been associated with an id number
References stored_layers.
|
inline |
References keys.
|
inline |
return the layer object at this numeric id
References stored_layers.
|
inline |
store a new layer description in the indicated id slot
References keys, and stored_layers.
Referenced by realization::Formulation_Manager::read().
|
private |
Referenced by get_keys(), and put_layer().
|
private |
Referenced by exists(), get_layer(), and put_layer().