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

SDIFFrame - Read and Write


Functions

int Easdif::SDIFFrame::Read (SdifFileT *file, bool &eof)
int Easdif::SDIFFrame::ReadData (SdifFileT *file, const std::set< SdifSignature > *hlsig=0)
 Read Frame Data read the frame data (used by Read).
int Easdif::SDIFFrame::ReadHeader (SdifFileT *file)
int Easdif::SDIFFrame::Write (SdifFileT *file)
int Easdif::SDIFFrame::WriteHeader (SdifFileT *file)
int Easdif::SDIFFrame::Read (SDIFEntity &entity)
 read a frame

Function Documentation

int Easdif::SDIFFrame::Read SdifFileT *  file,
bool &  eof
[inherited]
 

read entirely a frame : the header and the data

Returns:
number of bytes read
Attention: using this function bypasses the update of the FrameDirectory in the SDIFEntity!

int Easdif::SDIFFrame::ReadData SdifFileT *  file,
const std::set< SdifSignature > *  hlsig = 0
[inherited]
 

Read Frame Data read the frame data (used by Read).

Parameters:
file SDIFFile to read from
hlsig pointer to std::set of signatures that are used to filter the matrices that will be returned. If hlsig is not 0 it is used to select matrices instead of thesdif internal selection mechanism if hlsig is 0 the sdif internal mechanism is used
Returns:
number of bytes read

int Easdif::SDIFFrame::ReadHeader SdifFileT *  file  )  [inherited]
 

read only the data of a frame (used by Read)

Returns:
number of bytes read

int Easdif::SDIFFrame::Write SdifFileT *  file  )  [inherited]
 

write entirely a frame

Returns:
number of bytes written

int Easdif::SDIFFrame::WriteHeader SdifFileT *  file  )  [inherited]
 

write the frame header (used by Write)

Returns:
number of bytes written

int Easdif::SDIFFrame::Read SDIFEntity entity  )  [inherited]
 

read a frame

Parameters:
entity file to read from
Returns:
number of bytes read


Generated on Tue Jan 3 15:00:56 2006 for Easdif by  doxygen 1.3.9.1