35 #ifndef dynamicdatareader_h 36 #define dynamicdatareader_h 58 std :: vector< std :: unique_ptr< InputRecord > > :: iterator
it;
60 std :: vector< std :: unique_ptr< InputRecord > >
recordList;
81 void setOutputFileName(
const std :: string &outputFileName) { this->outputFileName = outputFileName; }
85 void setDescription(
const std :: string &description) { this->description = description; }
88 virtual bool peakNext(
const std :: string &keyword);
89 virtual void finish();
96 void writeToFile(
const char *fileName);
99 #endif // dynamicdatareader_h Class representing the implementation of a dynamic data reader for in-code use.
std::vector< std::unique_ptr< InputRecord > > recordList
All record types will be appended to this list, no split in terms of InputRecordType is implemented y...
virtual std::string giveReferenceName() const
Gives the reference file name (e.g. file name)
Class representing the abstraction for input data source.
std::vector< std::unique_ptr< InputRecord > >::iterator it
Keeps track of the current position in the list.
InputRecordType
Determines the type of input record.
the oofem namespace is to define a context or scope in which all oofem names are defined.
void setOutputFileName(const std::string &outputFileName)
Sets the output file name.
void setDescription(const std::string &description)
Sets the description line.