| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::MutableContainer< TYPE > Class Template Reference#include <MutableContainer.h>
Collaboration diagram for tlp::MutableContainer< TYPE >:
![]() Public Member Functions
Friends
template<typename TYPE>
|
| tlp::MutableContainer< TYPE >::MutableContainer | ( | ) | [inline] |
| tlp::MutableContainer< TYPE >::~MutableContainer | ( | ) | [inline] |
| IteratorValue * tlp::MutableContainer< TYPE >::findAll | ( | const TYPE & | value, | |
| bool | equal = true | |||
| ) | const throw (ImpossibleOperation) [inline] |
return an iterator for all the elements whose associated value if equal to a given value or different from the default value
| const ReturnType< TYPE >::Value tlp::MutableContainer< TYPE >::get | ( | const unsigned int | i | ) | const [inline] |
get a copy of the value associated to i
| bool tlp::MutableContainer< TYPE >::getIfNotDefaultValue | ( | const unsigned int | i, | |
| TYPE & | value | |||
| ) | const [inline] |
get the value associated to i if it is not the default value as indicated by the boolean returned value
| TYPE & tlp::MutableContainer< TYPE >::getReference | ( | const unsigned int | i | ) | [inline] |
This function is available only for optimisation purpose, one must be sure the the referenced element is not the default value. Use this function extremely carefully
| void tlp::MutableContainer< TYPE >::set | ( | const unsigned int | i, | |
| const TYPE & | value | |||
| ) | [inline] |
| void tlp::MutableContainer< TYPE >::setAll | ( | const TYPE & | value | ) | [inline] |
friend class MutableContainerTest [friend] |
| Tulip Software by LaBRI Visualization Team 2001 - 2009 |