NAME
tlp::MutableContainer -
SYNOPSIS
#include <MutableContainer.h>
Public Member Functions
MutableContainer ()
~MutableContainer ()
void setAll (const TYPE &value)
void set (const unsigned int i, const TYPE &value)
const ReturnType< TYPE >::Value get (const unsigned int i) const
bool getIfNotDefaultValue (const unsigned int i, TYPE &value) const
IteratorValue * findAll (const TYPE &value, bool equal=true) const
throw (ImpossibleOperation)
TYPE & getReference (const unsigned int i)
Friends
class MutableContainerTest
template<typename TYPE> class tlp::MutableContainer< TYPE >
Constructor & Destructor Documentation
template<typename TYPE > tlp::MutableContainer< TYPE >::MutableContainer ()
[inline]
template<typename TYPE > tlp::MutableContainer< TYPE >::~MutableContainer
() [inline]
Member Function Documentation
template<typename TYPE> 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
template<typename TYPE > const ReturnType< TYPE >::Value
tlp::MutableContainer< TYPE >::get (const unsigned int i) const
[inline] get a copy of the value associated to i
template<typename TYPE> 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
template<typename TYPE > 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
template<typename TYPE> void tlp::MutableContainer< TYPE >::set (const
unsigned int i, const TYPE & value) [inline]
template<typename TYPE> void tlp::MutableContainer< TYPE >::setAll (const
TYPE & value) [inline]
Friends And Related Function Documentation
template<typename TYPE> friend class MutableContainerTest [friend]
Author
Generated automatically by Doxygen for Tulip Graph Library from the
source code.