#include <dime/records/StringRecord.h>
Inheritance diagram for dimeStringRecord:
Public Member Functions | |
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. Implements dimeRecord. |
|
Returns a pointer to the string. |
|
Returns the value of this record. Implements 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. Implements 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. Implements dimeRecord. |
|
This virtual function will return the type of the record. Implements dimeRecord. Reimplemented in dimeHexRecord. |
|
This function will write the record to the dimeOutput file. Reimplemented from dimeRecord. |