#include <Record.h>
Public Member Functions | |
| Record (uint recordSize) | |
| Constructor for record class. | |
| ~Record () | |
| Destructor for record class. | |
| char * | getData () |
| Get the data buffer for this record. | |
| void | setRid (RecordID *rid) |
| Set the record id for this record. | |
| void | getRid (RecordID *rid) |
| Get the record id for this record. | |
| uint | getRecordSize () |
| Get the size in bytes of the buffer for this record. | |
| Record::Record | ( | uint | recordSize | ) |
Constructor for record class.
| recordSize | The size in bytes of the buffer for this record |
| Record::~Record | ( | ) |
Destructor for record class.
Deletes the buffer
| char * Record::getData | ( | ) |
Get the data buffer for this record.
Returns a pointer to the data buffer for this record. The buffer should not be deleted by the caller.
| void Record::setRid | ( | RecordID * | rid | ) |
Set the record id for this record.
| rid | The record id to copy into this record |
| void Record::getRid | ( | RecordID * | rid | ) |
Get the record id for this record.
| rid | Structure in which to copy this record's id |
1.5.6