tlp::MutableContainer< TYPE > Class Template Reference
#include <MutableContainer.h>
List of all members.
Public Member Functions
- MutableContainer ()
- ~MutableContainer ()
- void setAll (const TYPE &value)
- void set (const unsigned int i, const TYPE &value)
- StoredType< TYPE >
::ReturnedConstValue get (const unsigned int i) const
- StoredType< TYPE >::ReturnedValue get (const unsigned int i, bool &isNotDefault) const
- StoredType< TYPE >::ReturnedValue getDefault () const
- bool hasNonDefaultValue (const unsigned int i) const
- Iterator< unsigned int > * findAll (const TYPE &value, bool equal=true) const
Friends
template<typename TYPE>
class tlp::MutableContainer< TYPE >
Constructor & Destructor Documentation
Member Function Documentation
return a pointer on an iterator for all the elements whose associated value is equal to a given value or different from the default value. A null pointer is returned in case of an iteration on all the elements whose value is equal to the default value.
template<typename TYPE>
StoredType<TYPE>::ReturnedValue tlp::MutableContainer< TYPE >::get |
( |
const unsigned int |
i, |
|
|
bool & |
isNotDefault | |
|
) |
| | const |
get the value associated to i and indicates if it is not the default one
get the value associated to i
return if the value associated to i is not the default one
Friends And Related Function Documentation
template<typename TYPE>
friend class GraphUpdatesRecorder [friend] |
template<typename TYPE>
friend class MutableContainerTest [friend] |