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

corelinux::Catalog Class Reference

A Catalog represents a view over like type entities in a particular domain. More...

#include <Catalog.hpp>

Inheritance diagram for corelinux::Catalog:

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


 Catalog ( void )
 Default constructor not allowed.

 Catalog ( CatalogCref )
 Copy constructor.

virtual ~Catalog ( void )
 Virtual Destructor.

bool operator== ( CatalogCref ) const
 Equality operator.

CatalogRef operator= ( CatalogCref )
 Assignment operator.

virtual Counter getCount ( void ) const = 0
 Retrieve the count of catalog elements.

virtual FrameworkEntityPtr getEntry ( CollectionPtr ) const = 0
 Interface to retrieve an entry based on attributes provided in the collection. More...

virtual void createEntry ( CollectionPtr ) = 0
 Interface to create a new entry in the catalog. More...

virtual void deleteEntry ( CollectionPtr ) = 0
 Interface to delete an entry in the catalog. More...

virtual Iterator<FrameworkEntityPtr>* createCatalogIterator ( void ) = 0
 Create an iterator over the catalog entries as defined by the catalog type. More...

virtual void destroyIterator ( Iterator<FrameworkEntityPtr> * ) = 0
 Destroy the iterator over the catalog entries.


Static Public Methods

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

 CatalogPtr ( void )
 1 a new instance of Catalog. More...

 void ( CatalogPtr aPointer )
 1 a point of Catalog


Detailed Description

A Catalog represents a view over like type entities in a particular domain.


Constructor & Destructor Documentation

corelinux::Catalog::Catalog ( void )
 

Default constructor not allowed.

corelinux::Catalog::Catalog ( CatalogCref aType )
 

Copy constructor.

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

Virtual Destructor.


Member Function Documentation

corelinux::Catalog::CatalogPtr ( void ) [static]
 

1 a new instance of Catalog.

Returns:
a pointer to Catalog

Iterator< FrameworkEntityPtr >* corelinux::Catalog::createCatalogIterator ( void ) [pure virtual]
 

Create an iterator over the catalog entries as defined by the catalog type.

Returns:
Iterator pointer to FrameworkEntity pointers

Reimplemented in corelinux::SchemaCatalog.

void corelinux::Catalog::createEntry ( CollectionPtr aCollection ) [pure virtual]
 

Interface to create a new entry in the catalog.

A Collection of attributes specific to the domain of the catalog provides the information

Parameters:
corelinux::Collection   a collection of corelinux::Attribute

Reimplemented in corelinux::SchemaCatalog.

void corelinux::Catalog::deleteEntry ( CollectionPtr aCollection ) [pure virtual]
 

Interface to delete an entry in the catalog.

A Collection of attributes specific to the domain of the catalog provides the information

Parameters:
corelinux::Collection   a collection of corelinux::Attribute

Reimplemented in corelinux::SchemaCatalog.

void corelinux::Catalog::destroyIterator ( Iterator< FrameworkEntityPtr >* aPtr ) [pure virtual]
 

Destroy the iterator over the catalog entries.

Reimplemented in corelinux::SchemaCatalog.

Counter corelinux::Catalog::getCount ( void ) const [pure virtual]
 

Retrieve the count of catalog elements.

Reimplemented in corelinux::SchemaCatalog.

FrameworkEntityPtr corelinux::Catalog::getEntry ( CollectionPtr aCollection ) const [pure virtual]
 

Interface to retrieve an entry based on attributes provided in the collection.

Parameters:
corelinux::Collection   a collection of corelinux::Attribute

Reimplemented in corelinux::SchemaCatalog.

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

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::SchemaCatalog, and corelinux::StoreCatalog.

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

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::SchemaCatalog, and corelinux::StoreCatalog.

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

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::SchemaCatalog, and corelinux::StoreCatalog.

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

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::Aggregate.

Reimplemented in corelinux::SchemaCatalog, and corelinux::StoreCatalog.

CatalogRef corelinux::Catalog::operator= ( CatalogCref )
 

Assignment operator.

bool corelinux::Catalog::operator== ( CatalogCref aCatalog ) const
 

Equality operator.

corelinux::Catalog::void ( CatalogPtr aPointer ) [static]
 

1 a point of Catalog


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