Free Electron
|
Non-persistent reference to an instance of a Layout. More...
#include <WeakRecordAV.h>
Public Member Functions | |
WeakRecordAV (I32 ignored=0) | |
WeakRecordAV (const RecordAV &other) | |
WeakRecordAV (const WeakRecordAV &other) | |
operator RecordAV (void) | |
WeakRecordAV & | operator= (const WeakRecordAV &other) |
bool | operator== (const WeakRecordAV &other) const |
bool | operator!= (const WeakRecordAV &other) const |
bool | isValid (void) const |
Return true if the record points to the original valid state block. More... | |
FE_UWORD | idr (void) const |
const sp< LayoutAV > & | 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 |
Private Member Functions | |
LayoutAV * | rawLayout (void) const |
Return a raw pointer to the Layout. More... | |
void | set (FE_UWORD aArrayIndex, sp< LayoutAV > &aLayout) |
void | cacheSerialNumber (void) |
I32 | readSerialNumber (void) const |
Private Attributes | |
sp< LayoutAV > | m_hpLayout |
FE_UWORD | m_arrayIndex |
I32 | m_serialNumber |
U32 | m_serialLocator |
Friends | |
class | Scope |
class | RecordArrayAV |
Non-persistent reference to an instance of a Layout.
void fe::WeakRecordAV::demandSerialNumber | ( | void | ) | const |
throw if the record doesn't have a serial number
References isValid().
|
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().
|
inlineprivate |
Return a raw pointer to the Layout.
Mainly intended for Accessor for speed.