![]() |
Rosetta
2021.16
|
#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. WARNING WARNING WARNING THREAD UNSAFE!!! DO NOT USE THIS!!! More... | |
| ConstraintCreatorCOP | get_creator (std::string const &type_name) |
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_ |
Friends | |
| class | utility::SingletonBase< ConstraintFactory > |
|
private |
|
privatedefault |
Private constructor insures correctness of singleton.
|
private |
| void core::scoring::constraints::ConstraintFactory::factory_register | ( | ConstraintCreatorCOP | creator | ) |
References cst_types_.
| ConstraintCreatorCOP core::scoring::constraints::ConstraintFactory::get_creator | ( | std::string const & | type_name | ) |
References cst_types_, core::sequence::end, and get_cst_names().
| utility::vector1< std::string > core::scoring::constraints::ConstraintFactory::get_cst_names | ( | ) | const |
References cst_types_.
Referenced by get_creator(), and newConstraint().
| ConstraintOP core::scoring::constraints::ConstraintFactory::newConstraint | ( | std::string const & | type_name | ) |
References cst_types_, and get_cst_names().
Referenced by 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. WARNING WARNING WARNING THREAD UNSAFE!!! DO NOT USE THIS!!!
WARNING WARNING WARNING NOT THREADSAFE!
References cst_types_.
|
friend |
|
private |
Referenced by factory_register(), get_creator(), get_cst_names(), newConstraint(), and replace_creator().
1.8.7