Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::loops::PoseNumberedLoopFileReader Class Reference

#include <LoopsFileIO.hh>

Public Member Functions

 PoseNumberedLoopFileReader ()
 
SerializedLoopList read_pose_numbered_loops_file (std::istream &is, std::string const &filename, bool strict_looprelax_checks=true)
 
void set_linecount_offset (core::Size)
 if the input stream has had some number of lines already removed from it, indicate how many. More...
 
void hijack_loop_reading_code_set_loop_line_begin_token (std::string const &token)
 For code that relys on reading loop-file-formatted ranges if residues but which really ought to use. More...
 

Private Attributes

std::string loop_line_begin_token_
 
core::Size linecount_offset_
 

Detailed Description

This is the main legacy loop-reading function, which will read the pose-numbered file. This functionality is used by a great many number of places often having nothing to do with representing a loop, so it will persist.

Constructor & Destructor Documentation

protocols::loops::PoseNumberedLoopFileReader::PoseNumberedLoopFileReader ( )

Member Function Documentation

void protocols::loops::PoseNumberedLoopFileReader::hijack_loop_reading_code_set_loop_line_begin_token ( std::string const &  token)
SerializedLoopList protocols::loops::PoseNumberedLoopFileReader::read_pose_numbered_loops_file ( std::istream &  is,
std::string const &  filename,
bool  strict_looprelax_checks = true 
)

References protocols::loops::SerializedLoop::cut, protocols::loops::SerializedLoop::extended, getline(), linecount_offset_, loop_line_begin_token_, loops, protocols::loops::SerializedLoop::skip_rate, utility::split(), protocols::loops::SerializedLoop::start, protocols::loops::SerializedLoop::stop, protocols::loops::tr, utility_exit_with_message, and protocols::loops::validate_loop_start_stop().

Referenced by protocols::topology_broker::ConstraintClaimer::add_constraints(), protocols::simple_filters::ChiWellRmsdEvaluatorCreator::add_evaluators(), protocols::simple_filters::NativeEvaluatorCreator::add_evaluators(), protocols::simple_filters::RmsdEvaluatorCreator::add_evaluators(), protocols::simple_filters::ExtraScoreEvaluatorCreator::add_evaluators(), protocols::abinitio::abscript::ConstraintPreparer::combine_exclude_file(), protocols::toolbox::DecoySetEvaluation::create_dist_constraints_median(), protocols::loops::Loops::read_loop_file(), protocols::loops::LoopsFileIO::read_loop_file_stream(), protocols::scoring::ResidualDipolarCouplingRigidSegments::read_RDC_segment_file(), protocols::abinitio::abscript::read_rigid_core(), protocols::topology_broker::AsymFoldandDockClaimer::read_tag(), protocols::topology_broker::FibrilModelingClaimer::read_tag(), protocols::topology_broker::CoordConstraintClaimer::read_tag(), protocols::topology_broker::RigidChunkClaimer::read_tag(), protocols::topology_broker::FragmentClaimer::read_tag(), and protocols::abinitio::IterativeBase::restore_status().

void protocols::loops::PoseNumberedLoopFileReader::set_linecount_offset ( core::Size  setting)

if the input stream has had some number of lines already removed from it, indicate how many.

References linecount_offset_.

Referenced by protocols::loops::LoopsFileIO::read_loop_file_stream().

Member Data Documentation

core::Size protocols::loops::PoseNumberedLoopFileReader::linecount_offset_
private
std::string protocols::loops::PoseNumberedLoopFileReader::loop_line_begin_token_
private

The documentation for this class was generated from the following files: