| |||||||||||||||||||||||||||||||||||||||||||||||||
tlp::MutableContainer< TYPE > Class Template Reference#include <MutableContainer.h>
Collaboration diagram for tlp::MutableContainer< TYPE >:
![]() template<typename TYPE>
|
tlp::MutableContainer< TYPE >::MutableContainer | ( | ) | [inline] |
tlp::MutableContainer< TYPE >::~MutableContainer | ( | ) | [inline] |
void tlp::MutableContainer< TYPE >::setAll | ( | const TYPE & | value | ) | [inline] |
void tlp::MutableContainer< TYPE >::set | ( | const unsigned int | i, | |
const TYPE & | value | |||
) | [inline] |
const ReturnType< TYPE >::Value tlp::MutableContainer< TYPE >::get | ( | const unsigned int | i | ) | const [inline] |
This function return a reference instead of a copy in order to minimize the the number copy of objects, user must be aware that calling the set function can devalidate this reference.
Iterator< unsigned int > * tlp::MutableContainer< TYPE >::findAll | ( | const TYPE & | value | ) | const throw (ImpossibleOperation) [inline] |
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
friend class MutableContainerTest [friend] |
Tulip Software by LaBRI Visualization Team 2001 - 2007 |