32 : od_stream(fnm,true,useexist) {}
34 : od_stream(fp,true,useexist) {}
43 bool open(
const char*,
bool useexist=
false);
80 bool addBin(
const void*,
Count nrbytes);
84 std::ostream& stdStream();
91 { setPosition( p, r ); }
93 {
return endPosition(); }
108 {
return s.
add( t ); }
124 {
return (*fn)( s ); }
#define mExpClass(module)
Definition: commondefs.h:160
od_ostream(const od_ostream &s)
Definition: od_ostream.h:39
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
od_ostream(std::ostream *s)
Definition: od_ostream.h:35
#define mGlobal(module)
Definition: commondefs.h:163
OD::String that holds an existing text string.
Definition: fixedstring.h:29
od_ostream(const char *fnm, bool useexist=false)
Definition: od_ostream.h:31
#define od_int64
Definition: plftypes.h:36
od_ostream & od_endl(od_ostream &strm)
Definition: od_ostream.h:111
bool addBin(const void *, Count nrbytes)
List encoded in a string.
Definition: separstr.h:33
Definition: uistring.h:89
OD base class for stream read/write.
Definition: od_stream.h:53
od_ostream & od_cout()
Never redirected.
Definition: od_ostream.h:99
uiString & operator=(const uiString &)
no copy, ref counted
unsigned int Abs(unsigned int i)
Definition: math2.h:80
OD class for stream read.
Definition: od_istream.h:24
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
#define od_uint32
Definition: plftypes.h:32
static od_ostream & logStream()
used by ErrMsg and UsrMsg
Pos lastWrittenPosition() const
Definition: od_ostream.h:92
void setWritePosition(Pos p, Ref r=Abs)
Definition: od_ostream.h:90
od_ostream(const FilePath &fp, bool useexist=false)
Definition: od_ostream.h:33
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
od_ostream & operator<<(od_ostream &s, const T &t)
Definition: od_ostream.h:107
od_stream_Count Count
Definition: od_stream.h:54
Position.
Definition: commontypes.h:42
od_ostream &(* od_ostreamFunction)(od_ostream &)
Definition: od_ostream.h:122
#define od_int16
Definition: plftypes.h:27
#define od_uint64
Definition: plftypes.h:37
File pathname tools.
Definition: filepath.h:34
#define od_int32
Definition: plftypes.h:31
Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager...
Definition: compoundkey.h:23
od_ostream()
Definition: od_ostream.h:30
od_ostream & add(od_ostream &)
Definition: od_ostream.h:78
#define od_uint16
Definition: plftypes.h:28
od_stream & operator=(const od_stream &)
Ref
Definition: od_stream.h:70
od_ostream(std::ostream &s)
Definition: od_ostream.h:37
#define od_newline
Definition: od_iosfwd.h:25