Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Constant Groups | Functions
ResfileReader.cc File Reference

implementation of resfile reader and its command classes More...

#include <core/pack/task/ResfileReader.hh>
#include <core/pack/task/RotamerSampleOptions.hh>
#include <core/pack/task/PackerTask.hh>
#include <core/pose/Pose.hh>
#include <core/pose/PDBInfo.hh>
#include <core/chemical/ResidueType.hh>
#include <core/chemical/ResidueTypeSet.hh>
#include <utility/io/izstream.hh>
#include <utility/exit.hh>
#include <utility/assert.hh>
#include <utility/string_util.hh>
#include <basic/Tracer.hh>
#include <basic/options/option.hh>
#include <basic/options/keys/packing.OptionKeys.gen.hh>
#include <string>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <basic/options/keys/run.OptionKeys.gen.hh>
#include <utility/vector1.hh>

Namespaces

 core
 A class for defining atom parameters, known as atom_types.
 
 core::pack
 
 core::pack::task
 

Constant Groups

 core
 A class for defining atom parameters, known as atom_types.
 
 core::pack
 
 core::pack::task
 

Functions

static basic::Tracer core::pack::task::TR ("core.pack.task.ResfileReader")
 
std::map< std::string,
ResfileCommandOP > 
core::pack::task::create_command_map ()
 utility for resfile reader, commands MUST be entered into this hard-coded map More...
 
bool core::pack::task::comment_begin (utility::vector1< std::string > const &tokens, Size which_token)
 utility function for resfile reader (checks for a leading # signaling a comment) More...
 
void core::pack::task::parse_resfile (pose::Pose const &pose, PackerTask &the_task)
 changes the state of the given PackerTask according to the commands in the resfile at read in from the -pack:resfile option system. More...
 
void core::pack::task::parse_resfile (pose::Pose const &pose, PackerTask &the_task, std::string filename)
 changes the state of the given PackerTask according to the commands in the resfile at filename More...
 
void core::pack::task::parse_resfile_string (pose::Pose const &pose, PackerTask &the_task, std::string const &resfile_string) throw (ResfileReaderException)
 changes the state of the given PackerTask according to the commands in the resfile. More...
 
std::string core::pack::task::get_token (const Size which_token, const utility::vector1< std::string > &tokens, const bool make_upper_case=true)
 utility function to increment next token to be parsed More...
 
utility::vector1< std::string > core::pack::task::tokenize_line (std::istream &inputstream)
 utility function for resfile reader More...
 
void core::pack::task::onError (std::string message)
 

Detailed Description

implementation of resfile reader and its command classes

Author
Steven Lewis (smlew.nosp@m.i@un.nosp@m.c.edu)
Andrew Leaver-Fay
Gordon Lemmon (glemm.nosp@m.on@g.nosp@m.mail..nosp@m.com), adapted from the ResfileReader code by Steven Lewis (smlew.nosp@m.i@un.nosp@m.c.edu) and Andrew Leaver-Fay
Gordon Lemmon (glemm.nosp@m.on@g.nosp@m.mail..nosp@m.com)