#include <FragmentIO.hh>
◆ FragFileCache
◆ FragmentIO() [1/2]
| core::fragment::FragmentIO::FragmentIO |
( |
| ) |
|
|
inline |
◆ FragmentIO() [2/2]
| core::fragment::FragmentIO::FragmentIO |
( |
Size |
top, |
|
|
Size |
ncopies = 1, |
|
|
bool |
bAnnotate = true |
|
) |
| |
|
inline |
◆ clean_frag_cache()
| void core::fragment::FragmentIO::clean_frag_cache |
( |
| ) |
|
◆ get_frag_factory()
| FragFactory & core::fragment::FragmentIO::get_frag_factory |
( |
void |
| ) |
|
◆ read_data()
| FragSetOP core::fragment::FragmentIO::read_data |
( |
std::string const & |
filename | ) |
|
read a FragSet... note that this function caches the fragment set. i.e., if you read the same set from multiple positions in the code you get the same set. if you read a new file ... we'll check the cache for stale references and delete them. NOTE that this is using global data and is thread unsafe and is evil.
Open a file and construct a FragmentSet from its contents. Note that this function stores the constructed FragmentSet in GLOBAL DATA making it ABSOLUTELY TERRIBLE.
References clean_frag_cache(), protocols::abinitio::filename(), frag_cache_, read_data_from_stream(), and core::fragment::tr().
Referenced by protocols::abinitio::abscript::AbscriptMover::add_frags(), protocols::parser::FragmentReader::apply(), protocols::abinitio::decide_on_beta_jumping_from_frags(), protocols::abinitio::abscript::determine_frag_size(), protocols::abinitio::IterativeBase::gen_enumerate_pairings(), protocols::abinitio::IterativeBase::gen_resample_fragments(), protocols::hybridization::HybridizeProtocol::HybridizeProtocol(), protocols::hybridization::HybridizeProtocol::init(), protocols::hybridization::HybridizeProtocol::parse_my_tag(), protocols::abinitio::DomainAssembly::parse_my_tag(), protocols::abinitio::abscript::AbscriptLoopCloserCM::parse_my_tag(), protocols::abinitio::abscript::FragmentCM::parse_my_tag(), protocols::hybridization::CartesianSampler::parse_my_tag(), protocols::rbsegment_relax::ConfChangeMover::parse_my_tag(), protocols::struct_fragment::StructFragmentMover::read_frag_file(), protocols::topology_broker::read_frags(), protocols::loops::read_loop_fragments(), core::fragment::read_std_frags_from_cmd(), protocols::mpi_refinement::WorkUnit_PartialAbinitio::run(), protocols::abinitio::AbrelaxApplication::setup_fragments(), and protocols::abinitio::AbrelaxApplication::setup_jumps().
◆ read_data_from_stream()
| FragSetOP core::fragment::FragmentIO::read_data_from_stream |
( |
std::string const & |
filename, |
|
|
std::istream & |
data |
|
) |
| |
◆ read_frag_data()
| void core::fragment::FragmentIO::read_frag_data |
( |
std::istream & |
data, |
|
|
std::string & |
next_line, |
|
|
FrameList & |
next_frames |
|
) |
| |
|
private |
◆ read_frames_from_file()
| void core::fragment::FragmentIO::read_frames_from_file |
( |
std::string const & |
filename, |
|
|
FrameList & |
frames |
|
) |
| |
◆ read_frames_from_stream()
| void core::fragment::FragmentIO::read_frames_from_stream |
( |
std::string const & |
filename, |
|
|
std::string const & |
firstline, |
|
|
std::istream & |
data, |
|
|
FrameList & |
all_frames |
|
) |
| |
◆ read_next_frames()
| void core::fragment::FragmentIO::read_next_frames |
( |
std::istream & |
data, |
|
|
std::string & |
next_line, |
|
|
FrameList & |
next_frames |
|
) |
| |
|
private |
◆ set_ncopies()
| void core::fragment::FragmentIO::set_ncopies |
( |
Size |
setting | ) |
|
|
inline |
◆ set_read_annotation()
| void core::fragment::FragmentIO::set_read_annotation |
( |
bool |
setting = true | ) |
|
|
inline |
◆ set_top_frag_num()
| void core::fragment::FragmentIO::set_top_frag_num |
( |
Size |
setting | ) |
|
|
inline |
◆ write_data()
| void core::fragment::FragmentIO::write_data |
( |
std::string const & |
file, |
|
|
FragSet const & |
frags |
|
) |
| |
◆ bAnnotate_
| bool core::fragment::FragmentIO::bAnnotate_ |
|
private |
◆ frag_cache_
◆ frag_factory_
◆ ncopies_
| Size core::fragment::FragmentIO::ncopies_ |
|
private |
◆ top_
| Size core::fragment::FragmentIO::top_ |
|
private |
The documentation for this class was generated from the following files: