![]() |
Rosetta
2021.16
|
#include <MoverFactory.hh>

Public Types | |
| typedef std::map< std::string, MoverCreatorOP > | MoverMap |
| typedef utility::tag::Tag | Tag |
| typedef utility::tag::TagCOP | TagCOP |
Public Member Functions | |
| virtual | ~MoverFactory () |
| void | factory_register (MoverCreatorOP creator) |
| add a Mover prototype, using its default type name as the map key More... | |
| bool | mover_exists (std::string const &mover_name) const |
| Is there a mover with the given name that's known to Rosetta? More... | |
| void | provide_xml_schema (std::string const &mover_name, utility::tag::XMLSchemaDefinition &xsd) const |
| Get the XML schema for a given mover. More... | |
| std::string | get_citation_humanreadable (std::string const &mover_name) const |
| Get a human-readable listing of the citations for a given mover, by mover name. More... | |
| MoverOP | newMover (std::string const &) const |
| Create a mover given its identifying string. More... | |
| MoverOP | newMover (TagCOP, basic::datacache::DataMap &) const |
| return new Mover by Tag parsing; the identifying string for the Mover is in the Tag More... | |
| MoverMap const & | mover_creator_map () const |
| Read access to the set of all MoverCreators; for unit testing purposes. More... | |
| void | define_mover_xml_schema (utility::tag::XMLSchemaDefinition &xsd) const |
Static Public Member Functions | |
| static std::string | mover_xml_schema_group_name () |
Private Member Functions | |
| MoverFactory () | |
| MoverFactory (MoverFactory const &)=delete | |
| MoverFactory const & | operator= (MoverFactory const &)=delete |
Private Attributes | |
| MoverMap | mover_creator_map_ |
| std::set< std::string > | forbidden_names_ |
Friends | |
| class | utility::SingletonBase< MoverFactory > |
| typedef std::map< std::string, MoverCreatorOP > protocols::moves::MoverFactory::MoverMap |
| typedef utility::tag::Tag protocols::moves::MoverFactory::Tag |
| typedef utility::tag::TagCOP protocols::moves::MoverFactory::TagCOP |
|
virtualdefault |
|
private |
References forbidden_names_.
|
privatedelete |
| void protocols::moves::MoverFactory::define_mover_xml_schema | ( | utility::tag::XMLSchemaDefinition & | xsd | ) | const |
| void protocols::moves::MoverFactory::factory_register | ( | MoverCreatorOP | creator | ) |
add a Mover prototype, using its default type name as the map key
References forbidden_names_, and mover_creator_map_.
| std::string protocols::moves::MoverFactory::get_citation_humanreadable | ( | std::string const & | mover_name | ) | const |
Get a human-readable listing of the citations for a given mover, by mover name.
Get a human-readable listing of the citations for a given mover, by moer name.
Returns an empty string if there are no citations.
References newMover().
Referenced by protocols::rosetta_scripts::print_information().
| MoverFactory::MoverMap const & protocols::moves::MoverFactory::mover_creator_map | ( | ) | const |
Read access to the set of all MoverCreators; for unit testing purposes.
References mover_creator_map_.
Referenced by protocols::canonical_sampling::MetropolisHastingsMover::parse_my_tag().
| bool protocols::moves::MoverFactory::mover_exists | ( | std::string const & | mover_name | ) | const |
Is there a mover with the given name that's known to Rosetta?
References mover_creator_map_.
Referenced by protocols::rosetta_scripts::print_information().
|
static |
Referenced by define_mover_xml_schema(), protocols::rosetta_scripts::MultipleOutputWrapper::provide_xml_schema(), protocols::environment::ScriptCM::provide_xml_schema(), protocols::rosetta_scripts::ParsedProtocol::provide_xml_schema(), protocols::canonical_sampling::MetropolisHastingsMover::provide_xml_schema(), and protocols::rosetta_scripts::RosettaScriptsParser::write_ROSETTASCRIPTS_complex_type().
| MoverOP protocols::moves::MoverFactory::newMover | ( | std::string const & | mover_type | ) | const |
Create a mover given its identifying string.
return new Mover by key lookup in mover_prototype_map_ (new Mover parses Tag if provided)
References mover_creator_map_, and protocols::moves::TR().
Referenced by protocols::multistage_rosetta_scripts::MRSJobQueen::determine_validity_of_stage_tags(), protocols::multistage_rosetta_scripts::TagManager::generate_data_for_input_pose_id(), get_citation_humanreadable(), newMover(), protocols::canonical_sampling::MetropolisHastingsMover::parse_my_tag(), and protocols::multistage_rosetta_scripts::MRSJob::parse_my_tag().
| MoverOP protocols::moves::MoverFactory::newMover | ( | TagCOP | tag, |
| basic::datacache::DataMap & | data | ||
| ) | const |
return new Mover by Tag parsing; the identifying string for the Mover is in the Tag
return new Mover by Tag parsing
References newMover().
|
privatedelete |
| void protocols::moves::MoverFactory::provide_xml_schema | ( | std::string const & | mover_name, |
| utility::tag::XMLSchemaDefinition & | xsd | ||
| ) | const |
Get the XML schema for a given mover.
Throws an error if the mover is unknown to Rosetta.
References mover_creator_map_, and protocols::moves::TR().
Referenced by protocols::rosetta_scripts::print_information().
|
friend |
|
private |
Referenced by factory_register(), and MoverFactory().
|
private |
Referenced by define_mover_xml_schema(), factory_register(), mover_creator_map(), mover_exists(), newMover(), and provide_xml_schema().
1.8.7