#include <array.hh>

Public Member Functions | |
| array (void) | |
| array (const char *Name, const char *Type=0, const char *Unit=0) | |
| ~array (void) | |
| void | Spew (Xwriter &xout) const |
| array * | Clone (void) const |
| const char * | getObjType (void) const |
| const char * | getUnit (void) const |
| int | getNDim (void) const |
| int | getTotLen (void) const |
| int | getDim (int iDim) const |
| void | getData (std::vector< double > &vf) |
| Get data from the array. | |
| void | getData (std::vector< float > &vf) |
| Get data from the array. | |
| void | getData (std::vector< int > &vf) |
| Get data from the array. | |
| void | getData (std::vector< std::string > &vf) |
| Get data from the array. | |
| int | addDim (const char *Name, int nDim) |
| int | addDim (const dim &Dim) |
| void | setUnit (const char *Unit) |
| void | setStream (const Stream &istr) |
| void | setRemote (const char *File) |
| void | FillData (int N, int *Data) |
| void | FillData (int N, float *Data) |
| void | FillData (int N, double *Data) |
| void | FillData (int N, std::string *Data) |
| Stream & | refStream (void) |
| const Stream & | refStream (void) const |
| xsil::array::array | ( | void | ) |
Default constructor. brief Default constructor.
| xsil::array::array | ( | const char * | Name, | |
| const char * | Type = 0, |
|||
| const char * | Unit = 0 | |||
| ) |
| xsil::array::~array | ( | void | ) |
Destructor. brief Destructor.
| void xsil::array::Spew | ( | Xwriter & | xout | ) | const [virtual] |
Write the array definition to an XML file. brief Write an XML array definition.
| xout | XML writer object to receive the array definition. |
Implements xsil::xobj.
| array* xsil::array::Clone | ( | void | ) | const [virtual] |
Clone the array object definition. brief Clone an array definition object.
Implements xsil::xobj.
| const char* xsil::array::getObjType | ( | void | ) | const [virtual] |
Get the object type. brief Get object type.
Implements xsil::xobj.
| const char * xsil::array::getUnit | ( | void | ) | const [inline] |
Get the array units. brief Get the units.
| int xsil::array::getNDim | ( | void | ) | const [inline] |
| int xsil::array::getTotLen | ( | void | ) | const |
| int xsil::array::getDim | ( | int | iDim | ) | const [inline] |
Get the specified dimension. brief get the specified dimension.
| iDim | Dmension number to be interrogated. |
| void xsil::array::getData | ( | std::vector< double > & | vf | ) |
| void xsil::array::getData | ( | std::vector< float > & | vf | ) |
| void xsil::array::getData | ( | std::vector< int > & | vf | ) |
| void xsil::array::getData | ( | std::vector< std::string > & | vf | ) |
| int xsil::array::addDim | ( | const char * | Name, | |
| int | nDim | |||
| ) |
Add a dimension to the array. brief Add a dimension.
| Name | Dimension name | |
| nDim | Size of added dimension. |
| int xsil::array::addDim | ( | const dim & | Dim | ) |
Add a dimension to the array. brief Add a dimension.
| Dim | Dimension block. |
| void xsil::array::setUnit | ( | const char * | Unit | ) |
| void xsil::array::setStream | ( | const Stream & | istr | ) |
| void xsil::array::setRemote | ( | const char * | File | ) |
Set remote stream. brief Set a remote stream.
| File | Name of file containing remote data. |
| void xsil::array::FillData | ( | int | N, | |
| int * | Data | |||
| ) |
| void xsil::array::FillData | ( | int | N, | |
| float * | Data | |||
| ) |
| void xsil::array::FillData | ( | int | N, | |
| double * | Data | |||
| ) |
| void xsil::array::FillData | ( | int | N, | |
| std::string * | Data | |||
| ) |
| xsil::Stream & xsil::array::refStream | ( | void | ) | [inline] |
Get reference to an initialization stream. brief Reference initialization strem.
| const xsil::Stream & xsil::array::refStream | ( | void | ) | const [inline] |
Get reference to an initialization stream. brief Reference initialization strem.
1.5.4