kpilot/lib
PilotRecord Class Reference
#include <pilotRecord.h>
Inheritance diagram for PilotRecord:

Detailed Description
An "uninterpreted" representation of the bits comprising a HH record.This binary blob only exposes the data via the data() and size() functions, and also exposes the common characteristics of all entries.
Definition at line 237 of file pilotRecord.h.
Public Member Functions | |
PilotRecord (void *data, int length, int attrib, int cat, recordid_t uid) KDE_DEPRECATED | |
PilotRecord (pi_buffer_t *buf, int attrib, int cat, recordid_t uid) | |
PilotRecord (pi_buffer_t *buf, const PilotRecordBase *entry) | |
virtual | ~PilotRecord () |
PilotRecord (PilotRecord *orig) | |
char * | data () const |
int | size () const |
const pi_buffer_t * | buffer () const |
void | setData (pi_buffer_t *b) |
PilotRecord & | operator= (PilotRecord &orig) |
void | setData (const char *data, int len) |
virtual QString | textRepresentation () const |
Static Public Member Functions | |
static void | allocationInfo () |
Constructor & Destructor Documentation
|
Constructor.
Using the given This constructor makes a copy of the data buffer (and owns that buffer). Definition at line 74 of file pilotRecord.cc. |
|
Constructor.
Using the given buffer Definition at line 254 of file pilotRecord.h. |
|
Constructor.
Like the above, only take the attributes, category and id from the given Definition at line 266 of file pilotRecord.h. |
|
Destructor. Dispose of the buffers in the right form. Definition at line 276 of file pilotRecord.h. |
|
Constructor.
Copies the data from the Definition at line 88 of file pilotRecord.cc. |
Member Function Documentation
|
This is an interface for tracking down memory leaks in the use of PilotRecords (for those without valgrind). Count the number of allocations and deallocations. Definition at line 66 of file pilotRecord.cc. |
|
Returns the data buffer associated with this record.
Definition at line 318 of file pilotRecord.h. |
|
Retrieve the data buffer for this record. Note that trying to change this data is fraught with peril -- especially trying to lengthen it.
Definition at line 298 of file pilotRecord.h. |
|
Assignment operator.
Makes a copy of the Definition at line 100 of file pilotRecord.cc. |
|
Sets the data for this record. Makes a copy of the data buffer. Definition at line 122 of file pilotRecord.cc. |
|
Set the data for this record.
Frees old data. Assumes ownership of the passed in buffer Definition at line 323 of file pilotRecord.h. |
|
Returns the size of the data for this record.
Definition at line 311 of file pilotRecord.h. |
|
Returns a text representation of this record.
Definition at line 54 of file pilotRecord.cc. |
The documentation for this class was generated from the following files: