|
Go to the documentation of this file.
60 return dynamic_cast<const Integer* >(pOther);
77 std::string label=rLabel;
78 std::string ftype= "Integer";
79 if(label== "") label=ftype;
83 FD_DRTI( "Integer::DoWrite(): file " << rTw. FileName() << " section " << label);
91 std::string label = rLabel;
92 if(label == "") label = "Integer";
93 FD_DRTI( "Integer()::DoRead(): file " << rTr. FileName() << " section " << label);
97 FD_DRTI( "Integer::DoRead(): done");
109 for( unsigned int i=0; i< intvect. Size(); i++)
150 return dynamic_cast<const String* >(pOther);
172 std::string label=rLabel;
173 std::string ftype= "String";
174 if(label== "") label=ftype;
178 FD_DRTI( "String::DoWrite(): file " << rTw. FileName() << " section " << label);
180 std::string escstr= "<>&\n\r\v";
181 if( mCString.find_first_of(escstr)==std::string::npos) {
195 std::string label = rLabel;
196 if(label == "") label = "String";
197 FD_DRTI( "String::DoRead(): file " << rTr. FileName() << " section " << label);
200 FD_DRTI( "String::DoRead(): done");
239 return dynamic_cast<const Boolean* >(pOther);
260 std::string label=rLabel;
261 std::string ftype= "Boolean";
262 if(label== "") label=ftype;
266 FD_DRTI( "String::DoWrite(): file " << rTw. FileName() << " section " << label);
277 std::string label = rLabel;
278 if(label == "") label = "Boolean";
279 FD_DRTI( "Boolean::DoRead(): file " << rTr. FileName() << " section " << label);
282 std::transform(value.begin(), value.end(), value.begin(), tolower);
283 if(value== "true") mCBool= true;
284 else if(value== "false") mCBool= false;
286 std::stringstream err;
287 err << "Expected true or false: " << rTr. FileLine();
288 throw Exception( "Boolean::DoRead()", err.str(), 52);
291 FD_DRTI( "Boolean::DoRead(): done");
libFAUDES 2.28a
--- 2016.09.13
--- c++ api documentaion by doxygen
|