Go to the documentation of this file.
21 template<
template<
class,
class>
class VectorField,
class T,
class PropType>
37 "expected integer value to specify field length \n";
51 VectorType::assign(flen, bF);
60 template<
template<
class,
class>
class VectorField,
class T,
class PropType>
74 " expected integer value to specify field length \n";
78 if( len!=0 && flen != len )
81 " expected "<< len <<
" as the field length but found "<< flen <<
" \n";
90 if( this->size() != flen )
93 " expected " << flen <<
" elements, but supplied "<<
94 this->size() <<
" elements in file "<< is.
name() <<
endl;
102 template<
template<
class,
class>
class VectorField,
class T,
class PropType>
113 " error in searching for filedkey " << fieldKey_<<
endl;
124 " error in reading keyword from file.";
131 return readUniform(is, len, readLength);
137 return readNonUniform(is, len);
143 "unknown keyword, expected uniform/nonUniform, but found " <<
152 template<
template<
class,
class>
class VectorField,
class T,
class PropType>
158 return readField(is, 0,
true);
162 template<
template<
class,
class>
class VectorField,
class T,
class PropType>
166 os<< this->size()<<
endl;
167 VectorType::write(os);
char readEndStatement(const char *funcName)
iOstream & endl(iOstream &os)
const char * nonUniform__
bool readNonUniform(iIstream &is, size_t len)
virtual iOstream & endEntry()
virtual const word & name() const
bool readField(iIstream &is, const size_t len, bool readLength=true)
bool readUniform(iIstream &is, size_t len, bool readLength=true)
#define ioErrorInFile(fileName, lineNumber)
virtual bool findToken(const word &w)
bool writeField(iOstream &os) const
virtual iOstream & writeWordKeyword(const word &kw)