Class hierarchy   Compound list   Header files   Member list  

dimeStringRecord Class Reference

The dimeStringRecord class is a container class for string records. More...

#include <StringRecord.h>

Inherits dimeRecord.

Inherited by dimeHexRecord.

List of all members.

Public Members

Protected Members


Detailed Description

The dimeStringRecord class is a container class for string records.


Member Function Documentation

dimeStringRecord::dimeStringRecord(const int group_code)

Constructor.

dimeStringRecord::~dimeStringRecord() [virtual]

Destructor.

dimeRecord* dimeStringRecord::copy(dimeMemHandler * const mh) const [virtual]

Reimplemented from dimeRecord.

void dimeStringRecord::setValue(const dimeParam &param, dimeMemHandler * const memhandler) [virtual]

Reimplemented from dimeRecord.

void dimeStringRecord::getValue(dimeParam &param) const [virtual]

Reimplemented from dimeRecord.

void dimeStringRecord::setStringPointer(char * const s)

Sets the objects string pointer to point to 's'. Be aware that if the destructor is called for this object, the object will attempt to delete the string.

See also:
dimeStringRecord::setString().

bool dimeStringRecord::setString(const char * const s, dimeMemHandler * const memhandler)

Will store a copy of string s. If memhandler != NULL, it will be used to allocate the needed memory. If memhandler == NULL, the memory will be allocated from the heap.

char* dimeStringRecord::getString()

Returns a pointer to the string.

bool dimeStringRecord::isEndOfSectionRecord() const

Reimplemented from dimeRecord.

bool dimeStringRecord::isEndOfFileRecord() const

Reimplemented from dimeRecord.

int dimeStringRecord::typeId() const

Reimplemented from dimeRecord.

Reimplemented in dimeHexRecord.

bool dimeStringRecord::read(dimeInput * const in)

Reimplemented from dimeRecord.

bool dimeStringRecord::write(dimeOutput * const out)

Reimplemented from dimeRecord.


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.