|
plptools
|
A class, representing the UIDs of a file on the Psion. More...
#include <plpdirent.h>
Public Member Functions | |
| PlpUID () | |
| Default constructor. More... | |
| PlpUID (const uint32_t u1, const uint32_t u2, const uint32_t u3) | |
| Constructor. More... | |
| uint32_t | operator[] (int idx) |
| Retrieve a UID value. More... | |
Private Attributes | |
| long | uid [3] |
Friends | |
| bool | operator< (const PlpUID &u1, const PlpUID &u2) |
A class, representing the UIDs of a file on the Psion.
Every File on the Psion has a unique UID for determining the application-mapping. This class stores these UIDs. An object of this class is contained in every PlpDirent object.
Definition at line 39 of file plpdirent.h.
| PlpUID::PlpUID | ( | ) |
Default constructor.
Definition at line 28 of file plpdirent.cc.
| PlpUID::PlpUID | ( | const uint32_t | u1, |
| const uint32_t | u2, | ||
| const uint32_t | u3 | ||
| ) |
Constructor.
Create an instance, presetting all thre uid values.
Definition at line 32 of file plpdirent.cc.
| uint32_t PlpUID::operator[] | ( | int | idx | ) |
Retrieve a UID value.
| idx | The index of the desired UID. Range must be (0..2), otherwise an assertion is triggered. |
Definition at line 36 of file plpdirent.cc.
Definition at line 66 of file plpdirent.h.
|
private |
Definition at line 63 of file plpdirent.h.