Classes | Public Types | Public Member Functions | Private Attributes
Poco::Manifest< B > Class Template Reference

#include <Manifest.h>

Inheritance diagram for Poco::Manifest< B >:
Inheritance graph
[legend]

List of all members.

Classes

class  Iterator
 The Manifest's very own iterator class. More...

Public Types

typedef AbstractMetaObject< B > Meta
typedef std::map< std::string,
const Meta * > 
MetaMap

Public Member Functions

Iterator begin () const
const char * className () const
void clear ()
 Removes all MetaObjects from the manifest.
bool empty () const
 Returns true iff the Manifest does not contain any MetaObjects.
Iterator end () const
Iterator find (const std::string &className) const
bool insert (const Meta *pMeta)
 Manifest ()
 Creates an empty Manifest.
int size () const
 Returns the number of MetaObjects in the Manifest.
virtual ~Manifest ()
 Destroys the Manifest.

Private Attributes

MetaMap _metaMap

Detailed Description

template<class B>
class Poco::Manifest< B >

A Manifest maintains a list of all classes contained in a dynamically loadable class library. Internally, the information is held in a map. An iterator is provided to iterate over all the classes in a Manifest.

Definition at line 66 of file Manifest.h.


Member Typedef Documentation

template<class B>
typedef AbstractMetaObject<B> Poco::Manifest< B >::Meta

Definition at line 75 of file Manifest.h.

template<class B>
typedef std::map<std::string, const Meta*> Poco::Manifest< B >::MetaMap

Definition at line 76 of file Manifest.h.


Constructor & Destructor Documentation

template<class B>
Poco::Manifest< B >::Manifest ( ) [inline]

Creates an empty Manifest.

Definition at line 130 of file Manifest.h.

template<class B>
virtual Poco::Manifest< B >::~Manifest ( ) [inline, virtual]

Destroys the Manifest.

Definition at line 135 of file Manifest.h.


Member Function Documentation

template<class B>
Iterator Poco::Manifest< B >::begin ( ) const [inline]

Definition at line 149 of file Manifest.h.

template<class B>
const char* Poco::Manifest< B >::className ( ) const [inline, virtual]

Implements Poco::ManifestBase.

Definition at line 189 of file Manifest.h.

template<class B>
void Poco::Manifest< B >::clear ( ) [inline]

Removes all MetaObjects from the manifest.

Definition at line 167 of file Manifest.h.

template<class B>
bool Poco::Manifest< B >::empty ( ) const [inline]

Returns true iff the Manifest does not contain any MetaObjects.

Definition at line 183 of file Manifest.h.

template<class B>
Iterator Poco::Manifest< B >::end ( ) const [inline]

Definition at line 154 of file Manifest.h.

template<class B>
Iterator Poco::Manifest< B >::find ( const std::string &  className) const [inline]

Returns an iterator pointing to the MetaObject for the given class. If the MetaObject cannot be found, the iterator points to end().

Definition at line 141 of file Manifest.h.

template<class B>
bool Poco::Manifest< B >::insert ( const Meta pMeta) [inline]

Inserts a MetaObject. Returns true if insertion was successful, false if a class with the same name already exists.

Definition at line 159 of file Manifest.h.

template<class B>
int Poco::Manifest< B >::size ( ) const [inline]

Returns the number of MetaObjects in the Manifest.

Definition at line 177 of file Manifest.h.


Member Data Documentation

template<class B>
MetaMap Poco::Manifest< B >::_metaMap [private]

Definition at line 195 of file Manifest.h.


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


pluginlib
Author(s): Tully Foote and Eitan Marder-Eppstein
autogenerated on Sat Dec 28 2013 17:20:20