int number
Component number.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
virtual const char * giveInputRecordName() const =0
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual int read(int *data, int count)=0
Reads count integer values into array pointed by data.
virtual int write(const int *data, int count)=0
Writes count integer values from array pointed by data.
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual const char * giveClassName() const =0
std::string errorInfo(const char *func) const
Returns string for prepending output (used by error reporting macros).
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
the oofem namespace is to define a context or scope in which all oofem names are defined.