#include <dime/sections/HeaderSection.h>
Inheritance diagram for dimeHeaderSection::
Public Methods | |
dimeHeaderSection (dimeMemHandler *const memhandler) | |
virtual | ~dimeHeaderSection () |
int | getVariable (const char *const variableName, int *const groupcodes, dimeParam *const params, const int maxparams) const |
int | setVariable (const char *const variableName, const int *const groupcodes, const dimeParam *const params, const int numparams, dimeMemHandler *const memhandler=NULL) |
virtual const char * | getSectionName () const |
virtual dimeSection * | copy (dimeModel *const model) const |
virtual bool | read (dimeInput *const file) |
virtual bool | write (dimeOutput *const file) |
virtual int | typeId () const |
virtual int | countRecords () const |
|
Constructor |
|
Destructor |
|
Returns the number of records in this section. Reimplemented from dimeSection. |
|
Returns a header variable. The variable attributes are copied into the groupcodes and params arrays. No more than maxparams attributes are copied. This method returns the number of attributes copied into the arrays, or -1 if the variable could not be found. |
|
Sets a header variable. If the variable already exists in the header section, its value is overwritten. Otherwise, a new variable is created and appended to the existing variables. |
|
Must be implemented by all subclasses, and should return an unique id for that class. Reimplemented from dimeSection. |