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

Public Member Functions | |
| SimpleMetricFactory () | |
| void | factory_register (SimpleMetricCreatorOP creator) |
| bool | has_type (std::string const &simple_metric_name) const |
| SimpleMetricOP | new_simple_metric (std::string const &constraint_generator_name, utility::tag::TagCOP tag, basic::datacache::DataMap &datamap) const |
| void | provide_xml_schema (std::string const &selector_name, utility::tag::XMLSchemaDefinition &xsd) const |
| Get the XML schema for a given residue selector. More... | |
| void | define_simple_metric_xml_schema (utility::tag::XMLSchemaDefinition &xsd) const |
| std::string | get_citation_humanreadable (std::string const &metric_name) const |
| Get a human-readable listing of the citations for a given simple metric, by metric name. More... | |
Static Public Member Functions | |
| static std::string | simple_metric_xml_schema_group_name () |
Private Types | |
| typedef std::map< std::string, SimpleMetricCreatorOP > | CreatorMap |
Private Attributes | |
| CreatorMap | creator_map_ |
|
private |
| core::simple_metrics::SimpleMetricFactory::SimpleMetricFactory | ( | ) |
| void core::simple_metrics::SimpleMetricFactory::define_simple_metric_xml_schema | ( | utility::tag::XMLSchemaDefinition & | xsd | ) | const |
| void core::simple_metrics::SimpleMetricFactory::factory_register | ( | SimpleMetricCreatorOP | creator | ) |
References creator_map_.
| std::string core::simple_metrics::SimpleMetricFactory::get_citation_humanreadable | ( | std::string const & | metric_name | ) | const |
Get a human-readable listing of the citations for a given simple metric, by metric name.
Returns an empty string if there are no citations.
References creator_map_, and new_simple_metric().
Referenced by protocols::rosetta_scripts::print_information().
| bool core::simple_metrics::SimpleMetricFactory::has_type | ( | std::string const & | simple_metric_name | ) | const |
References creator_map_.
Referenced by new_simple_metric(), protocols::rosetta_scripts::print_information(), and provide_xml_schema().
| SimpleMetricOP core::simple_metrics::SimpleMetricFactory::new_simple_metric | ( | std::string const & | constraint_generator_name, |
| utility::tag::TagCOP | tag, | ||
| basic::datacache::DataMap & | datamap | ||
| ) | const |
References creator_map_, and has_type().
Referenced by get_citation_humanreadable().
| void core::simple_metrics::SimpleMetricFactory::provide_xml_schema | ( | std::string const & | metric_name, |
| utility::tag::XMLSchemaDefinition & | xsd | ||
| ) | const |
Get the XML schema for a given residue selector.
Get the XML schema for a given simple metric.
Throws an error if the residue selector is unknown to Rosetta.
References creator_map_, and has_type().
Referenced by protocols::rosetta_scripts::print_information().
|
static |
|
private |
1.8.7