Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

corelinux::Attribute Class Reference

Attribute is an element of an entity that captures the expression of a property for that entity. More...

#include <Attribute.hpp>

Inheritance diagram for corelinux::Attribute:

corelinux::Aggregate corelinux::FrameworkEntity List of all members.

Public Methods

virtual MetaTypeCptr getType ( void ) const
 get the type. More...

VoidPtr operator new (size_t aSize)
 redefine the operator new[]
  • aSize.
More...


void operator delete (VoidPtr aVoidPtr)
 redefine the operator delete[]
  • aVoidPtr the pointer to delete.


 Attribute ( void )
 Default constructor not allowed.

 Attribute ( AttributeCref )
 Copy constructor.

virtual ~Attribute ( void )
 Virtual Destructor.

bool operator== ( AttributeCref ) const
 Equality operator.

AttributeRef operator= ( AttributeCref )
 Assignment operator.

 _DECLARE_INSTANCEDATA_STATICS (Key)
 Expose the name data member.

 _DECLARE_INSTANCEDATA_STATICS (Value)
FrameworkEntityPtr getKey ( void ) const
const FrameworkEntityPtr& getKeyAsReference ( void ) const
const FrameworkEntityPtr* getKeyAsPointer ( void ) const
void* getKeyAsVoidPtr ( void ) const
FrameworkEntityPtr getValue ( void ) const
const FrameworkEntityPtr& getValueAsReference ( void ) const
const FrameworkEntityPtr* getValueAsPointer ( void ) const
void* getValueAsVoidPtr ( void ) const
void setKey ( const FrameworkEntityPtr & )
void setKeyFromPointer ( FrameworkEntityPtr * )
void setKeyFromVPtr ( VoidPtr )
void setValue ( const FrameworkEntityPtr & )
void setValueFromPointer ( FrameworkEntityPtr * )
void setValueFromVPtr ( VoidPtr )

Static Public Methods

MetaTypeCptr getTypeDescriptor ( void )
 get the type descriptor. More...

 AttributePtr ( void )
 1 a new instance of Attribute. More...

 void ( AttributePtr aPointer )
 1 a point of Attribute


Detailed Description

Attribute is an element of an entity that captures the expression of a property for that entity.

The form of an attribute is generally the same as a Name Value pair (NV)


Constructor & Destructor Documentation

corelinux::Attribute::Attribute ( void )
 

Default constructor not allowed.

corelinux::Attribute::Attribute ( AttributeCref aType )
 

Copy constructor.

corelinux::Attribute::~Attribute ( void ) [virtual]
 

Virtual Destructor.


Member Function Documentation

corelinux::Attribute::AttributePtr ( void ) [static]
 

1 a new instance of Attribute.

Returns:
a pointer to Attribute

corelinux::Attribute::_DECLARE_INSTANCEDATA_STATICS ( Value )
 

corelinux::Attribute::_DECLARE_INSTANCEDATA_STATICS ( Key )
 

Expose the name data member.

FrameworkEntityPtr corelinux::Attribute::getKey ( void ) const
 

const FrameworkEntityPtr * corelinux::Attribute::getKeyAsPointer ( void ) const
 

const FrameworkEntityPtr & corelinux::Attribute::getKeyAsReference ( void ) const
 

void * corelinux::Attribute::getKeyAsVoidPtr ( void ) const
 

MetaTypeCptr corelinux::Attribute::getType ( void ) const [virtual]
 

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

MetaTypeCptr corelinux::Attribute::getTypeDescriptor ( void ) [static]
 

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

FrameworkEntityPtr corelinux::Attribute::getValue ( void ) const
 

const FrameworkEntityPtr * corelinux::Attribute::getValueAsPointer ( void ) const
 

const FrameworkEntityPtr & corelinux::Attribute::getValueAsReference ( void ) const
 

void * corelinux::Attribute::getValueAsVoidPtr ( void ) const
 

void corelinux::Attribute::operator delete ( VoidPtr aVoidPtr )
 

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented from corelinux::Aggregate.

VoidPtr corelinux::Attribute::operator new ( size_t aSize )
 

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::Aggregate.

AttributeRef corelinux::Attribute::operator= ( AttributeCref )
 

Assignment operator.

Reimplemented from corelinux::Aggregate.

bool corelinux::Attribute::operator== ( AttributeCref aAttribute ) const
 

Equality operator.

void corelinux::Attribute::setKey ( const FrameworkEntityPtr & aType )
 

void corelinux::Attribute::setKeyFromPointer ( FrameworkEntityPtr * aType )
 

void corelinux::Attribute::setKeyFromVPtr ( VoidPtr aType )
 

void corelinux::Attribute::setValue ( const FrameworkEntityPtr & aType )
 

void corelinux::Attribute::setValueFromPointer ( FrameworkEntityPtr * aType )
 

void corelinux::Attribute::setValueFromVPtr ( VoidPtr aType )
 

corelinux::Attribute::void ( AttributePtr aPointer ) [static]
 

1 a point of Attribute


The documentation for this class was generated from the following files:
This is the CoreLinux++ Framework reference manual
Provided by The CoreLinux Consortium