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

Class to load objects from xml. More...

#include <protocols/rosetta_scripts/XmlObjects.hh>
#include <protocols/rosetta_scripts/RosettaScriptsParser.hh>
#include <core/pack/task/operation/TaskOperation.hh>
#include <core/pose/Pose.hh>
#include <core/scoring/ScoreFunction.hh>
#include <core/select/residue_selector/ResidueSelector.hh>
#include <protocols/moves/Mover.hh>
#include <protocols/filters/Filter.hh>
#include <protocols/rosetta_scripts/ParsedProtocol.hh>
#include <utility/string_util.hh>
#include <utility/tag/Tag.hh>
#include <basic/datacache/DataMap.hh>
#include <basic/options/option.hh>
#include <basic/Tracer.hh>
#include <string>

Namespaces

 protocols
 The instance of Loops contained by AbrelaxApplication should be replaced by a LoopsOP.
 
 protocols::rosetta_scripts
 

Functions

static basic::Tracer TR ("protocols.rosetta_scripts.XmlObjects")
 
std::ostream & protocols::rosetta_scripts::operator<< (std::ostream &output, XmlObjects const &object_to_output)
 Insertion operator (overloaded so that XmlObjects can be "printed" in PyRosetta). More...
 

Detailed Description

Class to load objects from xml.

There are three ways to use this class.

  1. You may pass an .xml file to the static method create_from_file which will return an XmlObjects file where you can use the get* methods
  2. You may pass an xml script in text form to create_from_string which will return an XmlObjects file where you can use the get* methods
  3. You may pass a single xml tag to the static methods static_get* which will return an instance of whatever you instantiated This class cannot be used to modify the behavior of the xml script contained in the mover "ParserProtocol" (at present). If you wish to change that behavior, look into the the script vars set with -parser::script_vars and used with %script_var%%
    Author
    Brian Coventry

Function Documentation

static basic::Tracer TR ( "protocols.rosetta_scripts.XmlObjects"  )
static