Go to the documentation of this file.
21 template<
class T,
class MemorySpace>
28 bool tokenFound =
true;
35 " error in searching for filedkey " << fieldKey_<<
endl;
39 if( !VectorType::read(is) )
42 "error in reading field data from field "<< this->name()<<
endl;
52 template<
class T,
class MemorySpace>
61 bool tokenFound =
true;
76 " error in searching for filedkey " << fieldKey_<<
endl;
80 if( !VectorType::read(is, iop) )
83 "error in reading field data from field "<< this->name()<<
endl;
93 template<
class T,
class MemorySpace>
104 if(!VectorType::write(os))
return false;
114 template<
class T,
class MemorySpace>
127 if(!VectorType::write(os, iop))
return false;
virtual iOstream & newLine()
Write a newLine to stream.
char readEndStatement(const char *funcName)
End statement character ;.
iOstream & endl(iOstream &os)
Add newline and flush stream.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
virtual bool findTokenResume(const word &w)
search for all tokesn after the current file position and find the first word token tbat matchs w
bool write(iOstream &os) const
Interface class for any input stream
virtual iOstream & endEntry()
Write end entry (';') followed by newline.
bool thisProcReadData() const
bool thisProcWriteData() const
virtual const word & name() const
Return the name of the stream.
#define ioErrorInFile(fileName, lineNumber)
Report an error in file operation with supplied fileName and lineNumber.
int32 lineNumber() const
Const access to the current stream line number.
virtual bool findToken(const word &w)
search for all tokesn and find the first word token tbat matchs w
Interface class for any output stream.
virtual iOstream & writeWordKeyword(const word &kw)
Write the keyword followed by an appropriate indentation.