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 156 of file pilotRecord.h.
Public Types | |
enum | { APP_BUFFER_SIZE = 0xffff } |
Public Member Functions | |
PilotRecord (void *data, int length, int attrib, int cat, recordid_t uid) | |
~PilotRecord () | |
PilotRecord (PilotRecord *orig) | |
char * | data () const |
char *KDE_DEPRECATED | getData () const |
int | size () const |
int KDE_DEPRECATED | getLen () const |
PilotRecord & | operator= (PilotRecord &orig) |
void | setData (const char *data, int len) |
Static Public Member Functions | |
static void | allocationInfo () |
Member Enumeration Documentation
|
A constant, really left over from PalmOS 4 days, when records could be 64k in size at most. It is used in various places to dimension buffers, but should be considered deprecated. Definition at line 241 of file pilotRecord.h. |
Constructor & Destructor Documentation
|
Constructor.
Using the given This constructor makes a copy of the data buffer (and owns that buffer). Definition at line 68 of file pilotRecord.cc. |
|
Destructor. Dispose of the buffers in the right form. Definition at line 183 of file pilotRecord.h. |
|
Constructor.
Copies the data from the Definition at line 86 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 58 of file pilotRecord.cc. |
|
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 201 of file pilotRecord.h. |
|
Assignment operator.
Makes a copy of the Definition at line 101 of file pilotRecord.cc. |
|
Sets the data for this record. Makes a copy of the data buffer. Definition at line 125 of file pilotRecord.cc. |
|
Returns the size of the data for this record.
Definition at line 211 of file pilotRecord.h. |
The documentation for this class was generated from the following files: