Public Member Functions | |
oTstream (const word &nm) | |
oTstream (const oTstream &src) | |
oTstream (oTstream &&)=default | |
virtual | ~oTstream ()=default |
const tokenList & | tokens () const |
tokenList & | tokens () |
virtual bool | write (const token &tok) |
virtual iOstream & | write (const char c) |
virtual iOstream & | write (const char *str) |
virtual iOstream & | write (const word &str) |
virtual iOstream & | writeQuoted (const std::string &str, const bool quoted=true) |
virtual iOstream & | write (const int64 val) override |
virtual iOstream & | write (const int32 val) override |
virtual iOstream & | write (const label val) override |
virtual iOstream & | write (const uint32 val) override |
virtual iOstream & | write (const uint16 val) override |
virtual iOstream & | write (const float val) override |
virtual iOstream & | write (const double val) override |
virtual void | append (const token &tok) |
virtual void | append (const tokenList &tLisk) |
void | reset () |
virtual void | rewind () |
virtual void | indent () |
virtual void | flush () |
virtual void | endl () |
virtual char | fill () const |
virtual char | fill (const char) |
virtual int | width () const |
virtual int | width (const int) |
virtual int | precision () const |
virtual int | precision (const int) |
virtual ios_base::fmtflags | flags () const |
ios_base::fmtflags | flags (const ios_base::fmtflags) |
![]() | |
iOstream () | |
iOstream (const iOstream &)=default | |
virtual | ~iOstream ()=default |
unsigned short | indentSize () const |
unsigned short & | indentSize () |
unsigned short | indentLevel () const |
unsigned short & | indentLevel () |
void | incrIndent () |
void | decrIndent () |
virtual iOstream & | beginBlock (const word &kw) |
virtual iOstream & | beginBlock () |
virtual iOstream & | endBlock () |
virtual iOstream & | beginList () |
virtual iOstream & | beginList (const word &kw) |
virtual iOstream & | endList () |
virtual iOstream & | beginSquare () |
virtual iOstream & | beginSquare (const word &kw) |
virtual iOstream & | endSquare () |
virtual iOstream & | endEntry () |
virtual iOstream & | newLine () |
virtual iOstream & | space (int32 n=1) |
virtual iOstream & | writeWordKeyword (const word &kw) |
template<class T > | |
iOstream & | writeWordEntry (const word &key, const T &value) |
iOstream & | operator() () const |
![]() | |
IOstream () | |
IOstream (const IOstream &)=default | |
virtual | ~IOstream ()=default |
virtual const word & | name () const |
virtual word & | name () |
virtual bool | check (const char *operation) const |
bool | fatalCheck (const char *operation) const |
bool | opened () const |
bool | closed () const |
bool | good () const |
bool | eof () const |
bool | fail () const |
bool | bad () const |
operator bool () const | |
bool | operator! () const |
int32 | lineNumber () const |
int32 & | lineNumber () |
int32 | lineNumber (const int32 num) |
void | setEof () |
void | setFail () |
void | setBad () |
ios_base::fmtflags | setf (const ios_base::fmtflags f) |
ios_base::fmtflags | setf (const ios_base::fmtflags f, const ios_base::fmtflags mask) |
void | unsetf (const ios_base::fmtflags f) |
Protected Attributes | |
word | name_ |
tokenList | tokenList_ |
![]() | |
unsigned short | indentSize_ = 4 |
unsigned short | indentLevel_ = 0 |
![]() | |
streamAccess | openClosed_ |
ios_base::iostate | ioState_ |
int32 | lineNumber_ |
Additional Inherited Members | |
![]() | |
enum | streamAccess : char { CLOSED = 0, OPENED } |
![]() | |
static unsigned int | defaultPrecision () |
static unsigned int | defaultPrecision (unsigned int prec) |
![]() | |
static unsigned int | precision_ = 6 |
![]() | |
void | setOpened () |
void | setClosed () |
void | setState (ios_base::iostate state) |
void | setGood () |
![]() | |
static constexpr const unsigned short | entryIndentation_ = 16 |
![]() | |
static word | staticName_ |
Definition at line 23 of file oTstream.hpp.
Definition at line 6 of file oTstream.cpp.
Definition at line 19 of file oTstream.cpp.
|
virtualdefault |
pFlow::tokenList & tokens | ( | ) | const |
Definition at line 32 of file oTstream.cpp.
References oTstream::tokenList_.
Referenced by dataEntry::dataEntry().
tokenList& tokens | ( | ) |
|
virtual |
Implements iOstream.
Definition at line 44 of file oTstream.cpp.
References token::good().
|
virtual |
Implements iOstream.
Definition at line 56 of file oTstream.cpp.
|
virtual |
Implements iOstream.
Definition at line 68 of file oTstream.cpp.
|
virtual |
Implements iOstream.
Definition at line 77 of file oTstream.cpp.
|
virtual |
Implements iOstream.
Definition at line 86 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 97 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 104 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 114 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 121 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 128 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 136 of file oTstream.cpp.
|
overridevirtual |
Implements iOstream.
Definition at line 144 of file oTstream.cpp.
|
virtual |
Definition at line 153 of file oTstream.cpp.
References pFlow::validTokenForStream().
|
virtual |
Definition at line 160 of file oTstream.cpp.
void reset | ( | ) |
Definition at line 168 of file oTstream.cpp.
|
virtual |
Definition at line 174 of file oTstream.cpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 122 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 126 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 130 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 135 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 141 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 147 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 154 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 160 of file oTstream.hpp.
|
inlinevirtual |
Implements iOstream.
Definition at line 167 of file oTstream.hpp.
|
inlinevirtual |
Implements IOstream.
Definition at line 173 of file oTstream.hpp.
|
inlinevirtual |
Implements IOstream.
Definition at line 179 of file oTstream.hpp.
|
protected |
Definition at line 31 of file oTstream.hpp.
|
protected |
Definition at line 34 of file oTstream.hpp.
Referenced by oTstream::tokens().