OpendTect
6.6
|
OD class for stream write into string. More...
Public Member Functions | |
od_ostrstream () | |
const char * | result () const |
void | setEmpty () |
Public Member Functions inherited from od_ostream | |
od_ostream () | |
od_ostream (const char *fnm, bool useexist=false) | |
od_ostream (const FilePath &fp, bool useexist=false) | |
od_ostream (const od_ostream &)=delete | |
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 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 (int) |
od_ostream & | add (int64_t) |
od_ostream & | add (long) |
od_ostream & | add (od_istream &) |
od_ostream & | add (od_ostream &) |
od_ostream & | add (short) |
od_ostream & | add (uint64_t) |
od_ostream & | add (unsigned char) |
od_ostream & | add (unsigned int) |
od_ostream & | add (unsigned long) |
od_ostream & | add (unsigned short) |
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= (const od_ostream &)=delete |
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 |
Additional Inherited Members | |
Public Types inherited from od_stream | |
typedef od_stream_Count | Count |
typedef od_stream_Pos | Pos |
enum | Ref { Abs , Rel , End } |
Static Public Member Functions inherited from od_ostream | |
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... | |
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 into string.
<>
od_ostrstream::od_ostrstream | ( | ) |
const char* od_ostrstream::result | ( | ) | const |
void od_ostrstream::setEmpty | ( | ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022