Public Types | |
enum | streamAccess : char { CLOSED = 0, OPENED } |
Public Member Functions | |
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) |
Static Public Member Functions | |
static unsigned int | defaultPrecision () |
static unsigned int | defaultPrecision (unsigned int prec) |
Static Public Attributes | |
static unsigned int | precision_ = 6 |
Protected Member Functions | |
void | setOpened () |
void | setClosed () |
void | setState (ios_base::iostate state) |
void | setGood () |
Protected Attributes | |
streamAccess | openClosed_ |
ios_base::iostate | ioState_ |
int32 | lineNumber_ |
Static Protected Attributes | |
static word | staticName_ |
Definition at line 45 of file IOstream.hpp.
enum streamAccess : char |
Enumerator | |
---|---|
CLOSED | stream is not open |
OPENED | stream is open |
Definition at line 51 of file IOstream.hpp.
|
inlineexplicit |
Definition at line 105 of file IOstream.hpp.
References IOstream::setBad().
|
virtualdefault |
|
inlineprotected |
Definition at line 78 of file IOstream.hpp.
References IOstream::openClosed_, and IOstream::OPENED.
|
inlineprotected |
Definition at line 84 of file IOstream.hpp.
References IOstream::CLOSED, and IOstream::openClosed_.
|
inlineprotected |
Definition at line 90 of file IOstream.hpp.
References IOstream::ioState_.
|
inlineprotected |
Definition at line 96 of file IOstream.hpp.
References IOstream::ioState_.
|
virtual |
Reimplemented in iTstream, Istream, and Ostream.
Definition at line 31 of file IOstream.cpp.
References IOstream::staticName_.
Referenced by box::box(), iEntry< Key, T * >::createEntry(), cylinder::cylinder(), dataEntry::dataEntry(), dictionary::dictionary(), iBox< intType >::iBox(), pFlow::operator<<(), pFlow::operator>>(), iIstream::putBack(), Insertion< ShapeType >::read(), timeInterval::read(), rotatingAxis::read(), Logical::read(), line::read(), dataEntry::read(), sphereShape::read(), fixedWall::read(), multiRotatingAxisMotion::read(), vibratingMotion::read(), rotatingAxisMotion::read(), dictionary::read(), dataEntry::readDataEntry(), dictionary::readDictionary(), Field< VectorDual, int8 >::readField(), IOfileHeader::readHeader(), List< word >::readList(), Field< VectorDual, int8 >::readNonUniform(), pointStructure::readPointStructure(), triSurface::readTriSurface(), Field< VectorDual, int8 >::readUniform(), sphere::sphere(), Insertion< ShapeType >::write(), dataEntry::write(), sphereShape::write(), fixedWall::write(), multiRotatingAxisMotion::write(), vibratingMotion::write(), rotatingAxisMotion::write(), dictionary::write(), and pointStructure::writePointStructure().
|
virtual |
Definition at line 42 of file IOstream.cpp.
Referenced by pFlow::operator<<(), pFlow::operator>>(), rotatingAxis::read(), line::read(), multiTriSurface::readMultiTriSurface(), timeInterval::write(), rotatingAxis::write(), iBox< intType >::write(), Logical::write(), box::write(), vibrating::write(), sphere::write(), line::write(), cylinder::write(), List< word >::writeList(), multiTriSurface::writeMultiTriSurface(), triSurface::writeTriSurface(), and Vector< word, vecAllocator< word > >::writeVector().
bool fatalCheck | ( | const char * | operation | ) | const |
Definition at line 48 of file IOstream.cpp.
References fatalErrorInFunction, and fatalExit.
Referenced by iEntry< Key, T * >::createEntry(), dataEntry::readDataEntry(), List< word >::readList(), triSurface::readTriSurface(), Vector< word, vecAllocator< word > >::readVector(), IOfileHeader::writeHeader(), and iEntry< Key, T * >::writeKeyword().
|
inline |
Definition at line 138 of file IOstream.hpp.
References IOstream::openClosed_, and IOstream::OPENED.
|
inline |
Definition at line 144 of file IOstream.hpp.
References IOstream::CLOSED, and IOstream::openClosed_.
|
inline |
Definition at line 150 of file IOstream.hpp.
References IOstream::ioState_.
Referenced by Istream::nextValid(), and dictionary::readDictionary().
|
inline |
Definition at line 156 of file IOstream.hpp.
References IOstream::ioState_.
Referenced by pFlow::checkNumberToken(), pFlow::checkWordToken(), iEntry< Key, T * >::createEntry(), stlFile::read(), dictionary::readDictionary(), Field< VectorDual, int8 >::readField(), iEntry< Key, T * >::readKeyword(), Field< VectorDual, int8 >::readNonUniform(), Field< VectorDual, int8 >::readUniform(), and twoPartEntry::twoPartEntry().
|
inline |
Definition at line 162 of file IOstream.hpp.
References IOstream::ioState_.
Referenced by IOstream::operator bool(), and IOstream::operator!().
|
inline |
Definition at line 168 of file IOstream.hpp.
References IOstream::ioState_.
Referenced by pFlow::badInput(), iEntry< Key, T * >::createEntry(), Istream::nextValid(), iIstream::putBack(), dataEntry::readDataEntry(), Field< VectorDual, int8 >::readField(), iEntry< Key, T * >::readKeyword(), Field< VectorDual, int8 >::readNonUniform(), and Field< VectorDual, int8 >::readUniform().
|
inlineexplicit |
Definition at line 174 of file IOstream.hpp.
References IOstream::fail().
|
inline |
Definition at line 180 of file IOstream.hpp.
References IOstream::fail().
|
inline |
Definition at line 187 of file IOstream.hpp.
References IOstream::lineNumber_.
Referenced by box::box(), iEntry< Key, T * >::createEntry(), cylinder::cylinder(), dataEntry::dataEntry(), dictionary::dictionary(), iBox< intType >::iBox(), pFlow::operator<<(), pFlow::operator>>(), property::property(), iIstream::putBack(), Insertion< ShapeType >::read(), timeInterval::read(), rotatingAxis::read(), stlFile::read(), Logical::read(), line::read(), dataEntry::read(), sphereShape::read(), fixedWall::read(), multiRotatingAxisMotion::read(), vibratingMotion::read(), rotatingAxisMotion::read(), dictionary::read(), dataEntry::readDataEntry(), dictionary::readDictionary(), Field< VectorDual, int8 >::readField(), List< word >::readList(), Field< VectorDual, int8 >::readNonUniform(), pointStructure::readPointStructure(), triSurface::readTriSurface(), Field< VectorDual, int8 >::readUniform(), sphere::sphere(), Insertion< ShapeType >::write(), dataEntry::write(), sphereShape::write(), fixedWall::write(), multiRotatingAxisMotion::write(), vibratingMotion::write(), rotatingAxisMotion::write(), dictionary::write(), and pointStructure::writePointStructure().
|
inline |
Definition at line 193 of file IOstream.hpp.
References IOstream::lineNumber_.
Definition at line 200 of file IOstream.hpp.
References IOstream::lineNumber_.
|
pure virtual |
Implemented in oTstream, iTstream, Istream, and Ostream.
Referenced by IOstream::setf(), and IOstream::unsetf().
|
inlinestatic |
Definition at line 211 of file IOstream.hpp.
References IOstream::precision_.
|
inlinestatic |
Definition at line 218 of file IOstream.hpp.
References IOstream::precision_.
|
inline |
Definition at line 226 of file IOstream.hpp.
References IOstream::ioState_.
|
inline |
Definition at line 232 of file IOstream.hpp.
References IOstream::ioState_.
|
inline |
Definition at line 238 of file IOstream.hpp.
References IOstream::ioState_.
Referenced by IOstream::IOstream(), pFlow::operator>>(), and Logical::read().
|
pure virtual |
|
inline |
Definition at line 247 of file IOstream.hpp.
References IOstream::flags().
Referenced by pFlow::dec(), pFlow::fixed(), pFlow::hex(), pFlow::oct(), and pFlow::scientific().
|
inline |
Definition at line 254 of file IOstream.hpp.
References IOstream::flags().
|
inline |
Definition at line 263 of file IOstream.hpp.
References IOstream::flags().
|
static |
Definition at line 59 of file IOstream.hpp.
Referenced by IOstream::defaultPrecision().
|
staticprotected |
Definition at line 64 of file IOstream.hpp.
Referenced by IOstream::name().
|
protected |
Definition at line 66 of file IOstream.hpp.
Referenced by IOstream::closed(), IOstream::opened(), IOstream::setClosed(), and IOstream::setOpened().
|
protected |
Definition at line 68 of file IOstream.hpp.
Referenced by IOstream::bad(), IOstream::eof(), IOstream::fail(), IOstream::good(), IOstream::setBad(), IOstream::setEof(), IOstream::setFail(), IOstream::setGood(), and IOstream::setState().
|
protected |
Definition at line 72 of file IOstream.hpp.
Referenced by IOstream::lineNumber().