|
Rosetta 3.5
|
A factory for creating DataLoaders, which are able to load arbitrary data into the DataMap used in the XML-based parser. This factory supports the load-time registration scheme allowing DataLoaders to be defined in libraries outside of protocols.lib. More...
#include <DataLoaderFactory.hh>

Public Types | |
| typedef std::map< std::string, DataLoaderCreatorOP > | LoaderMap |
Public Member Functions | |
| virtual | ~DataLoaderFactory () |
| void | factory_register (DataLoaderCreatorOP creator) |
| DataLoaderOP | newDataLoader (std::string const &) const |
| Create a DataLoader given its identifying string. More... | |
Static Public Member Functions | |
| static DataLoaderFactory * | get_instance () |
Private Member Functions | |
| DataLoaderFactory () | |
| DataLoaderFactory (DataLoaderFactory const &) | |
| DataLoaderFactory const & | operator= (DataLoaderFactory const &) |
Private Attributes | |
| LoaderMap | dataloader_creator_map_ |
Static Private Attributes | |
| static DataLoaderFactory * | instance_ |
| Singleton instance pointer. More... | |
A factory for creating DataLoaders, which are able to load arbitrary data into the DataMap used in the XML-based parser. This factory supports the load-time registration scheme allowing DataLoaders to be defined in libraries outside of protocols.lib.
Definition at line 36 of file DataLoaderFactory.hh.
| typedef std::map< std::string, DataLoaderCreatorOP > protocols::jd2::parser::DataLoaderFactory::LoaderMap |
Definition at line 39 of file DataLoaderFactory.hh.
|
virtual |
Definition at line 35 of file DataLoaderFactory.cc.
|
private |
Definition at line 82 of file DataLoaderFactory.cc.
Referenced by get_instance().
|
private |
| void protocols::jd2::parser::DataLoaderFactory::factory_register | ( | DataLoaderCreatorOP | creator) |
Definition at line 46 of file DataLoaderFactory.cc.
References dataloader_creator_map_.
|
static |
Definition at line 38 of file DataLoaderFactory.cc.
References DataLoaderFactory(), and instance_.
| DataLoaderOP protocols::jd2::parser::DataLoaderFactory::newDataLoader | ( | std::string const & | loader_type) | const |
Create a DataLoader given its identifying string.
Definition at line 64 of file DataLoaderFactory.cc.
References dataloader_creator_map_.
|
private |
|
private |
Definition at line 63 of file DataLoaderFactory.hh.
Referenced by factory_register(), and newDataLoader().
|
staticprivate |
Singleton instance pointer.
Definition at line 61 of file DataLoaderFactory.hh.
Referenced by get_instance().
1.8.4