Rosetta
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
protocols::chemistries::ChemistryFactory Class Reference

#include <ChemistryFactory.hh>

Inheritance diagram for protocols::chemistries::ChemistryFactory:
Inheritance graph
[legend]

Public Member Functions

void factory_register (ChemistryCreatorOP creator)
 
bool has_type (std::string const &) const
 
ChemistryOP new_chemistry (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap) const
 
void set_throw_on_double_registration ()
 
void define_chemistry_xml_schema (utility::tag::XMLSchemaDefinition &xsd) const
 

Static Public Member Functions

static std::string chemistry_xml_schema_group_name ()
 

Private Member Functions

 ChemistryFactory ()
 
 ChemistryFactory (ChemistryFactory const &)=delete
 
ChemistryFactory const & operator= (ChemistryFactory const &)=delete
 

Private Attributes

std::map< std::string, ChemistryCreatorOPcreator_map_
 
bool throw_on_double_registration_
 

Friends

class utility::SingletonBase< ChemistryFactory >
 

Constructor & Destructor Documentation

◆ ChemistryFactory() [1/2]

protocols::chemistries::ChemistryFactory::ChemistryFactory ( )
private

◆ ChemistryFactory() [2/2]

protocols::chemistries::ChemistryFactory::ChemistryFactory ( ChemistryFactory const &  )
privatedelete

Member Function Documentation

◆ chemistry_xml_schema_group_name()

std::string protocols::chemistries::ChemistryFactory::chemistry_xml_schema_group_name ( )
static

◆ define_chemistry_xml_schema()

void protocols::chemistries::ChemistryFactory::define_chemistry_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd) const

◆ factory_register()

void protocols::chemistries::ChemistryFactory::factory_register ( ChemistryCreatorOP  creator)

◆ has_type()

bool protocols::chemistries::ChemistryFactory::has_type ( std::string const &  chemistry_type) const

References creator_map_.

Referenced by new_chemistry().

◆ new_chemistry()

ChemistryOP protocols::chemistries::ChemistryFactory::new_chemistry ( utility::tag::TagCOP  tag,
basic::datacache::DataMap datamap 
) const

◆ operator=()

ChemistryFactory const& protocols::chemistries::ChemistryFactory::operator= ( ChemistryFactory const &  )
privatedelete

◆ set_throw_on_double_registration()

void protocols::chemistries::ChemistryFactory::set_throw_on_double_registration ( )

Friends And Related Function Documentation

◆ utility::SingletonBase< ChemistryFactory >

friend class utility::SingletonBase< ChemistryFactory >
friend

Member Data Documentation

◆ creator_map_

std::map< std::string, ChemistryCreatorOP > protocols::chemistries::ChemistryFactory::creator_map_
private

◆ throw_on_double_registration_

bool protocols::chemistries::ChemistryFactory::throw_on_double_registration_
private

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