xml::xsilDataEnd< T > Class Template Reference
[Output stream manipulators.]

#include <Xsil.hh>

List of all members.

Public Member Functions

 xsilDataEnd (int level=1)
 Constructor (no data).
 xsilDataEnd (int dim1, const T *data, int level=1)
 Constructor for 1 dim data.
 xsilDataEnd (int dim1, int dim2, const T *data, int level=1)
 Constructor for 2 dim data.
 xsilDataEnd (int dim1, int dim2, int dim3, const T *data, int level=1)
 Constructor for 3 dim data.
 xsilDataEnd (int dim1, int dim2, int dim3, int dim4, const T *data, int level=1)
 Constructor for 4 dim data.
std::ostream & write (std::ostream &os, bool term=true) const
 Write data of data object to output stream.

Protected Attributes

int fLevel
 Indent level.
int fDim [4]
 Dimensions.
const T * fData
 Data array.


Detailed Description

template<class T>
class xml::xsilDataEnd< T >

Xsil data end manipulator. This manipulator adds the data of a data object to an output stream. It also adds the end tag. Example: {verbatim} os << xsilDataBegin ("Result", "TimeSeries") << endl; os << xsilParameter<int> ("Averages", 12) << endl; os << xsilDataEnd<float>() << endl; {verbatim}

brief Xsil data end manipulator.

Author:
Written June 2000 by Daniel Sigg
Version:
1.0

The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:42 2009 for dmt by  doxygen 1.5.4