Go to the documentation of this file.
31 if( checkEndStatement )
57 if( !findKeywordAndVal(keyword, val) )
60 " error in finding keyword "<< keyword <<
" and value next to it.";
72 if(!findKeywordAndVal(keyword, val))
86 if( !eof() && good() )
98 " expected word token.";
104 " expected keyword "<< keyword <<
" but found "<<next.
wordToken()<<
endl;
116 " expected ; but found "<< next<<
endl;
135 <<
"Bad token - could not get word/string value";
152 <<
"Wrong token type - expected word/string value, found "
170 <<
"Bad token - could not get int64 value";
183 <<
"Wrong token type - expected int64 value, found "
199 val =
static_cast<int32>(lval);
207 val =
static_cast<int16>(lval);
215 val =
static_cast<int8>(lval);
223 val =
static_cast<label>(lval);
231 val =
static_cast<uint32>(lval);
239 val =
static_cast<uint16>(lval);
251 <<
"Bad token - could not get float value";
264 <<
"Wrong token type - expected float value, found "
281 <<
"Bad token - could not get double value";
294 <<
"Wrong token type - expected double value, found "
T lookupDataOrSet(const word &keyword, const T &setVal)
const word & stringToken() const
iOstream & endl(iOstream &os)
bool findKeywordAndVal(const word &keyword, T &val, bool checkEndStatement=true)
virtual bool check(const char *operation) const
unsigned short int uint16
bool nextData(const word &keyword, T &data)
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
virtual const word & name() const
T lookupData(const word &keyword)
#define ioErrorInFile(fileName, lineNumber)
virtual bool findToken(const word &w)
bool isEndStatement() const
const word & wordToken() const