Rosetta
Namespaces | Functions
xml_util.cc File Reference

Score function utilities useful in RosettaScripts. More...

#include <core/scoring/xml_util.hh>
#include <core/scoring/util.hh>
#include <core/scoring/ScoreFunction.hh>
#include <utility/excn/Exceptions.hh>
#include <utility/tag/Tag.hh>
#include <utility/tag/XMLSchemaGeneration.hh>
#include <basic/datacache/DataMap.hh>
#include <basic/options/option.hh>
#include <basic/Tracer.hh>
#include <fstream>

Namespaces

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

Functions

static basic::Tracer TR ("core.scoring.xml_util")
 
core::scoring::ScoreFunctionOP core::scoring::parse_score_function (utility::tag::TagCOP tag, std::string const &option_name, basic::datacache::DataMap const &data, std::string const &dflt_key="commandline")
 Look up the score function defined in the <SCOREFXNS> through the given option. Defaults to 'commandline'. More...
 
core::scoring::ScoreFunctionOP core::scoring::parse_score_function (utility::tag::TagCOP tag, basic::datacache::DataMap const &data, std::string const &dflt_key="commandline")
 Look up the score function defined in the <SCOREFXNS> through the option 'scorefxn='. Defaults to 'commandline'. More...
 
std::string core::scoring::get_score_function_name (utility::tag::TagCOP tag, std::string const &option_name)
 Look up the name of assigned score function to the given option. Use this to prevent hard coding default score functions into protocols. More...
 
std::string core::scoring::get_score_function_name (utility::tag::TagCOP tag)
 Look up the name of assigned score function to the 'scorefxn=' option. Use this to prevent hard coding default score functions into protocols. More...
 
void core::scoring::attributes_for_get_score_function_name (utility::tag::AttributeList &attributes)
 Get attributes ( i.e. options ) for movers to build xml schemas. More...
 
void core::scoring::attributes_for_get_score_function_name (utility::tag::AttributeList &attributes, std::string const &option_name)
 Appends the attributes read by get_score_function_name w/ name argument. More...
 
void core::scoring::attributes_for_get_score_function_name_w_description (utility::tag::AttributeList &attributes, std::string const &description)
 Appends the attributes read by get_score_function_name. More...
 
void core::scoring::attributes_for_get_score_function_name_w_description (utility::tag::AttributeList &attributes, std::string const &option_name, std::string const &description)
 Appends the attributes read by get_score_function_name w/ name argument. More...
 
void core::scoring::attributes_for_parse_score_function (utility::tag::AttributeList &attributes)
 Appends the attributes read by parse_score_function. More...
 
void core::scoring::attributes_for_parse_score_function (utility::tag::AttributeList &attributes, std::string const &sfxn_option_name)
 Appends the attributes read by parse_score_function w/ name argument. More...
 
void core::scoring::attributes_for_parse_score_function_w_description (utility::tag::AttributeList &attributes, std::string const &description)
 Appends the attributes read by parse_score_function with description. More...
 
void core::scoring::attributes_for_parse_score_function_w_description (utility::tag::AttributeList &attributes, std::string const &sfxn_option_name, std::string const &description)
 Appends the attributes read by parse_score_function w/ name argument and description. More...
 
void core::scoring::attributes_for_parse_score_function_w_description_when_required (utility::tag::AttributeList &attributes, std::string const &sfxn_option_name, std::string const &description="")
 Appends the attributes read by parse_score_function w/ name argument and description. More...
 

Detailed Description

Score function utilities useful in RosettaScripts.

Author
Sarel Fleishman (sarel.nosp@m.f@u..nosp@m.washi.nosp@m.ngto.nosp@m.n.edu) Jacob Corn (jecor.nosp@m.n@u..nosp@m.washi.nosp@m.ngto.nosp@m.n.edu) Rocco Moretti (rmore.nosp@m.tti@.nosp@m.u.was.nosp@m.hing.nosp@m.ton.e.nosp@m.du) Eva-Maria Strauch (evas0.nosp@m.1@uw.nosp@m..edu)

Function Documentation

◆ TR()

static basic::Tracer TR ( "core.scoring.xml_util"  )
static