LayerTypeMap¶
- class bagPy.LayerTypeMap[source]¶
Bases:
objectProxy of C++ std::unordered_map< BAG::LayerType,std::string > class.
__init__(LayerTypeMap self) -> LayerTypeMap __init__(LayerTypeMap self, LayerTypeMap other) -> LayerTypeMap
- Parameters:
other (std::unordered_map< BAG::LayerType,std::string > const &) –
Attributes Summary
The membership flag
Methods Summary
asdict(LayerTypeMap self)begin(LayerTypeMap self)clear(LayerTypeMap self)count(LayerTypeMap self, std)- param x:
empty(LayerTypeMap self)end(LayerTypeMap self)erase(LayerTypeMap self, std)- param x:
find(LayerTypeMap self, std)- param x:
get_allocator(LayerTypeMap self)has_key(LayerTypeMap self, std)- param key:
items(LayerTypeMap self)iterator(LayerTypeMap self)iterkeys()key_iterator(LayerTypeMap self)keys(LayerTypeMap self)size(LayerTypeMap self)swap(LayerTypeMap self, LayerTypeMap v)- param v:
value_iterator(LayerTypeMap self)values(LayerTypeMap self)Attributes Documentation
- thisown¶
The membership flag
Methods Documentation
- count(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & x) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::size_type[source]¶
- Parameters:
x (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
- erase(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & x) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::size_type[source]¶
- Parameters:
x (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
self (erase(LayerTypeMap) –
BAG_LAYER_TYPE (std::unordered_map< enum) –
position) (std::string >::iterator) –
position (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator) –
self –
BAG_LAYER_TYPE –
first (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator) –
BAG_LAYER_TYPE –
last) (std::string >::iterator) –
first –
last (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator) –
- find(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & x) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator[source]¶
- Parameters:
x (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
- get_allocator(LayerTypeMap self) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::allocator_type[source]¶
- has_key(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & key) bool[source]¶
- Parameters:
key (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
- iterator(LayerTypeMap self) SwigPyIterator[source]¶
- key_iterator(LayerTypeMap self) SwigPyIterator[source]¶
- swap(LayerTypeMap self, LayerTypeMap v)[source]¶
- Parameters:
v (std::unordered_map< BAG::LayerType,std::string > &) –
- value_iterator(LayerTypeMap self) SwigPyIterator[source]¶
- __init__(LayerTypeMap self) LayerTypeMap[source]¶
- __init__(LayerTypeMap self, LayerTypeMap other) LayerTypeMap
- Parameters:
other (std::unordered_map< BAG::LayerType,std::string > const &) –
- count(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & x) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::size_type[source]¶
- Parameters:
x (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
- erase(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & x) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::size_type[source]¶
- Parameters:
x (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
self (erase(LayerTypeMap) –
BAG_LAYER_TYPE (std::unordered_map< enum) –
position) (std::string >::iterator) –
position (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator) –
self –
BAG_LAYER_TYPE –
first (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator) –
BAG_LAYER_TYPE –
last) (std::string >::iterator) –
first –
last (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator) –
- find(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & x) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::iterator[source]¶
- Parameters:
x (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
- get_allocator(LayerTypeMap self) std::unordered_map< enum BAG_LAYER_TYPE,std::string >::allocator_type[source]¶
- has_key(LayerTypeMap self, std::unordered_map< enum BAG_LAYER_TYPE, std::string >::key_type const & key) bool[source]¶
- Parameters:
key (std::unordered_map< enum BAG_LAYER_TYPE,std::string >::key_type const &) –
- iterator(LayerTypeMap self) SwigPyIterator[source]¶
- key_iterator(LayerTypeMap self) SwigPyIterator[source]¶
- swap(LayerTypeMap self, LayerTypeMap v)[source]¶
- Parameters:
v (std::unordered_map< BAG::LayerType,std::string > &) –
- value_iterator(LayerTypeMap self) SwigPyIterator[source]¶
- property thisown¶
The membership flag