Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Easdif::SDIFFrame Class Reference

class which can be associated with a frame More...

#include <sdifframe.h>

List of all members.

Public Methods

 SDIFFrame ()
 default constructor

int Read (SdifFileT *file, bool &eof)
int ReadData (SdifFileT *file)
int ReadHeader (SdifFileT *file)
int Write (SdifFileT *file)
int WriteHeader (SdifFileT *file)
int AddMatrix (const SDIFMatrix &aMatrix)
int AddMatrixSelected (SdifFileT *file, const SDIFMatrix &aMatrix)
void Print ()
 see the content of a frame

void PrintHeader ()
 see the frame header

void ClearData ()
 empty the matrix vector

SdifSignature GetMatrixSelection (SdifFileT *file) const
bool MatrixExists (const SdifSignature &sig) const
 check if a matrix type exist in the frame with a SdifSignature

bool MatrixExists (const std::string &signature) const
 check if a matrix type exist in the frame with a string signature

SDIFMatrixGetMatrix (unsigned int index) throw (Easdif::SDIFMatrixNotAvailable)
 get the matrix number i which is stored in the vector of matrix

SDIFMatrixGetMatrixWithSig (const SdifSignature sig) throw (SDIFMatrixNotAvailable)
SDIFMatrixGetMatrix (const std::string &signature) throw (SDIFMatrixNotAvailable)
SdifUInt4 GetNbMatrix () const
 get the number of matrix in the frame

SdifSignature GetSignature () const
 get the signature of the frame

SdifUInt4 GetStreamID () const
 get the streamID of the frame

SdifFloat8 GetTime () const
 get the time of the frame

SdifUInt4 GetSize () const
 get the size of the frame

void SetHeader (SdifSignature sig, SdifUInt4 streamID, float time)
 Set the frame header.

void SetHeader (const std::string &sig, SdifUInt4 streamID, float time)
 Set the frame header.

void SetNbMatrix (SdifUInt4 nbMatrix)
 Set one element of the frame header : the number of matrix.

void SetSignature (SdifSignature sig)
 Set one element of the frame header : the signature.

void SetSignature (const std::string &signature)
 Set one element of the frame header : the signature with a string.

void SetStreamID (SdifUInt4 streamID)
 Set one element of the frame header : the streamID.

void SetTime (float time)
 Set one element of the frame header : the time.


Detailed Description

class which can be associated with a frame

SDIFFrame is composed of different methods which permits to manipulate a frame. All the methods with a SdifFileT* parameter are surcharged with SDIFEntity parameter.


The documentation for this class was generated from the following files:
Generated on Mon Feb 2 19:27:25 2004 for Easdif by doxygen1.2.16