Free Electron
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
fe::Attribute Class Reference

An attribute within a Layout (record type) More...

#include <Attribute.h>

Inheritance diagram for fe::Attribute:
Inheritance graph
[legend]

Public Member Functions

 Attribute (const Attribute &other)
 
Attributeoperator= (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 Stringname (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...
 
InstancedefaultInstance (void)
 
InstancedeadInstance (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< BaseTypem_spType
 
sp< TypeMasterm_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)
 

Detailed Description

An attribute within a Layout (record type)

Member Function Documentation

◆ isCloneable()

bool fe::Attribute::isCloneable ( void  )

Return true if attribute should be cloned.

◆ isSerialize()

bool fe::Attribute::isSerialize ( void  )

Return true if attribute should be serialized.

◆ name()

const String & fe::Attribute::name ( void  ) const
inline

Get the name of this Attribute.

◆ setCloneable()

void fe::Attribute::setCloneable ( bool  set)

Set whether or not attribute should be cloned.

◆ setSerialize()

void fe::Attribute::setSerialize ( bool  set)

Set whether or not attribute should be serialized.

◆ type()

const sp< BaseType > & fe::Attribute::type ( void  ) const
inline

Get the BaseType for this Attribute.

◆ typeMaster()

const sp< TypeMaster > & fe::Attribute::typeMaster ( void  ) const
inline

Get the TypeMaster for the BaseType for this Attribute.

◆ verboseName()

const String fe::Attribute::verboseName ( void  ) const
inline

Get the long name of this Attribute.


The documentation for this class was generated from the following files: