COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::istreamBLK Class Reference

#include <istreamBLK.h>

Public Member Functions

 istreamBLK (int filedesc, long blockSize)
 
 ~istreamBLK ()
 
off64_t read (void *data, off64_t len)
 
off64_t skipBlk (off64_t len)
 
off64_t skip (off64_t len)
 
off64_t skipBlocks (int blocks)
 
off64_t seekBlock (int blockNo)
 
off64_t read (int *data, off64_t len)
 
off64_t read (float *data, off64_t len)
 
off64_t read (double *data, off64_t len)
 
off64_t skipInt (off64_t len)
 
off64_t skipFloat (off64_t len)
 
off64_t skipDouble (off64_t len)
 
off64_t skipIntBlk (off64_t len)
 
off64_t skipFloatBlk (off64_t len)
 
off64_t skipDoubleBlk (off64_t len)
 
off64_t numRec (off64_t len) const
 
int fail ()
 
void resetErrorFlag ()
 
void setByteSwap (int val)
 
void rewind ()
 

Private Attributes

off64_t d_blocksize
 
off64_t d_blockMask
 
int d_filedesc
 
int d_errFlag
 
off64_t d_preRead
 
int d_byteSwap
 

Constructor & Destructor Documentation

istreamBLK::istreamBLK ( int  filedesc,
long  blockSize 
)
covise::istreamBLK::~istreamBLK ( )
inline

Member Function Documentation

int covise::istreamBLK::fail ( )
inline
off64_t covise::istreamBLK::numRec ( off64_t  len) const
inline
off64_t istreamBLK::read ( void data,
off64_t  len 
)

change this if unsigned/int != 32 bit

off64_t covise::istreamBLK::read ( int *  data,
off64_t  len 
)
inline
off64_t covise::istreamBLK::read ( float *  data,
off64_t  len 
)
inline
off64_t covise::istreamBLK::read ( double *  data,
off64_t  len 
)
inline
void covise::istreamBLK::resetErrorFlag ( )
inline
void istreamBLK::rewind ( )
off64_t istreamBLK::seekBlock ( int  blockNo)
void covise::istreamBLK::setByteSwap ( int  val)
inline
off64_t istreamBLK::skip ( off64_t  len)
off64_t istreamBLK::skipBlk ( off64_t  len)
off64_t istreamBLK::skipBlocks ( int  blocks)
off64_t covise::istreamBLK::skipDouble ( off64_t  len)
inline
off64_t covise::istreamBLK::skipDoubleBlk ( off64_t  len)
inline
off64_t covise::istreamBLK::skipFloat ( off64_t  len)
inline
off64_t covise::istreamBLK::skipFloatBlk ( off64_t  len)
inline
off64_t covise::istreamBLK::skipInt ( off64_t  len)
inline
off64_t covise::istreamBLK::skipIntBlk ( off64_t  len)
inline

Member Data Documentation

off64_t covise::istreamBLK::d_blockMask
private
off64_t covise::istreamBLK::d_blocksize
private
int covise::istreamBLK::d_byteSwap
private
int covise::istreamBLK::d_errFlag
private
int covise::istreamBLK::d_filedesc
private
off64_t covise::istreamBLK::d_preRead
private

The documentation for this class was generated from the following files: