Rosetta 3.4
Public Member Functions
core::fragment::FragmentIO Class Reference

#include <FragmentIO.hh>

Collaboration diagram for core::fragment::FragmentIO:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FragmentIO ()
 FragmentIO (Size top, Size ncopies=1, bool bAnnotate=true)
FragSetOP 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...
void read_data (std::string const &filename, FrameList &)
void read_data (std::istream &data, FrameList &)
void write_data (std::string const &file, FragSet const &frags)
FragFactoryget_frag_factory ()
void set_top_frag_num (Size setting)
 Updates the number of distinct fragments to keep.
void set_ncopies (Size setting)
 Updates the number of copies of each fragment to keep (default 1)
void set_read_annotation (bool setting=true)
 Toggles between reading annotated (true) and non-annotated (false)
void clean_frag_cache ()
 remove all FragSets that are not referenced outside the cache.

Constructor & Destructor Documentation

core::fragment::FragmentIO::FragmentIO ( ) [inline]
core::fragment::FragmentIO::FragmentIO ( Size  top,
Size  ncopies = 1,
bool  bAnnotate = true 
) [inline]

Member Function Documentation

void core::fragment::FragmentIO::clean_frag_cache ( )

remove all FragSets that are not referenced outside the cache.

References core::fragment::tr().

Referenced by read_data().

FragFactory & core::fragment::FragmentIO::get_frag_factory ( void  )
FragSetOP core::fragment::FragmentIO::read_data ( std::string const &  filename)
void core::fragment::FragmentIO::read_data ( std::string const &  filename,
FrameList frames 
)
void core::fragment::FragmentIO::read_data ( std::istream &  data,
FrameList all_frames 
)

References core::fragment::tr().

void core::fragment::FragmentIO::set_ncopies ( Size  setting) [inline]

Updates the number of copies of each fragment to keep (default 1)

Referenced by protocols::topology_broker::read_frags().

void core::fragment::FragmentIO::set_read_annotation ( bool  setting = true) [inline]

Toggles between reading annotated (true) and non-annotated (false)

Referenced by protocols::topology_broker::read_frags().

void core::fragment::FragmentIO::set_top_frag_num ( Size  setting) [inline]

Updates the number of distinct fragments to keep.

Referenced by protocols::topology_broker::read_frags().

void core::fragment::FragmentIO::write_data ( std::string const &  file,
FragSet const &  frags 
)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines