OpendTect-6_4  6.4
Public Member Functions | List of all members
od_ostrstream Class Reference

OD class for stream write into string. More...

Inheritance diagram for od_ostrstream:
[legend]

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 (std::ostream *s)
 
 od_ostream (std::ostream &s)
 
 od_ostream (const od_ostream &s)
 
od_ostreamoperator= (const od_ostream &s)
 
bool open (const char *, bool useexist=false)
 
od_ostreamadd (char)
 
od_ostreamadd (unsigned char)
 
od_ostreamadd (const char *)
 
od_ostreamadd (short)
 
od_ostreamadd (unsigned short)
 
od_ostreamadd (int)
 
od_ostreamadd (unsigned int)
 
od_ostreamadd (int64_t)
 
od_ostreamadd (uint64_t)
 
od_ostreamadd (long)
 
od_ostreamadd (unsigned long)
 
od_ostreamadd (float)
 
od_ostreamadd (double)
 
od_ostreamaddPrecise (float)
 
od_ostreamaddPrecise (double)
 
od_ostreamadd (const OD::String &)
 
od_ostreamadd (const uiString &)
 
od_ostreamadd (const IOPar &)
 
od_ostreamadd (const SeparString &)
 
od_ostreamadd (const CompoundKey &)
 
od_ostreamadd (const void *)
 produces pErrMsg but works More...
 
od_ostreamaddPtr (const void *)
 
od_ostreamadd (od_istream &)
 
od_ostreamadd (od_ostream &)
 
bool addBin (const void *, Count nrbytes)
 
template<class T >
od_ostreamaddBin (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 *)
 
StreamDatastreamData ()
 
const StreamDatastreamData () const
 
void setNoClose (bool yn=true)
 
void releaseStream (StreamData &)
 
void close ()
 
void addErrMsgTo (BufferString &) const
 
void addErrMsgTo (uiString &) const
 

Additional Inherited Members

- Public Types inherited from od_stream
enum  Ref { Abs, Rel, End }
 
typedef od_stream_Count Count
 
typedef od_stream_Pos Pos
 
- Static Public Member Functions inherited from od_ostream
static od_ostreamnullStream ()
 
static od_ostreamlogStream ()
 used by ErrMsg and UsrMsg More...
 
- Static Public Member Functions inherited from od_stream
static od_streamcreate (const char *, bool forread, BufferString &errmsg)
 returns null on failure, never a bad stream More...
 
static od_streamcreate (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...
 
- 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_streamoperator= (const od_stream &)
 
- Protected Attributes inherited from od_stream
StreamDatasd_
 
bool mine_
 
bool noclose_
 
uiString errmsg_
 

Detailed Description

OD class for stream write into string.

Constructor & Destructor Documentation

od_ostrstream::od_ostrstream ( )

Member Function Documentation

const char* od_ostrstream::result ( ) const
void od_ostrstream::setEmpty ( )

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