![]() |
Rosetta
2021.16
|
#include <MatchScoreWriter.hh>

Public Member Functions | |
| MatchScoreWriter () | |
| Default constructor. More... | |
| MatchScoreWriter (MatchScoreWriter const &object_to_copy) | |
| Copy constructor. More... | |
| MatchScoreWriter & | operator= (MatchScoreWriter const &object_to_copy) |
| ~MatchScoreWriter () override | |
| virtual void | show (std::ostream &output=std::cout) const |
| Generate string representation of MatchScoreWriter for debugging purposes. More... | |
| virtual void | add_match (std::string match_name, core::Real score) |
| Add a match name (along with score) to be outputed in score file. More... | |
| virtual void | add_match (core::Real score) |
| Add an unnamed match (along with score) to be outputed in score file. More... | |
| virtual void | write_match_scores () |
| Write out the match scores once all scores have been added. More... | |
| virtual void | set_output_filename (std::string output_filename) |
| Set output filename, which also turns on output. More... | |
| virtual void | set_output (bool output_on) |
| Set whether or not to output. More... | |
Private Member Functions | |
| void | copy_data (MatchScoreWriter object_to_copy_to, MatchScoreWriter object_to_copy_from) |
| void | init () |
Private Attributes | |
| std::string | score_output_filename_ |
| utility::vector1< std::string > | match_names_ |
| utility::vector1< core::Real > | match_scores_ |
| std::string | output_header_ |
| bool | write_file_ |
| core::Real | generic_output_number_ |
Friends | |
| std::ostream & | operator<< (std::ostream &output, MatchScoreWriter const &object_to_output) |
Writes out a score file based on the sum of RMS of geometric constrainst satisfaction with the desired ligan positioning
| protocols::match::output::MatchScoreWriter::MatchScoreWriter | ( | ) |
Default constructor.
default is to not really do much of anything, unless filename output is set
References init().
| protocols::match::output::MatchScoreWriter::MatchScoreWriter | ( | MatchScoreWriter const & | object_to_copy | ) |
Copy constructor.
References copy_data().
|
overridedefault |
|
virtual |
Add a match name (along with score) to be outputed in score file.
Add a match (along with score) to be outputted in score file.
References match_names_, and match_scores_.
|
virtual |
Add an unnamed match (along with score) to be outputed in score file.
Each additional match will have an incremented name
References generic_output_number_, match_names_, and match_scores_.
|
private |
References generic_output_number_, output_header_, score_output_filename_, and write_file_.
Referenced by MatchScoreWriter(), and operator=().
|
private |
References generic_output_number_, output_header_, score_output_filename_, and write_file_.
Referenced by MatchScoreWriter().
| MatchScoreWriter & protocols::match::output::MatchScoreWriter::operator= | ( | MatchScoreWriter const & | object_to_copy | ) |
References copy_data().
|
virtual |
|
virtual |
Set output filename, which also turns on output.
References score_output_filename_, and set_output().
|
virtual |
Generate string representation of MatchScoreWriter for debugging purposes.
References match_names_, match_scores_, and output_header_.
Referenced by protocols::match::output::operator<<().
|
virtual |
Write out the match scores once all scores have been added.
References match_names_, match_scores_, output_header_, score_output_filename_, protocols::match::output::TR(), and write_file_.
|
friend |
|
private |
Referenced by add_match(), copy_data(), and init().
|
private |
Referenced by add_match(), show(), and write_match_scores().
|
private |
Referenced by add_match(), show(), and write_match_scores().
|
private |
Referenced by copy_data(), init(), show(), and write_match_scores().
|
private |
Referenced by copy_data(), init(), set_output_filename(), and write_match_scores().
|
private |
Referenced by copy_data(), init(), set_output(), and write_match_scores().
1.8.7