Public Member Functions | |
iOstream () | |
iOstream (const iOstream &)=default | |
virtual | ~iOstream ()=default |
virtual bool | write (const token &tok)=0 |
virtual iOstream & | write (const char c)=0 |
virtual iOstream & | write (const char *str)=0 |
virtual iOstream & | write (const word &str)=0 |
virtual iOstream & | writeQuoted (const word &str, const bool quoted=true)=0 |
virtual iOstream & | write (const int64 val)=0 |
virtual iOstream & | write (const int32 val)=0 |
virtual iOstream & | write (const label val)=0 |
virtual iOstream & | write (const uint32 val)=0 |
virtual iOstream & | write (const uint16 val)=0 |
virtual iOstream & | write (const float val)=0 |
virtual iOstream & | write (const double val)=0 |
virtual void | indent ()=0 |
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) |
virtual void | flush ()=0 |
virtual void | endl ()=0 |
virtual char | fill () const =0 |
virtual char | fill (const char fillch)=0 |
virtual int | width () const =0 |
virtual int | width (const int w)=0 |
virtual int | precision () const =0 |
virtual int | precision (const int p)=0 |
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) |
virtual ios_base::fmtflags | flags () const =0 |
void | setEof () |
void | setFail () |
void | setBad () |
virtual ios_base::fmtflags | flags (const ios_base::fmtflags f)=0 |
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 | |
unsigned short | indentSize_ = 4 |
unsigned short | indentLevel_ = 0 |
![]() | |
streamAccess | openClosed_ |
ios_base::iostate | ioState_ |
int32 | lineNumber_ |
Static Protected Attributes | |
static constexpr const unsigned short | entryIndentation_ = 16 |
![]() | |
static word | staticName_ |
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 () |
Definition at line 53 of file iOstream.hpp.
|
inlineexplicit |
Definition at line 75 of file iOstream.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in Ostream, and oTstream.
Referenced by pFlow::operator<<(), and dictionary::writeDictionary().
|
pure virtual |
Implemented in oTstream, and Ostream.
Referenced by pFlow::indent().
|
inline |
Definition at line 137 of file iOstream.hpp.
References iOstream::indentSize_.
|
inline |
Definition at line 143 of file iOstream.hpp.
References iOstream::indentSize_.
|
inline |
Definition at line 149 of file iOstream.hpp.
References iOstream::indentLevel_.
|
inline |
Definition at line 155 of file iOstream.hpp.
References iOstream::indentLevel_.
|
inline |
Definition at line 161 of file iOstream.hpp.
References iOstream::indentLevel_.
Referenced by pFlow::incrIndent(), and stlFile::writeFacet().
void decrIndent | ( | ) |
Definition at line 27 of file iOstream.cpp.
References iOstream::indentLevel_.
Referenced by pFlow::decrIndent(), and stlFile::writeFacet().
|
virtual |
Definition at line 70 of file iOstream.cpp.
References pFlow::beginBlock(), and pFlow::indent().
Referenced by pFlow::beginBlock(), and dictionary::writeDictionary().
|
virtual |
Definition at line 79 of file iOstream.cpp.
References token::BEGIN_BLOCK, pFlow::incrIndent(), and pFlow::indent().
|
virtual |
Definition at line 88 of file iOstream.cpp.
References pFlow::decrIndent(), token::END_BLOCK, and pFlow::indent().
Referenced by pFlow::endBlock(), and dictionary::writeDictionary().
|
virtual |
Definition at line 125 of file iOstream.cpp.
References token::BEGIN_LIST.
|
virtual |
Definition at line 134 of file iOstream.cpp.
|
virtual |
Definition at line 144 of file iOstream.cpp.
References token::END_LIST.
|
virtual |
Definition at line 153 of file iOstream.cpp.
References token::BEGIN_SQR.
|
virtual |
Definition at line 162 of file iOstream.cpp.
|
virtual |
Definition at line 172 of file iOstream.cpp.
References token::END_SQR.
|
virtual |
Definition at line 97 of file iOstream.cpp.
References token::END_STATEMENT.
Referenced by pFlow::endEntry(), dataEntry::writeDataEntry(), Field< VectorDual, int8 >::writeField(), and iOstream::writeWordEntry().
|
virtual |
Definition at line 105 of file iOstream.cpp.
References token::NL.
|
virtual |
Definition at line 112 of file iOstream.cpp.
References n, and token::SPACE.
|
virtual |
Definition at line 41 of file iOstream.cpp.
References pFlow::indent(), and token::SPACE.
Referenced by Field< VectorDual, int8 >::writeField(), iEntry< Key, T * >::writeKeyword(), and iOstream::writeWordEntry().
Definition at line 217 of file iOstream.hpp.
References iOstream::endEntry(), and iOstream::writeWordKeyword().
Referenced by timeInterval::write(), rotatingAxis::write(), iBox< intType >::write(), box::write(), vibrating::write(), sphere::write(), line::write(), cylinder::write(), IOfileHeader::writeHeader(), and pointStructure::writePointStructure().
|
pure virtual |
Implemented in oTstream, and Ostream.
Referenced by pFlow::flush().
|
pure virtual |
Implemented in oTstream, and Ostream.
Referenced by pFlow::endl().
|
inline |
Definition at line 255 of file iOstream.hpp.
|
staticconstexprprotected |
Definition at line 62 of file iOstream.hpp.
|
protected |
Definition at line 65 of file iOstream.hpp.
Referenced by iOstream::indentSize().
|
protected |
Definition at line 68 of file iOstream.hpp.
Referenced by iOstream::decrIndent(), iOstream::incrIndent(), and iOstream::indentLevel().