OpendTect
7.0
|
OD class for stream write common access to the user log file, or std::cout in other than od_main. More...
Public Member Functions | |
od_ostream () | |
od_ostream (const char *fnm, bool useexist=false) | |
od_ostream (const FilePath &fp, bool useexist=false) | |
od_ostream (const OS::MachineCommand &mc, const char *workdir=nullptr) | |
od_ostream (od_ostream &&) | |
od_ostream (std::ostream &s) | |
od_ostream (std::ostream *s) | |
od_ostream & | add (char) |
od_ostream & | add (const char *) |
od_ostream & | add (const CompoundKey &) |
od_ostream & | add (const IOPar &) |
od_ostream & | add (const MultiID &) |
od_ostream & | add (const OD::String &) |
od_ostream & | add (const SeparString &) |
od_ostream & | add (const uiString &) |
od_ostream & | add (const void *) |
produces pErrMsg but works More... | |
od_ostream & | add (double) |
od_ostream & | add (float) |
od_ostream & | add (long) |
od_ostream & | add (od_istream &) |
od_ostream & | add (od_ostream &) |
od_ostream & | add (std::int16_t) |
od_ostream & | add (std::int32_t) |
od_ostream & | add (std::int64_t) |
od_ostream & | add (std::uint16_t) |
od_ostream & | add (std::uint32_t) |
od_ostream & | add (std::uint64_t) |
od_ostream & | add (unsigned char) |
od_ostream & | add (unsigned long) |
template<class T > | |
od_ostream & | addBin (const T &) |
bool | addBin (const void *, Count nrbytes) |
od_ostream & | addNewLine () |
od_ostream & | addPrecise (double) |
od_ostream & | addPrecise (float) |
od_ostream & | addPtr (const void *) |
od_ostream & | addTab () |
void | flush () |
Pos | lastWrittenPosition () const |
bool | open (const char *, bool useexist=false) |
od_ostream & | operator= (od_ostream &&) |
void | setWritePosition (Pos, Ref r=Abs) |
std::ostream & | stdStream () |
Public Member Functions inherited from od_stream | |
virtual | ~od_stream () |
void | addErrMsgTo (BufferString &) const |
void | addErrMsgTo (uiRetVal &) const |
void | addErrMsgTo (uiString &) const |
void | close () |
uiString | errMsg () const |
see also below. More... | |
const char * | fileName () const |
bool | forRead () const |
bool | forWrite () const |
bool | isBad () const |
eof is not Bad More... | |
bool | isLocal () const |
bool | isOK () const |
eof is not OK More... | |
Pos | position () const |
void | setFileName (const char *) |
void | setNoClose (bool yn=true) |
void | setPosition (Pos, Ref r=Abs) |
StreamData & | streamData () |
const StreamData & | streamData () const |
Static Public Member Functions | |
static od_ostream & | logStream () |
used by ErrMsg and UsrMsg More... | |
static od_ostream & | nullStream () |
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 * | sStdErr () |
pass this as filename to get cerr More... | |
static const char * | sStdIO () |
pass this as filename to get cin or cout More... | |
Private Member Functions | |
od_ostream (const od_ostream &)=delete | |
od_ostream & | operator= (const od_ostream &)=delete |
Additional Inherited Members | |
Public Types inherited from od_stream | |
typedef od_stream_Count | Count |
typedef od_stream_Pos | Pos |
enum | Ref { Abs , Rel , End } |
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 (const OS::MachineCommand &, const char *workdir, bool editmode=false) | |
od_stream (std::istream &) | |
od_stream (std::istream *) | |
od_stream (std::ostream &) | |
od_stream (std::ostream *) | |
BufferString | noStdStreamPErrMsg () const |
od_stream & | operator= (const od_stream &)=delete |
Protected Attributes inherited from od_stream | |
uiString | errmsg_ |
bool | mine_ = true |
bool | noclose_ = false |
StreamData | sd_ |
OD class for stream write common access to the user log file, or std::cout in other than od_main.
<>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
od_ostream::od_ostream | ( | od_ostream && | ) |
|
privatedelete |
od_ostream& od_ostream::add | ( | char | ) |
od_ostream& od_ostream::add | ( | const char * | ) |
od_ostream& od_ostream::add | ( | const CompoundKey & | ) |
od_ostream& od_ostream::add | ( | const IOPar & | ) |
od_ostream& od_ostream::add | ( | const MultiID & | ) |
od_ostream& od_ostream::add | ( | const OD::String & | ) |
od_ostream& od_ostream::add | ( | const SeparString & | ) |
od_ostream& od_ostream::add | ( | const uiString & | ) |
od_ostream& od_ostream::add | ( | const void * | ) |
produces pErrMsg but works
od_ostream& od_ostream::add | ( | double | ) |
od_ostream& od_ostream::add | ( | float | ) |
od_ostream& od_ostream::add | ( | long | ) |
od_ostream& od_ostream::add | ( | od_istream & | ) |
|
inline |
od_ostream& od_ostream::add | ( | std::int16_t | ) |
od_ostream& od_ostream::add | ( | std::int32_t | ) |
od_ostream& od_ostream::add | ( | std::int64_t | ) |
od_ostream& od_ostream::add | ( | std::uint16_t | ) |
od_ostream& od_ostream::add | ( | std::uint32_t | ) |
od_ostream& od_ostream::add | ( | std::uint64_t | ) |
od_ostream& od_ostream::add | ( | unsigned char | ) |
od_ostream& od_ostream::add | ( | unsigned long | ) |
|
inline |
bool od_ostream::addBin | ( | const void * | , |
Count | nrbytes | ||
) |
|
inline |
od_ostream& od_ostream::addPrecise | ( | double | ) |
od_ostream& od_ostream::addPrecise | ( | float | ) |
od_ostream& od_ostream::addPtr | ( | const void * | ) |
|
inline |
void od_ostream::flush | ( | ) |
Pos od_ostream::lastWrittenPosition | ( | ) | const |
|
static |
used by ErrMsg and UsrMsg
|
static |
bool od_ostream::open | ( | const char * | , |
bool | useexist = false |
||
) |
|
privatedelete |
od_ostream& od_ostream::operator= | ( | od_ostream && | ) |
std::ostream& od_ostream::stdStream | ( | ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024