Non-persistent reference to an instance of a Layout.
More...
#include <WeakRecordSB.h>
|
| WeakRecordSB (I32 ignored=0) |
|
| WeakRecordSB (const RecordSB &other) |
|
| WeakRecordSB (const WeakRecordSB &other) |
|
| operator RecordSB (void) |
|
WeakRecordSB & | operator= (const WeakRecordSB &other) |
|
bool | operator== (const WeakRecordSB &other) const |
|
bool | operator!= (const WeakRecordSB &other) const |
|
bool | isValid (void) const |
| Return true if the record points to the original valid state block. More...
|
|
void | set (void *datablock) |
| Set the state block. More...
|
|
FE_UWORD | idr (void) const |
| Return the state block. More...
|
|
const sp< LayoutSB > & | layout (void) const |
| Return the Layout. More...
|
|
void | demandSerialNumber (void) const |
| throw if the record doesn't have a serial number More...
|
|
template<class T > |
T & | accessAttribute (FE_UWORD aLocator) const |
|
void * | rawAttribute (FE_UWORD aLocator) const |
|
|
void * | data (void) const |
|
LayoutSB * | rawLayout (void) const |
| Return a raw pointer to the Layout. More...
|
|
void | cacheSerialNumber (void) |
|
I32 | readSerialNumber (void) const |
|
|
sp< LayoutSB > | m_spLayout |
|
void * | m_pStateBlock |
|
I32 | m_serialNumber |
|
U32 | m_serialOffset |
|
Non-persistent reference to an instance of a Layout.
◆ demandSerialNumber()
void fe::WeakRecordSB::demandSerialNumber |
( |
void |
| ) |
const |
throw if the record doesn't have a serial number
References isValid().
◆ idr()
FE_UWORD fe::WeakRecordSB::idr |
( |
void |
| ) |
const |
|
inline |
◆ isValid()
bool fe::WeakRecordSB::isValid |
( |
void |
| ) |
const |
|
inline |
Return true if the record points to the original valid state block.
A record without the ":SN" field can never be confirmed as valid. You may be able access it if you are sure it still exists by other means.
Referenced by demandSerialNumber().
◆ layout()
const sp< LayoutSB > & fe::WeakRecordSB::layout |
( |
void |
| ) |
const |
|
inline |
◆ rawLayout()
LayoutSB * fe::WeakRecordSB::rawLayout |
( |
void |
| ) |
const |
|
inlineprivate |
Return a raw pointer to the Layout.
Mainly intended for Accessor for speed.
◆ set()
void fe::WeakRecordSB::set |
( |
void * |
datablock | ) |
|
|
inline |
The documentation for this class was generated from the following files: