Class hierarchy   Compound list   Header files   Member list  

dimeHeaderSection Class Reference

The dimeHeaderSection class handles the HEADER section. More...

#include <HeaderSection.h>

Inherits dimeSection.

List of all members.

Public Members


Detailed Description

The dimeHeaderSection class handles the HEADER section.


Member Function Documentation

dimeHeaderSection::dimeHeaderSection(dimeMemHandler * const memhandler)

Constructor

dimeHeaderSection::~dimeHeaderSection() [virtual]

Destructor

int dimeHeaderSection::getVariable(const char * const variableName, int * const groupcodes, dimeParam * const params, const int maxparams) const

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.

int dimeHeaderSection::setVariable(const char * const variableName, const int * const groupcodes, const dimeParam * const params, const int numparams, dimeMemHandler * const memhandler)

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.

const char* dimeHeaderSection::getSectionName() const [virtual]

Reimplemented from dimeSection.

dimeSection* dimeHeaderSection::copy(dimeModel * const model) const [virtual]

Reimplemented from dimeSection.

bool dimeHeaderSection::read(dimeInput * const file) [virtual]

Reimplemented from dimeSection.

bool dimeHeaderSection::write(dimeOutput * const file) [virtual]

Reimplemented from dimeSection.

int dimeHeaderSection::typeId() const [virtual]

Reimplemented from dimeSection.

int dimeHeaderSection::countRecords() const [virtual]

Reimplemented from dimeSection.


The documentation for this class was generated from the following files:
Copyright © 1998-1999, Systems In Motion <sales@sim.no>. All rights reserved.
System documentation was generated using doxygen.