List of all members | Public Types | Public Member Functions | Protected Member Functions
utl::MultiTabulatedFunction Class Reference

A collection of TabulatedFunction. More...

#include <MultiTabulatedFunction.h>

Inheritance diagram for utl::MultiTabulatedFunction:
Inheritance graph
[legend]

Public Types

typedef
boost::transform_iterator
< LabeledObjectFunctor,
typename
MultiObjectContainer::const_iterator,
LabeledTabulatedFunction
ConstIterator
 
typedef
boost::transform_iterator
< LabeledObjectFunctor,
typename
MultiObjectContainer::iterator,
LabeledTabulatedFunction
Iterator
 
typedef
utl::detail::LabeledObjectFunctor
< TabulatedFunction,
LabeledTabulatedFunction
LabeledObjectFunctor
 
typedef std::map< int,
TabulatedFunction * > 
MultiObjectContainer
 

Public Member Functions

void AddTabulatedFunction (const int label)
 
void AddTabulatedFunction (const TabulatedFunction &tf, const int label)
 
Iterator Begin ()
 
ConstIterator Begin () const
 
void Clear ()
 
Iterator End ()
 
ConstIterator End () const
 
unsigned int GetNLabels () const
 
TabulatedFunctionGetTabulatedFunction (const int label=0)
 Returns the TabulatedFunction for /par source, throws an exception if na. More...
 
const TabulatedFunctionGetTabulatedFunction (const int label=0) const
 
bool HasLabel (const int label) const
 
 operator bool () const
 
bool operator!= (const MultiObject &mobj) const
 
bool operator== (const MultiObject &mobj) const
 
Iterator TabulatedFunctionsBegin ()
 
ConstIterator TabulatedFunctionsBegin () const
 
Iterator TabulatedFunctionsEnd ()
 
ConstIterator TabulatedFunctionsEnd () const
 

Protected Member Functions

void AddObject (const TabulatedFunction &obj, const int label)
 add with deep copy of the object More...
 
void AddObject (TabulatedFunction *const obj, const int label)
 add that takes the ownership More...
 
TabulatedFunctionGetObject (const int label=0)
 
const TabulatedFunctionGetObject (const int label=0) const
 
void RemoveObject (const int label)
 

Detailed Description

A collection of TabulatedFunction.

This class provides methods to access TabulatedFunction objects different sources.

Author
Stefano Argiro', Darko Veberic
Date
14 Nov 2005 revision

Definition at line 37 of file MultiTabulatedFunction.h.

Member Typedef Documentation

typedef boost::transform_iterator<LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTabulatedFunction > utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::ConstIterator
inherited

Definition at line 81 of file MultiObject.h.

typedef boost::transform_iterator<LabeledObjectFunctor, typename MultiObjectContainer::iterator, LabeledTabulatedFunction > utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::Iterator
inherited

Definition at line 78 of file MultiObject.h.

Definition at line 75 of file MultiObject.h.

Definition at line 74 of file MultiObject.h.

Member Function Documentation

void utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::AddObject ( const TabulatedFunction obj,
const int  label 
)
inlineprotectedinherited

add with deep copy of the object

Definition at line 128 of file MultiObject.h.

Referenced by AddTabulatedFunction().

void utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::AddObject ( TabulatedFunction *const  obj,
const int  label 
)
protectedinherited

add that takes the ownership

void utl::MultiTabulatedFunction::AddTabulatedFunction ( const int  label)
inline
void utl::MultiTabulatedFunction::AddTabulatedFunction ( const TabulatedFunction tf,
const int  label 
)
inline

Copies the TabulatedFunction in the internal list and assign source /par source -The original can be deleted

Definition at line 58 of file MultiTabulatedFunction.h.

References utl::MultiObject< T, LabeledObjectType >::AddObject().

Definition at line 83 of file MultiObject.h.

Referenced by TabulatedFunctionsBegin().

Definition at line 84 of file MultiObject.h.

Definition at line 85 of file MultiObject.h.

Referenced by TabulatedFunctionsEnd().

Definition at line 86 of file MultiObject.h.

unsigned int utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::GetNLabels ( ) const
inlineinherited

Definition at line 89 of file MultiObject.h.

TabulatedFunction & utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::GetObject ( const int  label = 0)
protectedinherited
const TabulatedFunction & utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::GetObject ( const int  label = 0) const
protectedinherited
TabulatedFunction& utl::MultiTabulatedFunction::GetTabulatedFunction ( const int  label = 0)
inline
const TabulatedFunction& utl::MultiTabulatedFunction::GetTabulatedFunction ( const int  label = 0) const
inline
bool utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::HasLabel ( const int  label) const
inlineinherited

Definition at line 91 of file MultiObject.h.

utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::operator bool ( ) const
inlineexplicitinherited

Definition at line 99 of file MultiObject.h.

bool utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::operator!= ( const MultiObject< TabulatedFunction, LabeledTabulatedFunction > &  mobj) const
inlineinherited

Definition at line 96 of file MultiObject.h.

void utl::MultiObject< TabulatedFunction , LabeledTabulatedFunction >::RemoveObject ( const int  label)
protectedinherited
Iterator utl::MultiTabulatedFunction::TabulatedFunctionsBegin ( )
inline
ConstIterator utl::MultiTabulatedFunction::TabulatedFunctionsBegin ( ) const
inline
Iterator utl::MultiTabulatedFunction::TabulatedFunctionsEnd ( )
inline
ConstIterator utl::MultiTabulatedFunction::TabulatedFunctionsEnd ( ) const
inline

The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.