Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

Easdif::SDIFMatrixData< T > Class Template Reference

class which can store the value in template type class for the data storage and the operation on data More...

#include <sdifmatrixdata.h>

Inheritance diagram for Easdif::SDIFMatrixData< T >:

Inheritance graph
[legend]
Collaboration diagram for Easdif::SDIFMatrixData< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

template<class TT> TT Get (int i, int j)
double GetDouble (int i, int j)
float GetFloat (int i, int j)
int GetInt (int i, int j)
std::vector< T > & GetData ()
int GetNbRow ()
 get the row number of values

int GetNbCol ()
 get the column number of values

int read (SdifFileT *file)
int write (SdifFileT *file)
void view ()
SDIFMatrixData * clone ()
 clone matrix data

void Resize (int nrows, int ncols)
void Set (int i, int j, const double &value)
void Set (int i, int j, const float &value)
void Set (int i, int j, const int &value)

Detailed Description

template<class T>
class Easdif::SDIFMatrixData< T >

class which can store the value in template type class for the data storage and the operation on data


Member Function Documentation

template<class T>
template<class TT>
TT Easdif::SDIFMatrixData< T >::Get int    i,
int    j
[inline]
 

template method for getting data

template<class T>
SDIFMatrixData* Easdif::SDIFMatrixData< T >::clone   [inline, virtual]
 

clone matrix data

Implements Easdif::SDIFMatrixDataInterface.


The documentation for this class was generated from the following file:
Generated on Thu Apr 10 16:04:32 2003 for Easdif by doxygen1.2.16