|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/slam/DynamicVariableRelation.hpp>

Public Types | |
| using | FromSetType = FirstSetType |
| using | ToSetType = SecondSetType |
| using | SetPosition = typename FirstSetType::PositionType |
| using | SetElement = typename FirstSetType::ElementType |
| using | RelationVec = std::vector< SetPosition > |
| using | RelationVecIterator = typename RelationVec::iterator |
| using | RelationVecIteratorPair = std::pair< RelationVecIterator, RelationVecIterator > |
| using | RelationVecConstIterator = typename RelationVec::const_iterator |
| using | RelationVecConstIteratorPair = std::pair< RelationVecConstIterator, RelationVecConstIterator > |
| using | RelationsContainer = std::vector< RelationVec > |
| using | RelationsContainerCIt = typename RelationsContainer::const_iterator |
| using | RelationsContainerIt = typename RelationsContainer::iterator |
Public Member Functions | |
| DynamicVariableRelation (FirstSetType *fromSet=policies::EmptySetTraits< FirstSetType >::emptySet(), SecondSetType *toSet=policies::EmptySetTraits< SecondSetType >::emptySet()) | |
| ~DynamicVariableRelation () | |
| RelationVec const & | operator[] (SetPosition fromSetIndex) const |
| SetPosition | size (SetPosition fromSetIndex) const |
| SetPosition | totalSize () const |
| bool | hasFromSet () const |
| FromSetType * | fromSet () |
| const FromSetType * | fromSet () const |
| bool | hasToSet () const |
| ToSetType * | toSet () |
| const ToSetType * | toSet () const |
| SetPosition | fromSetSize () const |
| bool | isValid (bool verboseOutput=false) const |
| void | insert (SetPosition fromSetIndex, SetPosition toSetIndex) |
| RelationVec & | operator[] (SetPosition fromSetIndex) |
| virtual RelationVecConstIterator | begin (SetPosition fromSetIndex) const=0 |
| virtual RelationVecConstIterator | end (SetPosition fromSetIndex) const=0 |
| virtual RelationVecConstIteratorPair | range (SetPosition fromSetIndex) const=0 |
| virtual SetPosition | size (SetPosition fromSetIndex) const=0 |
DynamicVariableRelation iterator interface | |
| RelationVecConstIterator | begin (SetPosition fromSetIndex) const |
| RelationVecConstIterator | end (SetPosition fromSetIndex) const |
| RelationVecConstIteratorPair | range (SetPosition fromSetIndex) const |
DirectDataAccess | |
Accessor functions to get the underlying relation data for each element
| |
| RelationVec & | data (SetPosition fromSetPos) |
| Access the set of positions in the 'toSet' associated with the given position in 'fromSet'. More... | |
| const RelationVec & | data (SetPosition fromSetPos) const |
| Access the set of positions in the 'toSet' associated with the given position in 'fromSet'. More... | |
Static Public Attributes | |
| static NullSet< FirstSetType::PositionType, FirstSetType::ElementType > | s_nullSet |
| Definition of static instance of nullSet for all relations. More... | |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::FromSetType = FirstSetType |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::ToSetType = SecondSetType |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::SetPosition = typename FirstSetType::PositionType |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::SetElement = typename FirstSetType::ElementType |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationVec = std::vector<SetPosition> |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationVecIterator = typename RelationVec::iterator |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationVecIteratorPair = std::pair<RelationVecIterator, RelationVecIterator> |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationVecConstIterator = typename RelationVec::const_iterator |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationVecConstIteratorPair = std::pair<RelationVecConstIterator, RelationVecConstIterator> |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationsContainer = std::vector<RelationVec> |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationsContainerCIt = typename RelationsContainer::const_iterator |
| using axom::slam::DynamicVariableRelation< FirstSetType, SecondSetType >::RelationsContainerIt = typename RelationsContainer::iterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
|
inline |
|
inline |
|
inline |
Access the set of positions in the 'toSet' associated with the given position in 'fromSet'.
| fromSetPos | The position within the 'fromSet' whose relation data (in the 'toSet') we are requesting |
|
inline |
Access the set of positions in the 'toSet' associated with the given position in 'fromSet'.
| fromSetPos | The position within the 'fromSet' whose relation data (in the 'toSet') we are requesting |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
staticinherited |
Definition of static instance of nullSet for all relations.