OpendTect-6_4
6.4
|
OD class for stream write common access to the user log file, or std::cout in batch progs. More...
Public Member Functions | |
od_ostream () | |
od_ostream (const char *fnm, bool useexist=false) | |
od_ostream (const FilePath &fp, bool useexist=false) | |
od_ostream (std::ostream *s) | |
od_ostream (std::ostream &s) | |
od_ostream (const od_ostream &s) | |
od_ostream & | operator= (const od_ostream &s) |
bool | open (const char *, bool useexist=false) |
od_ostream & | add (char) |
od_ostream & | add (unsigned char) |
od_ostream & | add (const char *) |
od_ostream & | add (short) |
od_ostream & | add (unsigned short) |
od_ostream & | add (int) |
od_ostream & | add (unsigned int) |
od_ostream & | add (int64_t) |
od_ostream & | add (uint64_t) |
od_ostream & | add (long) |
od_ostream & | add (unsigned long) |
od_ostream & | add (float) |
od_ostream & | add (double) |
od_ostream & | addPrecise (float) |
od_ostream & | addPrecise (double) |
od_ostream & | add (const OD::String &) |
od_ostream & | add (const uiString &) |
od_ostream & | add (const IOPar &) |
od_ostream & | add (const SeparString &) |
od_ostream & | add (const CompoundKey &) |
od_ostream & | add (const void *) |
produces pErrMsg but works More... | |
od_ostream & | addPtr (const void *) |
od_ostream & | add (od_istream &) |
od_ostream & | add (od_ostream &) |
bool | addBin (const void *, Count nrbytes) |
template<class T > | |
od_ostream & | addBin (const T &) |
std::ostream & | stdStream () |
void | flush () |
void | setWritePosition (Pos p, Ref r=Abs) |
Pos | lastWrittenPosition () const |
Public Member Functions inherited from od_stream | |
virtual | ~od_stream () |
bool | isOK () const |
eof is not OK More... | |
bool | isBad () const |
eof is not Bad More... | |
uiString | errMsg () const |
see also below. More... | |
bool | forRead () const |
bool | forWrite () const |
Pos | position () const |
void | setPosition (Pos, Ref r=Abs) |
Pos | endPosition () const |
const char * | fileName () const |
void | setFileName (const char *) |
StreamData & | streamData () |
const StreamData & | streamData () const |
void | setNoClose (bool yn=true) |
void | releaseStream (StreamData &) |
void | close () |
void | addErrMsgTo (BufferString &) const |
void | addErrMsgTo (uiString &) const |
Static Public Member Functions | |
static od_ostream & | nullStream () |
static od_ostream & | logStream () |
used by ErrMsg and UsrMsg More... | |
Static Public Member Functions inherited from od_stream | |
static od_stream * | create (const char *, bool forread, BufferString &errmsg) |
returns null on failure, never a bad stream More... | |
static od_stream * | create (const char *, bool forread, uiString &errmsg) |
returns null on failure, never a bad stream More... | |
static const char * | sStdIO () |
pass this as filename to get cin or cout More... | |
static const char * | sStdErr () |
pass this as filename to get cerr More... | |
Additional Inherited Members | |
Public Types inherited from od_stream | |
enum | Ref { Abs, Rel, End } |
typedef od_stream_Count | Count |
typedef od_stream_Pos | Pos |
Protected Member Functions inherited from od_stream | |
od_stream () | |
od_stream (const char *, bool, bool editmode=false) | |
od_stream (const FilePath &, bool, bool editmode=false) | |
od_stream (std::ostream *) | |
od_stream (std::ostream &) | |
od_stream (std::istream *) | |
od_stream (std::istream &) | |
od_stream (const od_stream &) | |
od_stream & | operator= (const od_stream &) |
Protected Attributes inherited from od_stream | |
StreamData & | sd_ |
bool | mine_ |
bool | noclose_ |
uiString | errmsg_ |
OD class for stream write common access to the user log file, or std::cout in batch progs.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
od_ostream& od_ostream::add | ( | char | ) |
od_ostream& od_ostream::add | ( | unsigned | char | ) |
od_ostream& od_ostream::add | ( | const char * | ) |
od_ostream& od_ostream::add | ( | short | ) |
od_ostream& od_ostream::add | ( | unsigned | short | ) |
od_ostream& od_ostream::add | ( | int | ) |
od_ostream& od_ostream::add | ( | unsigned | int | ) |
od_ostream& od_ostream::add | ( | int64_t | ) |
od_ostream& od_ostream::add | ( | uint64_t | ) |
od_ostream& od_ostream::add | ( | long | ) |
od_ostream& od_ostream::add | ( | unsigned | long | ) |
od_ostream& od_ostream::add | ( | float | ) |
od_ostream& od_ostream::add | ( | double | ) |
od_ostream& od_ostream::add | ( | const OD::String & | ) |
od_ostream& od_ostream::add | ( | const uiString & | ) |
od_ostream& od_ostream::add | ( | const IOPar & | ) |
od_ostream& od_ostream::add | ( | const SeparString & | ) |
od_ostream& od_ostream::add | ( | const CompoundKey & | ) |
od_ostream& od_ostream::add | ( | const void * | ) |
produces pErrMsg but works
od_ostream& od_ostream::add | ( | od_istream & | ) |
|
inline |
bool od_ostream::addBin | ( | const void * | , |
Count | nrbytes | ||
) |
|
inline |
od_ostream& od_ostream::addPrecise | ( | float | ) |
od_ostream& od_ostream::addPrecise | ( | double | ) |
od_ostream& od_ostream::addPtr | ( | const void * | ) |
void od_ostream::flush | ( | ) |
|
inline |
|
static |
used by ErrMsg and UsrMsg
|
static |
bool od_ostream::open | ( | const char * | , |
bool | useexist = false |
||
) |
|
inline |
std::ostream& od_ostream::stdStream | ( | ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019