Free Electron
|
An attribute within a Layout (record type) More...
#include <Attribute.h>
Public Member Functions | |
Attribute (const Attribute &other) | |
Attribute & | operator= (const Attribute &other) |
const sp< BaseType > & | type (void) const |
Get the BaseType for this Attribute. More... | |
const sp< TypeMaster > & | typeMaster (void) const |
Get the TypeMaster for the BaseType for this Attribute. More... | |
const String & | name (void) const |
Get the name of this Attribute. More... | |
const String | verboseName (void) const |
Get the long name of this Attribute. More... | |
bool | isSerialize (void) |
Return true if attribute should be serialized. More... | |
void | setSerialize (bool set) |
Set whether or not attribute should be serialized. More... | |
bool | isCloneable (void) |
Return true if attribute should be cloned. More... | |
void | setCloneable (bool set) |
Set whether or not attribute should be cloned. More... | |
Instance & | defaultInstance (void) |
Instance & | deadInstance (void) |
void | peek (Peeker &peeker) |
Public Member Functions inherited from fe::Counted | |
virtual void | acquire (void) |
Increment the reference count. More... | |
virtual void | acquire (int &rCount) |
Increment the reference count (and get the count) More... | |
virtual void | release (void) |
Decrement the reference count. More... | |
virtual void | abandon (void) |
Decrement the reference count. More... | |
int | count (void) const |
Return the count of references. More... | |
void | setName (const String &) |
void | trackReference (void *pReference, String what) |
void | untrackReference (void *pReference) |
void | registerRegion (void *pT, U32 bytes) |
Private Member Functions | |
Attribute (const String name, sp< BaseType > type, sp< TypeMaster > spTM) | |
Private Attributes | |
String | m_name |
sp< BaseType > | m_spType |
sp< TypeMaster > | m_spTypeMaster |
bool | m_serialize |
bool | m_cloneable |
Instance | m_default |
Instance | m_dead |
Friends | |
class | Scope |
Additional Inherited Members | |
Static Public Member Functions inherited from fe::Counted | |
static String | reportTracker (void) |
static U32 | trackerCount (void) |
Protected Member Functions inherited from fe::Counted | |
int | releaseInternal (void) |
Decrement the reference count. More... | |
void | suppressReport (void) |
An attribute within a Layout (record type)
bool fe::Attribute::isCloneable | ( | void | ) |
Return true if attribute should be cloned.
bool fe::Attribute::isSerialize | ( | void | ) |
Return true if attribute should be serialized.
void fe::Attribute::setCloneable | ( | bool | set | ) |
Set whether or not attribute should be cloned.
void fe::Attribute::setSerialize | ( | bool | set | ) |
Set whether or not attribute should be serialized.
|
inline |
Get the TypeMaster for the BaseType for this Attribute.