Rechercher une page de manuel
tlp_MutableContainer.3tulip
Langue: en
Version: 358261 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Constructor & Destructor Documentation
- Member Function Documentation
- template<typename TYPE> IteratorValue * tlp::MutableContainer< TYPE >::findAll (const TYPE & value, bool equal = true) const throw (ImpossibleOperation)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) constget a copy of the value associated to i
- template<typename TYPE> bool tlp::MutableContainer< TYPE >::getIfNotDefaultValue (const unsigned int i, TYPE & value) constget 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)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)
- template<typename TYPE> void tlp::MutableContainer< TYPE >::setAll (const TYPE & value)
- Friends And Related Function Documentation
- Author
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 ()
template<typename TYPE > tlp::MutableContainer< TYPE >::~MutableContainer ()
Member Function Documentation
template<typename TYPE> IteratorValue * tlp::MutableContainer< TYPE >::findAll (const TYPE & value, bool equal = true) const throw (ImpossibleOperation)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) constget a copy of the value associated to i
template<typename TYPE> bool tlp::MutableContainer< TYPE >::getIfNotDefaultValue (const unsigned int i, TYPE & value) constget 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)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)
template<typename TYPE> void tlp::MutableContainer< TYPE >::setAll (const TYPE & value)
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre