#include <AIFProperties.h>
A property maps container.
Definition at line 468 of file AIFProperties.h.
◆ ~PropertyMapContainer()
FEVV::DataStructures::AIF::PropertyMapContainer::~PropertyMapContainer |
( |
| ) |
|
|
inline |
◆ addAssocPropertyMap()
template<typename KeyType , typename ValueType >
AssocPropertyMap< KeyType, ValueType >* FEVV::DataStructures::AIF::PropertyMapContainer::addAssocPropertyMap |
( |
const std::string & |
name | ) |
|
|
inline |
Add a property map or return an existing one.
- Parameters
-
name | name of the property map |
- Returns
- a pointer to the property map
Definition at line 688 of file AIFProperties.h.
◆ addPropertyMap()
template<typename T >
PropertyMap< T >* FEVV::DataStructures::AIF::PropertyMapContainer::addPropertyMap |
( |
const std::string & |
name | ) |
|
|
inline |
Add a property map or return an existing one.
- Parameters
-
name | name of the property map |
- Returns
- a pointer to the property map
Definition at line 559 of file AIFProperties.h.
◆ clear()
void FEVV::DataStructures::AIF::PropertyMapContainer::clear |
( |
| ) |
|
|
inline |
◆ getAssocPropertyMap()
template<typename KeyType , typename ValueType >
AssocPropertyMap< KeyType, ValueType >* FEVV::DataStructures::AIF::PropertyMapContainer::getAssocPropertyMap |
( |
const std::string & |
name | ) |
|
|
inline |
Get the property map if it exists, else throw an exception.
- Parameters
-
name | name of the property map |
- Returns
- a pointer to the property map
Definition at line 665 of file AIFProperties.h.
◆ getProperty() [1/2]
template<typename T >
T& FEVV::DataStructures::AIF::PropertyMapContainer::getProperty |
( |
const std::string & |
name, |
|
|
std::size_t |
idx |
|
) |
| |
|
inline |
Get the value of a property map at the given index.
- Parameters
-
name | name of the property map |
idx | index where to set the value from |
value | value at the given index |
Definition at line 620 of file AIFProperties.h.
◆ getProperty() [2/2]
template<typename T >
T& FEVV::DataStructures::AIF::PropertyMapContainer::getProperty |
( |
const std::string & |
name, |
|
|
std::size_t |
idx |
|
) |
| const |
|
inline |
Get the value of a property map at the given index.
- Parameters
-
name | name of the property map |
idx | index where to set the value from |
value | value at the given index |
Definition at line 634 of file AIFProperties.h.
◆ getPropertyMap()
template<typename T >
PropertyMap< T >* FEVV::DataStructures::AIF::PropertyMapContainer::getPropertyMap |
( |
const std::string & |
name | ) |
const |
|
inline |
Get the property map if it exists, else throw an exception.
- Parameters
-
name | name of the property map |
- Returns
- a pointer to the property map
Definition at line 538 of file AIFProperties.h.
◆ GetPropertyMapNamesStartingWithPrefix()
std::vector< std::string > FEVV::DataStructures::AIF::PropertyMapContainer::GetPropertyMapNamesStartingWithPrefix |
( |
const std::string & |
prefix | ) |
const |
|
inline |
Get property map names starting with prefix.
- Parameters
-
prefix | prefix of the property map |
- Returns
- std::vector of property map names starting with prefix
Definition at line 518 of file AIFProperties.h.
◆ isAPropertyMapStartingWithPrefix()
bool FEVV::DataStructures::AIF::PropertyMapContainer::isAPropertyMapStartingWithPrefix |
( |
const std::string & |
prefix | ) |
const |
|
inline |
Test if there is at least one property map starting with prefix.
- Parameters
-
prefix | prefix of the property map |
- Returns
- true if there is at least one property map starting with given prefix, else false
Definition at line 502 of file AIFProperties.h.
◆ isPropertyMap()
bool FEVV::DataStructures::AIF::PropertyMapContainer::isPropertyMap |
( |
const std::string & |
name | ) |
const |
|
inline |
Test if a property map exists.
- Parameters
-
name | name of the property map |
- Returns
- true if the property map exists, else false
Definition at line 488 of file AIFProperties.h.
◆ removeProperties()
void FEVV::DataStructures::AIF::PropertyMapContainer::removeProperties |
( |
std::size_t |
idx, |
|
|
std::size_t |
cLastIdx |
|
) |
| |
|
inline |
Remove property at index, in all property maps.
- Parameters
-
idx | the index where to remove properties |
cLastIdx | index of the last element of the cell container |
Definition at line 646 of file AIFProperties.h.
◆ removePropertyMap()
void FEVV::DataStructures::AIF::PropertyMapContainer::removePropertyMap |
( |
const std::string & |
name | ) |
|
|
inline |
Remove a property map.
- Parameters
-
name | name of the property map |
Definition at line 575 of file AIFProperties.h.
◆ setProperty()
template<typename T >
void FEVV::DataStructures::AIF::PropertyMapContainer::setProperty |
( |
const std::string & |
name, |
|
|
std::size_t |
idx, |
|
|
const T & |
value |
|
) |
| |
|
inline |
Set value at index in property map.
- Parameters
-
name | name of the property map |
idx | index where to set the value at |
value | value at the given index |
Definition at line 606 of file AIFProperties.h.
◆ m_PropertyMaps
std::map< const std::string, BasePropertyMap * > FEVV::DataStructures::AIF::PropertyMapContainer::m_PropertyMaps |
|
private |
The documentation for this class was generated from the following file:
- /Users/mac/builds/efd823a3/0/MEPP-team/MEPP2/FEVV/DataStructures/AIF/AIFProperties.h