Rosetta 3.4
|
Abstract base class for classes that writes different types of silent-files that contain a mixture of Struct objects which are expected to be uniquely identified by some sort of string-based tag. More...
#include <RawFileData.hh>
Classes | |
class | const_iterator |
const_iterator class for RawFileData container. More... | |
class | iterator |
Iterator class for RawFileData container. More... | |
Public Member Functions | |
RawFileData () | |
virtual | ~RawFileData () |
Destructor. | |
int | size () const |
Returns the number of structures contained in this container. | |
int | nres () const |
Returns the number of residues in the first structure in this object. Not guaranteed to be fixed for all structures in this container. | |
std::string | sequence () const |
Returns the sequence of the first structure in this object. Not guaranteed to be fixed for all structures in this container. | |
void | clear_structure_map () |
Remove all of the RawStruct objects from this object. | |
utility::vector1< std::string > | read_tags_fast (std::string const filename) const |
quickly read a list of tags from a silent-input file. Only checks lines beginning with SCORE: strings. | |
void | write_all (const std::string filename, std::map< std::string, core::Real > const &score_map) |
write all RawStruct objects in the structure_map_ to the given filename. | |
iterator | begin () |
Returns an iterator to the start of the members of this container. | |
iterator | end () |
Returns an iterator to the end of the members of this container. | |
const_iterator | begin_const () const |
const_iterator | end_const () const |
Protected Attributes | |
StructureMap | structure_map_ |
std::string | sequence_ |
Abstract base class for classes that writes different types of silent-files that contain a mixture of Struct objects which are expected to be uniquely identified by some sort of string-based tag.
core::io::raw_data::RawFileData::RawFileData | ( | ) | [inline] |
virtual core::io::raw_data::RawFileData::~RawFileData | ( | ) | [inline, virtual] |
Destructor.
References clear_structure_map().
iterator core::io::raw_data::RawFileData::begin | ( | ) | [inline] |
Returns an iterator to the start of the members of this container.
References structure_map_.
Referenced by write_all().
const_iterator core::io::raw_data::RawFileData::begin_const | ( | ) | const [inline] |
References structure_map_.
Referenced by nres().
void core::io::raw_data::RawFileData::clear_structure_map | ( | ) | [inline] |
Remove all of the RawStruct objects from this object.
References structure_map_.
Referenced by ~RawFileData().
iterator core::io::raw_data::RawFileData::end | ( | ) | [inline] |
Returns an iterator to the end of the members of this container.
References structure_map_.
Referenced by write_all().
const_iterator core::io::raw_data::RawFileData::end_const | ( | ) | const [inline] |
References structure_map_.
int core::io::raw_data::RawFileData::nres | ( | ) | const [inline] |
Returns the number of residues in the first structure in this object. Not guaranteed to be fixed for all structures in this container.
References begin_const().
utility::vector1< std::string > core::io::raw_data::RawFileData::read_tags_fast | ( | std::string const | filename | ) | const |
quickly read a list of tags from a silent-input file. Only checks lines beginning with SCORE: strings.
Referenced by protocols::jobdist::PlainRawJobDistributor::PlainRawJobDistributor().
std::string core::io::raw_data::RawFileData::sequence | ( | ) | const [inline] |
Returns the sequence of the first structure in this object. Not guaranteed to be fixed for all structures in this container.
References sequence_.
int core::io::raw_data::RawFileData::size | ( | ) | const [inline] |
Returns the number of structures contained in this container.
References structure_map_.
void core::io::raw_data::RawFileData::write_all | ( | const std::string | filename, |
std::map< std::string, core::Real > const & | score_map | ||
) |
write all RawStruct objects in the structure_map_ to the given filename.
References begin(), end(), and protocols::swa::rna::file_exists().
std::string core::io::raw_data::RawFileData::sequence_ [protected] |
Referenced by sequence().
Referenced by begin(), begin_const(), clear_structure_map(), end(), end_const(), and size().