Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
core::io::raw_data::DecoyFileData Class Reference

#include <DecoyFileData.hh>

Inheritance diagram for core::io::raw_data::DecoyFileData:
Inheritance graph
[legend]

Public Member Functions

 DecoyFileData (std::string filename)
 
bool write_struct (const DecoyStruct s, std::map< std::string, core::Real > const &score_map)
 write the given DecoyStruct to the supplied filename. More...
 
bool write_pose (const core::pose::Pose &pose, std::map< std::string, core::Real > const &score_map, std::string tag, bool fullatom)
 write the given DecoyStruct to the supplied filename. More...
 
- Public Member Functions inherited from core::io::raw_data::RawFileData
 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 (std::string const &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
 

Private Attributes

std::string filename_
 

Additional Inherited Members

- Protected Attributes inherited from core::io::raw_data::RawFileData
StructureMap structure_map_
 
std::string sequence_
 

Constructor & Destructor Documentation

core::io::raw_data::DecoyFileData::DecoyFileData ( std::string  filename)
inline

Member Function Documentation

bool core::io::raw_data::DecoyFileData::write_pose ( const core::pose::Pose pose,
std::map< std::string, core::Real > const &  score_map,
std::string  tag = "empty_tag",
bool  fullatom = false 
)

write the given DecoyStruct to the supplied filename.

References write_struct().

Referenced by protocols::jobdist::PlainRawJobDistributor::dump_pose_and_map().

bool core::io::raw_data::DecoyFileData::write_struct ( const DecoyStruct  s,
std::map< std::string, core::Real > const &  score_map 
)

Member Data Documentation

std::string core::io::raw_data::DecoyFileData::filename_
private

Referenced by write_struct().


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