#include <dime/records/StringRecord.h>
Inheritance diagram for dimeStringRecord::

Public Methods | |
| dimeStringRecord (const int group_code=0) | |
| virtual | ~dimeStringRecord () |
| virtual dimeRecord * | copy (dimeMemHandler *const mh) const |
| virtual void | setValue (const dimeParam ¶m, dimeMemHandler *const memhandler=NULL) |
| virtual void | getValue (dimeParam ¶m) const |
| void | setStringPointer (char *const s) |
| bool | setString (const char *const s, dimeMemHandler *const memhandler=NULL) |
| char * | getString () |
| bool | isEndOfSectionRecord () const |
| bool | isEndOfFileRecord () const |
| int | typeId () const |
| bool | read (dimeInput *const in) |
| bool | write (dimeOutput *const out) |
Protected Attributes | |
| char * | string |
|
|
Constructor. |
|
|
Destructor. |
|
|
Returns a copy of this record. Reimplemented from dimeRecord. |
|
|
Returns a pointer to the string. |
|
|
Returns the value of this record. Reimplemented from dimeRecord. |
|
|
Returns true if this records is an end of file record. Reimplemented from dimeRecord. |
|
|
Returns true if this record is an end of section record. Reimplemented from dimeRecord. |
|
|
This function will read the record from the dimeInput file. Reimplemented from dimeRecord. |
|
||||||||||||
|
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. |
|
|
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.
|
|
||||||||||||
|
Sets the value of this record. The memory handler is needed by dimeStringRecord. Reimplemented from dimeRecord. |
|
|
This virtual function will return the type of the record. Reimplemented from dimeRecord. Reimplemented in dimeHexRecord. |
|
|
This function will write the record to the dimeOutput file. Reimplemented from dimeRecord. |