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

corelinux::Concept Class Reference

Concept is an element of a schema and represent the extent of a piece of knowledge or idea. More...

#include <Concept.hpp>

Inheritance diagram for corelinux::Concept:

corelinux::Aggregate corelinux::FrameworkEntity corelinux::Schema 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.


 Concept ( void )
 Default constructor not allowed.

 Concept ( ConceptCref )
 Copy constructor.

virtual ~Concept ( void )
 Virtual Destructor.

bool operator== ( ConceptCref ) const
 Equality operator.

ConceptRef operator= ( ConceptCref )
 Assignment operator.

virtual AttributePtr getAttributeFromKey ( FrameworkEntityPtr ) throw ()
 Given a key, find the value associated with it.

virtual SetCollectionPtr getPropertyKeys ( void ) throw ()
 Extract the keys from the concepts properties.

virtual void addAttribute ( AttributePtr ) throw ()
 Add a new attribute, possibly replacing existing.

virtual void removeAttribute ( AttributePtr ) throw ()
 Remove an existing attribute.

virtual void removeKey ( FrameworkEntityPtr ) throw ()
 Remove an attribute given it's key.

 DECLARE_INSTANCEDATA ( CollectionPtr, Properties )
 A collection for attributes.


Static Public Methods

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

 ConceptPtr ( void )
 1 a new instance of Concept. More...

 void ( ConceptPtr aPointer )
 1 a point of Concept


Detailed Description

Concept is an element of a schema and represent the extent of a piece of knowledge or idea.

Concepts have attributes which define various aspects of the concept. The decision of the type of collection (Array, Set, etc.) is left to the implementation and can assign a collection using the setProperties( CollectionPtr ) method.


Constructor & Destructor Documentation

corelinux::Concept::Concept ( void )
 

Default constructor not allowed.

corelinux::Concept::Concept ( ConceptCref aType )
 

Copy constructor.

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

Virtual Destructor.


Member Function Documentation

corelinux::Concept::ConceptPtr ( void ) [static]
 

1 a new instance of Concept.

Returns:
a pointer to Concept

corelinux::Concept::DECLARE_INSTANCEDATA ( CollectionPtr,
Properties )
 

A collection for attributes.

void corelinux::Concept::addAttribute ( AttributePtr aPtr ) throw () [virtual]
 

Add a new attribute, possibly replacing existing.

AttributePtr corelinux::Concept::getAttributeFromKey ( FrameworkEntityPtr aPtr ) throw () [virtual]
 

Given a key, find the value associated with it.

SetCollectionPtr corelinux::Concept::getPropertyKeys ( void ) throw () [virtual]
 

Extract the keys from the concepts properties.

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

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::Schema.

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

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::Schema.

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

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::Schema.

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

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::Schema.

ConceptRef corelinux::Concept::operator= ( ConceptCref )
 

Assignment operator.

bool corelinux::Concept::operator== ( ConceptCref aConcept ) const
 

Equality operator.

void corelinux::Concept::removeAttribute ( AttributePtr aPtr ) throw () [virtual]
 

Remove an existing attribute.

void corelinux::Concept::removeKey ( FrameworkEntityPtr aPtr ) throw () [virtual]
 

Remove an attribute given it's key.

corelinux::Concept::void ( ConceptPtr aPointer ) [static]
 

1 a point of Concept


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