#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)
- void add (const unsigned int i, TYPE val)
- 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
add val to the value associated to i
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.
get the value associated to i
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
return if the value associated to i is not the default one
set the value associated to i
Friends And Related Function Documentation
template<typename TYPE>
friend class GraphUpdatesRecorder [friend] |
template<typename TYPE>
friend class MutableContainerTest [friend] |