CLAM-Development  1.4.0
Static Public Member Functions
CLAM::ProcessingFactory Class Reference

#include <ProcessingFactory.hxx>

List of all members.

Static Public Member Functions

static ProcessingFactory & GetInstance ()

Additional Inherited Members

- Public Types inherited from CLAM::Factory< Processing >
typedef Processing AbstractProduct
typedef std::string RegistryKey
typedef std::list< Key > Keys
typedef std::list< std::string > Values
typedef std::list< Pair > Pairs
- Public Member Functions inherited from CLAM::Factory< Processing >
 Factory ()
 ~Factory ()
AbstractProduct * Create (const RegistryKey name)
 Gives ownership of the new created Product registered with the given name.
AbstractProduct * CreateSafe (const RegistryKey name) throw (ErrFactory)
 Gives ownership of the new created Product registered with the given name.
void Clear ()
void AddCreator (const RegistryKey name, Creator *creator)
void AddCreatorWarningRepetitions (const RegistryKey name, Creator *creator)
void AddCreatorSafe (const RegistryKey name, Creator *creator) throw (ErrFactory)
void DeleteCreator (const RegistryKey name)
void GetRegisteredNames (std::list< std::string > &namesList)
bool KeyExists (const RegistryKey &key)
bool AttributeExists (const std::string &key, const std::string &attribute)
Keys GetKeys (const std::string &attribute, const std::string &value)
 Get all keys that have attribute==value in its metadata.
Keys GetKeys ()
 Get all keys in the factory.
Pairs GetPairsFromKey (const std::string &key)
 Return all the metadata available for a product key.
Values GetSetOfValues (const std::string &attribute)
 Get the set of all values present for a given metadata attribute. Example GetSetOfValues("category") could return ["modulators","generators","reverbs"] without repeated items.
Values GetValuesFromAttribute (const std::string &key, const std::string &attribute)
 Return the list of values for a metadata attribute for a product key.
Value GetValueFromAttribute (const std::string &key, const std::string &attribute)
 Return the value for a metadata attribute of product key. If multiple values exist returns the first value.
void AddAttribute (const std::string &key, const std::string &attribute, const std::string &value)
int Count ()

Detailed Description

Definition at line 10 of file ProcessingFactory.hxx.


Member Function Documentation

ProcessingFactory & CLAM::ProcessingFactory::GetInstance ( )
static

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