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

SDIFEntity - Operations with file


Functions

bool Easdif::SDIFEntity::Open (const char *filename, SdifFileModeET Mode)
 open the file of the entity in reading or writing mode
bool Easdif::SDIFEntity::OpenRead (const char *filename)
 open a file in reading mode
bool Easdif::SDIFEntity::ReOpenRead (const char *filename)
 open a file in reading mode without destroying any information in the internal FrameDirectory
bool Easdif::SDIFEntity::OpenWrite (const char *filename)
bool Easdif::SDIFEntity::Close ()
 close a file
bool Easdif::SDIFEntity::Rewind ()
 rewind a file to first non-ascii frame after the file header
bool Easdif::SDIFEntity::isSeekable ()
 examine seekability of current file
SdifFileT * Easdif::SDIFEntity::GetFile () const
bool Easdif::SDIFEntity::good () const
bool Easdif::SDIFEntity::eof () const

Function Documentation

bool Easdif::SDIFEntity::Open const char *  filename,
SdifFileModeET  Mode
[inherited]
 

open the file of the entity in reading or writing mode

Parameters:
filename 
Mode can be "eReadFile" or "eWriteFile"
Returns:
true if opened/false if error

bool Easdif::SDIFEntity::OpenRead const char *  filename  )  [inherited]
 

open a file in reading mode

Parameters:
filename 
Returns:
true if opened/false if error

bool Easdif::SDIFEntity::ReOpenRead const char *  filename  )  [inherited]
 

open a file in reading mode without destroying any information in the internal FrameDirectory

Parameters:
filename 
In contrast to standard OpenRead the internal frame directory is kept and reused as well as the matrix and frame selections that have been established either by the user in the file name or by calling selection modifications before calling EnableFrameDir().

Attention reusing a directory is only reasonable if the same file is.

If there is no directory information, either if the SDIFEntity has just been created or the file that has previously been opened did not use a frame directory this call is equivalent to OpenRead()

Returns:
true if opened/false if error

bool Easdif::SDIFEntity::OpenWrite const char *  filename  )  [inherited]
 

open a file in writing mode

Parameters:
filename 
Returns:
true if opened/false if error

bool Easdif::SDIFEntity::Close  )  [inherited]
 

close a file

Returns:
true if closed / false if file was not opened

bool Easdif::SDIFEntity::Rewind  )  [inherited]
 

rewind a file to first non-ascii frame after the file header

Returns:
true if positioning was successful

bool Easdif::SDIFEntity::isSeekable  )  [inline, inherited]
 

examine seekability of current file

Returns:
true if file can be seeked which is the case if it is not a pipe

SdifFileT * Easdif::SDIFEntity::GetFile  )  const [inherited]
 

get the SdifFileT* file

Returns:
SdifFile pointer related to Entity

bool Easdif::SDIFEntity::good  )  const [inline, inherited]
 

test file state

Returns:
true if file is opened and not at eof

bool Easdif::SDIFEntity::eof  )  const [inline, inherited]
 

true if file is at eof


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