Confdump Agent
1.4.0
|
#include <DumperFactory.hpp>
Public Types | |
typedef std::map< QString, DumperSpecification > | SpecificationsMap |
Public Member Functions | |
DumperFactory () | |
~DumperFactory () | |
void | registerSpecifications (const SpecificationsMap &spec) |
boost::shared_ptr< Dumper > | dumper (QString alias) |
QStringList | aliasList () const |
Private Member Functions | |
boost::shared_ptr< Dumper > | createDumper (DumperSpecification spec) |
Static Private Member Functions | |
static DumperSpecification | mainDumperSpecification () |
Private Attributes | |
SpecificationsMap | specifications_ |
std::map< QString, boost::shared_ptr< Dumper > > | cache_ |
Definition at line 32 of file DumperFactory.hpp.
typedef std::map<QString, DumperSpecification> Confdump::DumperFactory::SpecificationsMap |
Definition at line 38 of file DumperFactory.hpp.
Definition at line 37 of file DumperFactory.cpp.
References mainDumperSpecification(), and specifications_.
Definition at line 42 of file DumperFactory.cpp.
QStringList Confdump::DumperFactory::aliasList | ( | ) | const |
shared_ptr< Dumper > Confdump::DumperFactory::createDumper | ( | DumperSpecification | spec | ) | [private] |
Definition at line 57 of file DumperFactory.cpp.
References Confdump::DumperSpecification::name, and Confdump::DumperSpecification::parameters.
Referenced by dumper().
shared_ptr< Dumper > Confdump::DumperFactory::dumper | ( | QString | alias | ) |
Definition at line 93 of file DumperFactory.cpp.
References cache_, createDumper(), and specifications_.
Referenced by main().
DumperSpecification Confdump::DumperFactory::mainDumperSpecification | ( | ) | [static, private] |
Definition at line 46 of file DumperFactory.cpp.
References Confdump::DumperSpecification::name.
Referenced by DumperFactory().
void Confdump::DumperFactory::registerSpecifications | ( | const SpecificationsMap & | spec | ) |
std::map<QString, boost::shared_ptr<Dumper> > Confdump::DumperFactory::cache_ [private] |
Definition at line 49 of file DumperFactory.hpp.
Referenced by dumper().
Definition at line 48 of file DumperFactory.hpp.
Referenced by aliasList(), dumper(), DumperFactory(), and registerSpecifications().