Library: Foundation
Package: SharedLibrary
Header: Poco/Manifest.h
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.
Direct Base Classes: ManifestBase
All Base Classes: ManifestBase
Member Functions: begin, className, clear, empty, end, find, insert, size
Inherited Functions: className
 The Manifest's very own iterator class.  
 
typedef AbstractMetaObject < B > Meta;
typedef std::map < std::string, const Meta * > MetaMap;
 
 Manifest();
Creates an empty Manifest.
 
   
 virtual ~Manifest();
Destroys the Manifest.
 
 Iterator begin() const;
 
   
 const char * className() const;
See also: Poco::ManifestBase::className()
 
 void clear();
Removes all MetaObjects from the manifest.
 
 bool empty() const;
Returns true if and only if the Manifest does not contain any MetaObjects.
 
 Iterator end() const;
 
 Iterator find(
    const std::string & className
) const;
Returns an iterator pointing to the MetaObject for the given class. If the MetaObject cannot be found, the iterator points to end().
 
 bool insert(
    const Meta * pMeta
);
Inserts a MetaObject. Returns true if insertion was successful, false if a class with the same name already exists.
 
 int size() const;
Returns the number of MetaObjects in the Manifest.