Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::match::output::OutputWriter Class Referenceabstract

#include <OutputWriter.hh>

Inheritance diagram for protocols::match::output::OutputWriter:
Inheritance graph
[legend]

Public Member Functions

 OutputWriter ()
 
 ~OutputWriter () override
 
protocols::toolbox::match_enzdes_util::EnzConstraintIOCOP cst_io () const
 
virtual void record_match (match const &m, MatchEvaluatorOP evaluator, MatchScoreWriterOP match_score_writer)=0
 
virtual void record_match (match_dspos1 const &m)=0
 evaluator and score writer are not passed in because single-downstream-position match currently have no way of being evaluated More...
 
void determine_redundant_upstream_matchres (match_dspos1 const &m, std::map< core::Size, core::Size > &redundant_upstream_res) const
 determine if any upstream res are at the same scaffold position, i.e. if one of them is a backbone interaction the redundant_upstream_res map is a mapping from the redundant geometric constraint id of the redundant residue to the geomcst_id of the "nonredundant" res i.e. if cstres 1 happens to be a cys at position 10 and cstres 3 is a gly at position 10 (and it's backbone is used in satisfying constraint 3), the mapping will contain the 3,1 pair. More...
 
virtual void prepare_for_output_writing ()
 
virtual void end_output_writing ()
 
virtual void initialize_from_matcher_task (MatcherTaskCOP mtask)
 

Private Attributes

protocols::toolbox::match_enzdes_util::EnzConstraintIOCOP cst_io_
 

Constructor & Destructor Documentation

protocols::match::output::OutputWriter::OutputWriter ( )
protocols::match::output::OutputWriter::~OutputWriter ( )
overridedefault

Member Function Documentation

protocols::toolbox::match_enzdes_util::EnzConstraintIOCOP protocols::match::output::OutputWriter::cst_io ( ) const

References cst_io_.

void protocols::match::output::OutputWriter::determine_redundant_upstream_matchres ( match_dspos1 const &  m,
std::map< core::Size, core::Size > &  redundant_upstream_res 
) const

determine if any upstream res are at the same scaffold position, i.e. if one of them is a backbone interaction the redundant_upstream_res map is a mapping from the redundant geometric constraint id of the redundant residue to the geomcst_id of the "nonredundant" res i.e. if cstres 1 happens to be a cys at position 10 and cstres 3 is a gly at position 10 (and it's backbone is used in satisfying constraint 3), the mapping will contain the 3,1 pair.

References cst_io_, core::id::to_string(), and protocols::match::match_dspos1::upstream_hits.

Referenced by protocols::match::output::PoseMatchOutputWriter::insert_match_into_pose(), protocols::match::output::PDBWriter::record_match(), and protocols::match::output::CloudPDBWriter::write_match_groups().

virtual void protocols::match::output::OutputWriter::end_output_writing ( )
inlinevirtual
void protocols::match::output::OutputWriter::initialize_from_matcher_task ( MatcherTaskCOP  mtask)
virtual
virtual void protocols::match::output::OutputWriter::prepare_for_output_writing ( )
inlinevirtual
virtual void protocols::match::output::OutputWriter::record_match ( match const &  m,
MatchEvaluatorOP  evaluator,
MatchScoreWriterOP  match_score_writer 
)
pure virtual
virtual void protocols::match::output::OutputWriter::record_match ( match_dspos1 const &  m)
pure virtual

evaluator and score writer are not passed in because single-downstream-position match currently have no way of being evaluated

Implemented in protocols::match::output::CloudPDBWriter, protocols::match::output::PDBWriter, and protocols::match::output::WriteKinemageOutputter.

Member Data Documentation

protocols::toolbox::match_enzdes_util::EnzConstraintIOCOP protocols::match::output::OutputWriter::cst_io_
private

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