MultiTabulatedFunctionErrors.h
Go to the documentation of this file.
1 #ifndef _utl_MultiTabulatedFunctionErrors_h_
2 #define _utl_MultiTabulatedFunctionErrors_h_
3 
4 
5 #include <utl/TabulatedFunctionErrors.h>
6 #include <utl/MultiObject.h>
7 
8 
9 namespace utl {
10 
12  public LabeledObject<TabulatedFunctionErrors> {
13 
14  public:
17 
18  LabeledTabulatedFunctionErrors(const std::pair<int, TabulatedFunctionErrors*> pair) :
20 
25 
26  };
27 
28 
38  public MultiObject<TabulatedFunctionErrors, LabeledTabulatedFunctionErrors> {
39 
40  public:
44  const TabulatedFunctionErrors& GetTabulatedFunctionErrors(const int label = 0) const
46 
51 
53  void AddTabulatedFunctionErrors(const int label)
54  { AddObject(new TabulatedFunctionErrors, label); }
55 
58  void AddTabulatedFunctionErrors(const TabulatedFunctionErrors& tf, const int label)
59  { AddObject(tf, label); }
60 
61  };
62 
63 }
64 
65 
66 #endif
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::iterator, LabeledTabulatedFunctionErrors > Iterator
Definition: MultiObject.h:78
TabulatedFunctionErrors & GetTabulatedFunctionErrors()
const TabulatedFunctionErrors & GetTabulatedFunctionErrors(const int label=0) const
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTabulatedFunctionErrors > ConstIterator
Definition: MultiObject.h:81
LabeledTabulatedFunctionErrors(const std::pair< int, TabulatedFunctionErrors * > pair)
A collection of TabulatedFunctionErrors, which provides methods to access different sources...
void AddTabulatedFunctionErrors(const TabulatedFunctionErrors &tf, const int label)
TabulatedFunctionErrors & GetTabulatedFunctionErrors(const int label=0)
Returns the TabulatedFunctionErrors for /par source.
container for object and associated labels
Definition: MultiObject.h:71
const TabulatedFunctionErrors & GetTabulatedFunctionErrors() const
LabeledTabulatedFunctionErrors(const int label, TabulatedFunctionErrors &tf)
Class for attaching a label to an object.
Definition: MultiObject.h:22
void AddObject(const TabulatedFunctionErrors &obj, const int label)
add with deep copy of the object
Definition: MultiObject.h:128
T & GetObject(const int label=0)

, generated on Tue Sep 26 2023.