OpendTect-6_4  6.4
Functions
StrmOper Namespace Reference

Stream operations. operations will be retried on soft errors. More...

Functions

bool readBlock (std::istream &, void *, uint64_t nrbyts)
 
bool writeBlock (std::ostream &, const void *, uint64_t)
 
bool peekChar (std::istream &, char &)
 
bool readChar (std::istream &, char &, bool allowreadingnewlines=false)
 
bool readWord (std::istream &, bool maycrossnewline, BufferString *b=0)
 
bool readLine (std::istream &, BufferString *b=0, bool *newline_found=0)
 
bool readFile (std::istream &, BufferString &)
 
bool skipWhiteSpace (std::istream &)
 
int64_t tell (std::istream &)
 
int64_t tell (std::ostream &)
 
void seek (std::istream &, int64_t pos)
 
void seek (std::istream &, int64_t offset, std::ios::seekdir)
 
void seek (std::ostream &, int64_t pos)
 
void seek (std::ostream &, int64_t offset, std::ios::seekdir)
 
int64_t lastNrBytesRead (std::istream &)
 
bool resetSoftError (std::istream &, int &retrycount)
 
bool resetSoftError (std::ostream &, int &retrycount)
 
void clear (std::ios &)
 
const char * getErrorMessage (std::ios &)
 
const char * getErrorMessage (const StreamData &)
 

Detailed Description

Stream operations. operations will be retried on soft errors.

Function Documentation

void StrmOper::clear ( std::ios &  )
const char* StrmOper::getErrorMessage ( std::ios &  )
const char* StrmOper::getErrorMessage ( const StreamData )
int64_t StrmOper::lastNrBytesRead ( std::istream &  )
bool StrmOper::peekChar ( std::istream &  ,
char &   
)
bool StrmOper::readBlock ( std::istream &  ,
void *  ,
uint64_t  nrbyts 
)
bool StrmOper::readChar ( std::istream &  ,
char &  ,
bool  allowreadingnewlines = false 
)
bool StrmOper::readFile ( std::istream &  ,
BufferString  
)
bool StrmOper::readLine ( std::istream &  ,
BufferString b = 0,
bool *  newline_found = 0 
)
bool StrmOper::readWord ( std::istream &  ,
bool  maycrossnewline,
BufferString b = 0 
)
bool StrmOper::resetSoftError ( std::istream &  ,
int &  retrycount 
)
bool StrmOper::resetSoftError ( std::ostream &  ,
int &  retrycount 
)
void StrmOper::seek ( std::istream &  ,
int64_t  pos 
)
void StrmOper::seek ( std::istream &  ,
int64_t  offset,
std::ios::seekdir   
)
void StrmOper::seek ( std::ostream &  ,
int64_t  pos 
)
void StrmOper::seek ( std::ostream &  ,
int64_t  offset,
std::ios::seekdir   
)
bool StrmOper::skipWhiteSpace ( std::istream &  )
int64_t StrmOper::tell ( std::istream &  )
int64_t StrmOper::tell ( std::ostream &  )
bool StrmOper::writeBlock ( std::ostream &  ,
const void *  ,
uint64_t   
)

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019