|
| oFstream (const fileSystem &path, bool binary=false) |
|
| oFstream (const oFstream &src)=delete |
|
oFstream & | operator= (const oFstream &rhs)=delete |
|
virtual | ~oFstream ()=default |
|
| fileStream (const fileSystem &path, bool outStream=false, bool binary=false) |
|
| fileStream (const fileStream &)=delete |
|
fileStream & | operator= (const fileStream &)=delete |
|
virtual | ~fileStream () |
|
std::ifstream & | inStream () |
|
std::ofstream & | outStream () |
|
| Ostream (std::ostream &os, const word &streamName, writeFormat wf=ASCII) |
|
| Ostream (const Ostream &)=delete |
|
void | operator= (const Ostream &)=delete |
|
virtual const word & | name () const |
| Return the name of the stream. More...
|
|
virtual word & | name () |
| Return non-const access to the name of the stream. More...
|
|
virtual ios_base::fmtflags | flags () const |
| Return flags of stream. More...
|
|
bool | write (const token &tok) override |
| Write Functions. More...
|
|
iOstream & | write (const char c) override |
| Write character. More...
|
|
iOstream & | write (const char *str) override |
| Write character string. More...
|
|
iOstream & | write (const word &str) override |
| Write word. More...
|
|
iOstream & | writeQuoted (const word &str, const bool quoted=true) override |
| Write std::string surrounded by quotes. More...
|
|
iOstream & | write (const int64 val) override |
| Write int64. More...
|
|
iOstream & | write (const int32 val) override |
| Write int32. More...
|
|
iOstream & | write (const label val) override |
| Write label. More...
|
|
iOstream & | write (const uint32 val) override |
| Write uint32. More...
|
|
iOstream & | write (const uint16 val) override |
| Write uint16. More...
|
|
iOstream & | write (const float val) override |
| Write float. More...
|
|
iOstream & | write (const double val) override |
| Write double. More...
|
|
iOstream & | write (const char *binaryData, std::streamsize count) override |
| Write a block of binray data. More...
|
|
void | indent () override |
| Add indentation characters. More...
|
|
ios_base::fmtflags | flags (const ios_base::fmtflags f) override |
| Set flags of stream. More...
|
|
void | flush () override |
| Flush stream. More...
|
|
void | endl () override |
| Add newline and flush stream. More...
|
|
char | fill () const override |
| Get padding character. More...
|
|
char | fill (const char fillch) override |
| Set padding character for formatted field up to field width. More...
|
|
int | width () const override |
| Get width of output field. More...
|
|
int | width (const int w) override |
| Set width of output field (and return old width) More...
|
|
int | precision () const override |
| Get precision of output field. More...
|
|
int | precision (const int p) override |
| Set precision of output field (and return old precision) More...
|
|
virtual std::ostream & | stdStream () |
|
virtual const std::ostream & | stdStream () const |
|
| iOstream () |
| Default. More...
|
|
| iOstream (writeFormat wF) |
| Construct from writeFormat. More...
|
|
| iOstream (const iOstream &)=default |
| Copy construct. More...
|
|
virtual | ~iOstream ()=default |
| Destructor. More...
|
|
unsigned short | indentSize () const |
| Return indent level. More...
|
|
unsigned short & | indentSize () |
| Access to indent size. More...
|
|
unsigned short | indentLevel () const |
| Return indent level. More...
|
|
unsigned short & | indentLevel () |
| Access to indent level. More...
|
|
void | incrIndent () |
| Increment the indent level. More...
|
|
void | decrIndent () |
| Decrement the indent level. More...
|
|
virtual iOstream & | beginBlock (const word &kw) |
| Write begin block group with a name Increments indentation, adds newline. More...
|
|
virtual iOstream & | beginBlock () |
| Write begin block group without a name Increments indentation, adds newline. More...
|
|
virtual iOstream & | endBlock () |
| Write end block group Decrements indentation, adds newline. More...
|
|
virtual iOstream & | beginList () |
| Write begin list "(". More...
|
|
virtual iOstream & | beginList (const word &kw) |
| Write begin list with keyword "kw (". More...
|
|
virtual iOstream & | endList () |
| Write end list ")". More...
|
|
virtual iOstream & | beginSquare () |
| Write begin list "[". More...
|
|
virtual iOstream & | beginSquare (const word &kw) |
| Write begin list with keyword "kw [". More...
|
|
virtual iOstream & | endSquare () |
| Write end list "]". More...
|
|
virtual iOstream & | endEntry () |
| Write end entry (';') followed by newline. More...
|
|
virtual iOstream & | newLine () |
| Write a newLine to stream. More...
|
|
virtual iOstream & | space (int32 n=1) |
| Write space to stream. More...
|
|
virtual iOstream & | writeWordKeyword (const word &kw) |
| Write the keyword followed by an appropriate indentation. More...
|
|
template<class T > |
iOstream & | writeWordEntry (const word &key, const T &value) |
| Write a keyword/value entry. More...
|
|
iOstream & | operator() () const |
| Return a non-const reference to const iOstream Needed for write functions where the stream argument is temporary: e.g. More...
|
|
| IOstream () |
| Default. More...
|
|
| IOstream (writeFormat wF) |
| Construct and set write format. More...
|
|
| IOstream (const IOstream &)=default |
| Copy. More...
|
|
virtual | ~IOstream ()=default |
| Destructor. More...
|
|
virtual bool | check (const char *operation) const |
| Check IOstream status for given operation. More...
|
|
bool | fatalCheck (const char *operation) const |
| Check IOstream status for given operation. More...
|
|
bool | opened () const |
| Return true if stream has been opened. More...
|
|
bool | closed () const |
| Return true if stream is closed. More...
|
|
bool | isBinary () const |
| Return true if stream format is binray. More...
|
|
bool | good () const |
| Return true if next operation might succeed. More...
|
|
bool | eof () const |
| Return true if end of input seen. More...
|
|
bool | fail () const |
| Return true if next operation will fail. More...
|
|
bool | bad () const |
| Return true if stream is corrupted. More...
|
|
| operator bool () const |
| Return true if the stream has not failed. More...
|
|
bool | operator! () const |
| Return true if the stream has failed. More...
|
|
int32 | lineNumber () const |
| Const access to the current stream line number. More...
|
|
int32 & | lineNumber () |
| Non-const access to the current stream line number. More...
|
|
int32 | lineNumber (const int32 num) |
| Set the stream line number return the previous value. More...
|
|
void | setEof () |
| Set stream to have reached eof. More...
|
|
void | setFail () |
| Set stream to have failed. More...
|
|
void | setBad () |
| Set stream to be bad. More...
|
|
ios_base::fmtflags | setf (const ios_base::fmtflags f) |
| Set flags of stream. More...
|
|
ios_base::fmtflags | setf (const ios_base::fmtflags f, const ios_base::fmtflags mask) |
| Set flags of given field of stream. More...
|
|
void | unsetf (const ios_base::fmtflags f) |
| Unset flags of stream. More...
|
|
Definition at line 36 of file oFstream.hpp.