![]() |
Rosetta Core
2014.35
|
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. More... | |
int | size () const |
Returns the number of structures contained in this container. More... | |
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. More... | |
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. More... | |
void | clear_structure_map () |
Remove all of the RawStruct objects from this object. More... | |
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. More... | |
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. More... | |
iterator | begin () |
Returns an iterator to the start of the members of this container. More... | |
iterator | end () |
Returns an iterator to the end of the members of this container. More... | |
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.
|
inline |
|
inlinevirtual |
Destructor.
References clear_structure_map().
|
inline |
Returns an iterator to the start of the members of this container.
References structure_map_.
Referenced by write_all().
|
inline |
References structure_map_.
Referenced by nres().
|
inline |
Remove all of the RawStruct objects from this object.
References structure_map_.
Referenced by ~RawFileData().
|
inline |
Returns an iterator to the end of the members of this container.
References structure_map_.
Referenced by write_all().
|
inline |
References structure_map_.
|
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 |
|
inline |
Returns the sequence of the first structure in this object. Not guaranteed to be fixed for all structures in this container.
References sequence_.
|
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(), utility::file::file_exists(), utility::io::ozstream::open(), utility::io::ozstream::open_append(), and output.
|
protected |
Referenced by sequence().
|
protected |
Referenced by begin(), begin_const(), clear_structure_map(), end(), end_const(), and size().