Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SOME::LibCatalog Class Reference

SOME::LibCatalog encapsulates the information about a plugin library. More...

#include <SOMELibCatalog.h>

List of all members.

Public Types

typedef std::vector< ClassCatalogClassContainer

Public Methods

 LibCatalog (BasicDynLib*)
 ~LibCatalog ()
const std::string& getPath () const
void setLibTitle (const std::string&)
void setVersion (const std::string&)
SOME::ClassCatalogaddClassCatalog (const std::string& classname, const std::string& category, ClassCatalog::ConstructFunc def = NULL, ClassCatalog::ConstructFunc one = NULL, ClassCatalog::ConstructFunc two = NULL)
bool hasSingleClass ()
bool hasClass (const std::string&)
const ClassCataloggetClass (const std::string&)
ClassContainer getCategory (const std::string&)
ClassContainer getByCategory (const std::string& key, const std::string& value)
std::set< std::string > enumCategory ( const std::string& key )
std::set< std::string > enumCategory ( const std::string& key, std::map < std::string, std::string > &catmap )
ClassContainer getByCategory ( std::map < std::string, std::string > &keys )


Detailed Description

SOME::LibCatalog encapsulates the information about a plugin library.

The user will only manipulate this class is the library to add classes to it.

Definition at line 40 of file SOMELibCatalog.h.


Member Typedef Documentation

typedef std::vector< ClassCatalog > SOME::LibCatalog::ClassContainer
 

Definition at line 65 of file SOMELibCatalog.h.


Constructor & Destructor Documentation

SOME::LibCatalog::LibCatalog ( SOME::BasicDynLib * l )
 

Definition at line 28 of file SOMELibCatalog.cpp.

SOME::LibCatalog::~LibCatalog ( )
 

Definition at line 37 of file SOMELibCatalog.cpp.


Member Function Documentation

SOME::ClassCatalog * SOME::LibCatalog::addClassCatalog ( const std::string & classname,
const std::string & category,
ClassCatalog::ConstructFunc def = NULL,
ClassCatalog::ConstructFunc one = NULL,
ClassCatalog::ConstructFunc two = NULL )
 

Definition at line 59 of file SOMELibCatalog.cpp.

std::set< std::string > SOME::LibCatalog::enumCategory ( const std::string & key,
std::map< std::string,std::string >& catmap )
 

Definition at line 164 of file SOMELibCatalog.cpp.

std::set< std::string > SOME::LibCatalog::enumCategory ( const std::string & key )
 

Definition at line 152 of file SOMELibCatalog.cpp.

SOME::LibCatalog::ClassContainer SOME::LibCatalog::getByCategory ( std::map< std::string,std::string >& keys )
 

Definition at line 131 of file SOMELibCatalog.cpp.

SOME::LibCatalog::ClassContainer SOME::LibCatalog::getByCategory ( const std::string & key,
const std::string & value )
 

Definition at line 118 of file SOMELibCatalog.cpp.

SOME::LibCatalog::ClassContainer SOME::LibCatalog::getCategory ( const std::string & category )
 

Definition at line 104 of file SOMELibCatalog.cpp.

const SOME::ClassCatalog & SOME::LibCatalog::getClass ( const std::string & classname )
 

Definition at line 86 of file SOMELibCatalog.cpp.

const std::string & SOME::LibCatalog::getPath ( ) const
 

Definition at line 44 of file SOMELibCatalog.cpp.

bool SOME::LibCatalog::hasClass ( const std::string & classname )
 

Definition at line 72 of file SOMELibCatalog.cpp.

bool SOME::LibCatalog::hasSingleClass ( ) [inline]
 

Definition at line 57 of file SOMELibCatalog.h.

void SOME::LibCatalog::setLibTitle ( const std::string & t )
 

Definition at line 49 of file SOMELibCatalog.cpp.

void SOME::LibCatalog::setVersion ( const std::string & v )
 

Definition at line 54 of file SOMELibCatalog.cpp.


The documentation for this class was generated from the following files:
Generated at Fri Dec 8 14:24:48 2000 for SOMELib by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000