|
| iFstream (const fileSystem &path, bool binary=false) |
|
| iFstream (const iFstream &src)=delete |
|
iFstream & | operator= (const iFstream &rhs)=delete |
|
virtual | ~iFstream ()=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 () |
|
| Istream (std::istream &is, const word &streamName, writeFormat wf=ASCII) |
|
virtual | ~Istream ()=default |
|
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...
|
|
Istream & | get (char &c) |
|
int | peek () |
|
Istream & | getLine (word &str, char delim='\n') |
|
std::streamsize | getLine (std::nullptr_t, char delim='\n') |
|
Istream & | putback (const char c) |
|
virtual iIstream & | read (token &t) override |
|
virtual iIstream & | read (char &c) override |
|
virtual iIstream & | read (word &str) override |
|
virtual iIstream & | readString (word &str) override |
|
virtual iIstream & | read (int64 &) override |
|
virtual iIstream & | read (int32 &) override |
|
virtual iIstream & | read (int16 &) override |
|
virtual iIstream & | read (int8 &) override |
|
virtual iIstream & | read (label &) override |
|
virtual iIstream & | read (uint32 &) override |
|
virtual iIstream & | read (uint16 &) override |
|
virtual iIstream & | read (float &val) override |
|
virtual iIstream & | read (double &val) override |
|
iIstream & | read (char *buffer, std::streamsize count) override |
|
virtual void | rewind () |
|
virtual ios_base::fmtflags | flags (const ios_base::fmtflags flags) |
| Set flags of stream. More...
|
|
virtual std::istream & | stdStream () |
|
virtual const std::istream & | stdStream () const |
|
| iIstream () |
|
| iIstream (writeFormat wf) |
|
| iIstream (const iIstream &)=default |
|
virtual | ~iIstream ()=default |
|
void | putBack (const token &tok) |
|
bool | getBack (token &tok) |
|
bool | peekBack (token &tok) |
|
void | resetPutBack () |
|
virtual bool | findToken (const word &w) |
|
virtual bool | findTokenResume (const word &w) |
| search for all tokesn after the current file position and find the first word token tbat matchs w More...
|
|
virtual bool | findTokenSilent (const word &w, int32 limitLine=100) |
|
virtual bool | findTokenResumeSilent (const word &w, int32 limitLine=100) |
| search for all tokesn after the current file position and find the first word token tbat matchs w More...
|
|
virtual bool | findTokenAndNext (const word &w, word &nextW, bool checkEndStatement=true) |
|
virtual bool | findTokenAndNextSilent (const word &w, word &nextW, int32 limitLine=100) |
|
template<typename T > |
bool | findKeywordAndVal (const word &keyword, T &val, bool checkEndStatement=true) |
|
template<typename T > |
T | lookupData (const word &keyword) |
|
template<typename T > |
T | lookupDataOrSet (const word &keyword, const T &setVal) |
|
template<typename T > |
bool | nextData (const word &keyword, T &data) |
|
bool | readBegin (const char *funcName) |
|
bool | readEnd (const char *funcName) |
|
bool | readBeginSquare (const char *funcName) |
|
bool | readEndSquare (const char *funcName) |
|
char | readBeginList (const char *funcName) |
|
char | readEndList (const char *funcName) |
|
char | readEndStatement (const char *funcName) |
|
iIstream & | operator() () const |
|
| 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 35 of file iFstream.hpp.