Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
util.cc File Reference

Util files for SimpleMetrics. More...

#include <core/simple_metrics/util.hh>
#include <utility/tag/XMLSchemaGeneration.hh>
#include <basic/Tracer.hh>
#include <core/pose/Pose.hh>
#include <core/select/residue_selector/ResidueSelector.hh>
#include <core/select/residue_selector/util.hh>
#include <core/simple_metrics/SimpleMetric.hh>
#include <core/simple_metrics/SimpleMetricFactory.hh>
#include <core/simple_metrics/PerResidueRealMetric.hh>
#include <core/simple_metrics/PerResidueStringMetric.hh>
#include <core/select/util.hh>
#include <core/simple_metrics/SimpleMetricData.hh>
#include <core/pose/datacache/CacheableDataType.hh>
#include <utility/excn/Exceptions.hh>
#include <utility/vector1.hh>
#include <utility/tag/Tag.hh>
#include <utility/tag/util.hh>
#include <utility/string_util.hh>
#include <basic/datacache/DataMap.hh>
#include <basic/datacache/DataCache.hh>
#include <basic/datacache/BasicDataCache.hh>

Namespaces

 core
 A class for reading in the atom type properties.
 
 core::simple_metrics
 

Functions

static basic::Tracer TR ("core.simple_metrics.util")
 
SimpleMetricDataOP core::simple_metrics::get_sm_data (pose::Pose &pose)
 Get a modifiable SM data. Use with caution. Create it in the pose if it does not exist yet. Not for general use. More...
 
SimpleMetricDataCOP core::simple_metrics::get_sm_data (pose::Pose const &pose)
 Get a SM Data cache if present. Otherwise, returns a nullptr. More...
 
std::string core::simple_metrics::complex_type_name_for_simple_metric (std::string const &simple_metric_name)
 
bool core::simple_metrics::has_sm_data (pose::Pose const &pose)
 Does the pose have a SMCache? More...
 
void core::simple_metrics::clear_sm_data (pose::Pose &pose)
 Clear the SM data stored in the pose. More...
 
void core::simple_metrics::xsd_simple_metric_type_definition_w_attributes (utility::tag::XMLSchemaDefinition &xsd, std::string const &simple_metric_name, std::string const &description, utility::tag::AttributeList const &attributes)
 Generate the ComplexTypeGenerator from the SimpleMetric base class. Add any additional schema options from sub-derived classes. More...
 
void core::simple_metrics::xsd_simple_metric_type_definition_w_attributes_and_repeatable_subelements (utility::tag::XMLSchemaDefinition &xsd, std::string const &rs_type, std::string const &description, utility::tag::AttributeList const &attributes, utility::tag::XMLSchemaSimpleSubelementList const &subelements)
 
void core::simple_metrics::xsd_per_residue_real_metric_type_definition_w_attributes (utility::tag::XMLSchemaDefinition &xsd, std::string const &simple_metric_name, std::string const &description, utility::tag::AttributeList const &attributes)
 Generate the ComplexTypeGenerator from the SimpleMetric and PerResidueRealMetric base classes. Add any additional schema options from sub-derived classes. More...
 
void core::simple_metrics::xsd_per_residue_string_metric_type_definition_w_attributes (utility::tag::XMLSchemaDefinition &xsd, std::string const &simple_metric_name, std::string const &description, utility::tag::AttributeList const &attributes)
 Generate the ComplexTypeGenerator from the SimpleMetric and PerResidueStringMetric base classes. Add any additional schema options from sub-derived classes. More...
 
utility::vector1< SimpleMetricCOP > core::simple_metrics::get_metrics_from_datamap_and_subtags (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap, std::string tag_name)
 
SimpleMetricCOP core::simple_metrics::get_metric_from_datamap_and_subtags (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap, std::string tag_name)
 
void core::simple_metrics::add_per_residue_simple_metric_schema (utility::tag::XMLSchemaComplexTypeGeneratorOP ct_gen)
 Add options to the schema from this base class. More...
 
void core::simple_metrics::throw_sm_override_error (std::string const &out_tag, std::string const &metric_name)
 Get an informative error message if the SM data already exists and is not overriden. Throws. More...
 

Detailed Description

Util files for SimpleMetrics.

Author
Jared Adolf-Bryfogle (jadol.nosp@m.fbr@.nosp@m.gmail.nosp@m..com)

Function Documentation

static basic::Tracer TR ( "core.simple_metrics.util"  )
static