OpendTect 8.0
Loading...
Searching...
No Matches
Functions
StrmOper Namespace Reference

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

Functions

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

Detailed Description

Stream operations. operations will be retried on soft errors.

Function Documentation

◆ clear()

void StrmOper::clear ( std::ios & )

◆ getErrorMessage() [1/2]

uiString StrmOper::getErrorMessage ( const StreamData & )

◆ getErrorMessage() [2/2]

uiString StrmOper::getErrorMessage ( std::ios & )

◆ lastNrBytesRead()

od_int64 StrmOper::lastNrBytesRead ( std::istream & )

◆ peekChar()

bool StrmOper::peekChar ( std::istream & ,
char &  )

◆ readBlock()

bool StrmOper::readBlock ( std::istream & ,
void * ,
od_uint64 nrbyts )

◆ readChar()

bool StrmOper::readChar ( std::istream & ,
char & ,
bool allowreadingnewlines = false )

◆ readFile()

bool StrmOper::readFile ( std::istream & ,
BufferString &  )

◆ readLine()

bool StrmOper::readLine ( std::istream & ,
BufferString * b = 0,
bool * newline_found = 0 )

◆ readWord()

bool StrmOper::readWord ( std::istream & ,
bool maycrossnewline,
BufferString * b = 0 )

◆ resetSoftError() [1/2]

bool StrmOper::resetSoftError ( std::istream & ,
int & retrycount )

◆ resetSoftError() [2/2]

bool StrmOper::resetSoftError ( std::ostream & ,
int & retrycount )

◆ seek() [1/4]

void StrmOper::seek ( std::istream & ,
od_int64 offset,
std::ios::seekdir  )

◆ seek() [2/4]

void StrmOper::seek ( std::istream & ,
od_int64 pos )

◆ seek() [3/4]

void StrmOper::seek ( std::ostream & ,
od_int64 offset,
std::ios::seekdir  )

◆ seek() [4/4]

void StrmOper::seek ( std::ostream & ,
od_int64 pos )

◆ skipWhiteSpace()

bool StrmOper::skipWhiteSpace ( std::istream & )

◆ tell() [1/2]

od_int64 StrmOper::tell ( std::istream & )

◆ tell() [2/2]

od_int64 StrmOper::tell ( std::ostream & )

◆ writeBlock()

bool StrmOper::writeBlock ( std::ostream & ,
const void * ,
od_uint64  )

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