|
Rosetta 3.5
|
#include <ConstraintFactory.hh>

Public Member Functions | |
| void | factory_register (ConstraintCreatorCOP creator) |
| scoring::constraints::ConstraintOP | newConstraint (std::string const &type_name) |
| utility::vector1< std::string > | get_cst_names () const |
| void | replace_creator (ConstraintCreatorCOP creator) |
| Replace the load-time ConstraintCreator with another creator. More... | |
| ConstraintCreatorCOP | get_creator (std::string const &type_name) |
Static Public Member Functions | |
| static ConstraintFactory * | get_instance () |
Private Types | |
| typedef std::map< std::string, scoring::constraints::ConstraintCreatorCOP > | ConstraintCreatorMap |
Private Member Functions | |
| ConstraintFactory () | |
| ConstraintFactory (ConstraintFactory const &) | |
| ConstraintFactory const & | operator= (ConstraintFactory const &) |
Private Attributes | |
| ConstraintCreatorMap | cst_types_ |
Static Private Attributes | |
| static ConstraintFactory * | instance_ |
Definition at line 33 of file ConstraintFactory.hh.
|
private |
Definition at line 58 of file ConstraintFactory.hh.
|
private |
Private constructor insures correctness of singleton.
Definition at line 47 of file ConstraintFactory.cc.
Referenced by get_instance().
|
private |
| void core::scoring::constraints::ConstraintFactory::factory_register | ( | ConstraintCreatorCOP | creator) |
Definition at line 76 of file ConstraintFactory.cc.
References cst_types_.
| ConstraintCreatorCOP core::scoring::constraints::ConstraintFactory::get_creator | ( | std::string const & | type_name) |
Definition at line 126 of file ConstraintFactory.cc.
References cst_types_, core::sequence::end, and get_cst_names().
| utility::vector1< std::string > core::scoring::constraints::ConstraintFactory::get_cst_names | ( | ) | const |
Definition at line 107 of file ConstraintFactory.cc.
References cst_types_, and core::sequence::end.
Referenced by get_creator(), and newConstraint().
|
static |
Definition at line 50 of file ConstraintFactory.cc.
References ConstraintFactory(), and instance_.
Referenced by protocols::abinitio::common_setup(), core::scoring::constraints::ConstraintIO::get_cst_factory(), core::scoring::constraints::ConstraintIO::read_cst_bindingsites(), and protocols::abinitio::AbrelaxApplication::setup().
| ConstraintOP core::scoring::constraints::ConstraintFactory::newConstraint | ( | std::string const & | type_name) |
Definition at line 82 of file ConstraintFactory.cc.
References cst_types_, core::sequence::end, and get_cst_names().
Referenced by core::scoring::constraints::ConstraintIO::read_cst_bindingsites(), and core::scoring::constraints::ConstraintIO::read_individual_constraint_new().
|
private |
| void core::scoring::constraints::ConstraintFactory::replace_creator | ( | ConstraintCreatorCOP | creator) |
Replace the load-time ConstraintCreator with another creator.
Definition at line 120 of file ConstraintFactory.cc.
References cst_types_.
Referenced by protocols::abinitio::common_setup(), and protocols::abinitio::AbrelaxApplication::setup().
|
private |
Definition at line 59 of file ConstraintFactory.hh.
Referenced by factory_register(), get_creator(), get_cst_names(), newConstraint(), and replace_creator().
|
staticprivate |
Definition at line 56 of file ConstraintFactory.hh.
Referenced by get_instance().
1.8.4