#include <sdifframe.h>
Public Methods | |
int | Read (SdifFileT *file, bool &eof) |
int | ReadData (SdifFileT *file) |
int | ReadInfo (SdifFileT *file) |
int | Write (SdifFileT *file) |
int | WriteInfo (SdifFileT *file) |
int | AddMatrix (const SDIFMatrix &aMatrix) |
int | AddMatrixSelected (SdifFileT *file, const SDIFMatrix &aMatrix) |
void | View () |
see the content of a frame | |
void | ViewInfo () |
see the frame header | |
void | ClearData () |
empty the matrix vector | |
SdifSignature | GetMatrixSelection (SdifFileT *file) |
bool | MatrixExists (const SdifSignature &sig) |
check if a matrix type exist in the frame with a SdifSignature | |
bool | MatrixExists (const std::string &signature) |
check if a matrix type exist in the frame with a string signature | |
SDIFMatrix & | GetMatrix (unsigned int index) |
SDIFMatrix & | GetMatrixIfSelected (SdifFileT *file, unsigned int index) |
SDIFMatrix & | GetMatrixWithSig (const SdifSignature &sig) |
SDIFMatrix & | GetMatrix (const std::string &signature) |
SdifUInt4 | GetNbMatrix () |
get the number of matrix in the frame | |
SdifSignature | GetSignature () |
get the signature of the frame | |
SdifUInt4 | GetStreamID () |
get the streamID of the frame | |
SdifFloat8 | GetTime () |
get the time of the frame | |
SdifUInt4 | GetSize () |
get the size of the frame | |
void | SetInfo (SdifSignature 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. |
SDIFFrame is composed of different methods which permits to manipulate a frame. All the methods with a SdifFileT* parameter are surcharged with SDIFEntity parameter.