Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::rotamer_recovery::RRReporterSQLite Class Reference

#include <RRReporterSQLite.hh>

Inheritance diagram for protocols::rotamer_recovery::RRReporterSQLite:
Inheritance graph
[legend]

Public Member Functions

 RRReporterSQLite ()
 
 RRReporterSQLite (std::string const &database_name, std::string const &database_pq_schema="", OutputLevel output_level=protocols::rotamer_recovery::OL_full)
 
 RRReporterSQLite (utility::sql_database::sessionOP db_session, OutputLevel output_level=protocols::rotamer_recovery::OL_full)
 
 ~RRReporterSQLite () override
 
 RRReporterSQLite (RRReporterSQLite const &)
 
void write_schema_to_db (utility::sql_database::sessionOP db_session) const
 generate the table schemas and write them to the database More...
 
void set_protocol_info (std::string const &protocol_name, std::string const &protocol_params) override
 
void set_comparer_info (std::string const &comparer_name, std::string const &comparer_params) override
 
void db_session (utility::sql_database::sessionOP db_session)
 
utility::sql_database::sessionOP db_session ()
 
void set_output_level (OutputLevel output_level)
 
OutputLevel get_output_level () const
 
void set_struct_id1 (protocols::features::StructureID const struct_id1)
 
protocols::features::StructureID get_struct_id1 () const
 
void set_predicted_report_to_db (features::ReportToDBOP report_to_db)
 
void reset_recovery () override
 
void report_rotamer_recovery (core::pose::Pose const &pose1, core::pose::Pose const &pose2, core::conformation::Residue const &res1, core::conformation::Residue const &res2, core::Real score, bool recovered) override
 
virtual void report_rotamer_recovery_full (core::pose::Pose const &pose1, core::pose::Pose const &pose2, core::conformation::Residue const &res1, core::conformation::Residue const &res2, core::Real score, bool recovered)
 
virtual void report_rotamer_recovery_features (protocols::features::StructureID struct_id1, core::conformation::Residue const &res1, core::Real score, bool recovered)
 
virtual void report_predicted_features (features::StructureID struct_id1, core::conformation::Residue const &res1, core::pose::Pose const &predicted_pose, core::conformation::Residue const &predicted_res)
 
core::Real recovery_rate () const override
 
void show (std::ostream &out) const override
 
void show () const override
 
- Public Member Functions inherited from protocols::rotamer_recovery::RRReporter
 ~RRReporter () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 

Private Member Functions

void write_nchi_table_schema (utility::sql_database::sessionOP db_session) const
 generate the nchi table schema More...
 
void write_rotamer_recovery_full_table_schema (utility::sql_database::sessionOP db_session) const
 generate the full rotamer_recovery table schema More...
 
void write_rotamer_recovery_features_table_schema (utility::sql_database::sessionOP db_session) const
 generate the features rotamer_recovery table schema More...
 
void write_predicted_features_table_schema (utility::sql_database::sessionOP db_session) const
 generate the predicted_features table schema More...
 

Private Attributes

OutputLevel output_level_
 
protocols::features::StructureID struct_id1_
 
protocols::features::ReportToDBOP report_to_db_
 
std::string protocol_name_
 
std::string protocol_params_
 
std::string comparer_name_
 
std::string comparer_params_
 
core::Size residues_considered_
 
core::Size rotamers_recovered_
 
std::string database_name_
 
std::string database_pq_schema_
 
utility::sql_database::sessionOP db_session_
 

Constructor & Destructor Documentation

protocols::rotamer_recovery::RRReporterSQLite::RRReporterSQLite ( )
protocols::rotamer_recovery::RRReporterSQLite::RRReporterSQLite ( std::string const &  database_name,
std::string const &  database_pq_schema = "",
OutputLevel  output_level = protocols::rotamer_recovery::OL_full 
)
protocols::rotamer_recovery::RRReporterSQLite::RRReporterSQLite ( utility::sql_database::sessionOP  db_session,
OutputLevel  output_level = protocols::rotamer_recovery::OL_full 
)
protocols::rotamer_recovery::RRReporterSQLite::~RRReporterSQLite ( )
overridedefault
protocols::rotamer_recovery::RRReporterSQLite::RRReporterSQLite ( RRReporterSQLite const &  src)

Member Function Documentation

void protocols::rotamer_recovery::RRReporterSQLite::db_session ( utility::sql_database::sessionOP  db_session)
sessionOP protocols::rotamer_recovery::RRReporterSQLite::db_session ( )
OutputLevel protocols::rotamer_recovery::RRReporterSQLite::get_output_level ( ) const

References output_level_.

StructureID protocols::rotamer_recovery::RRReporterSQLite::get_struct_id1 ( ) const

References struct_id1_.

Real protocols::rotamer_recovery::RRReporterSQLite::recovery_rate ( ) const
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::report_predicted_features ( features::StructureID  struct_id1,
core::conformation::Residue const &  res1,
core::pose::Pose const &  predicted_pose,
core::conformation::Residue const &  predicted_res 
)
virtual
void protocols::rotamer_recovery::RRReporterSQLite::report_rotamer_recovery ( core::pose::Pose const &  pose1,
core::pose::Pose const &  pose2,
core::conformation::Residue const &  res1,
core::conformation::Residue const &  res2,
core::Real  score,
bool  recovered 
)
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::report_rotamer_recovery_features ( protocols::features::StructureID  struct_id1,
core::conformation::Residue const &  res1,
core::Real  score,
bool  recovered 
)
virtual
void protocols::rotamer_recovery::RRReporterSQLite::report_rotamer_recovery_full ( core::pose::Pose const &  pose1,
core::pose::Pose const &  pose2,
core::conformation::Residue const &  res1,
core::conformation::Residue const &  res2,
core::Real  score,
bool  recovered 
)
virtual
void protocols::rotamer_recovery::RRReporterSQLite::reset_recovery ( )
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::set_comparer_info ( std::string const &  comparer_name,
std::string const &  comparer_params 
)
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::set_output_level ( OutputLevel  output_level)

References output_level_.

void protocols::rotamer_recovery::RRReporterSQLite::set_predicted_report_to_db ( features::ReportToDBOP  report_to_db)

References report_to_db_.

void protocols::rotamer_recovery::RRReporterSQLite::set_protocol_info ( std::string const &  protocol_name,
std::string const &  protocol_params 
)
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::set_struct_id1 ( protocols::features::StructureID const  struct_id1)

References struct_id1_.

void protocols::rotamer_recovery::RRReporterSQLite::show ( std::ostream &  out) const
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::show ( ) const
overridevirtual
void protocols::rotamer_recovery::RRReporterSQLite::write_nchi_table_schema ( utility::sql_database::sessionOP  db_session) const
private

generate the nchi table schema

References db_session().

Referenced by write_schema_to_db().

void protocols::rotamer_recovery::RRReporterSQLite::write_predicted_features_table_schema ( utility::sql_database::sessionOP  db_session) const
private

generate the predicted_features table schema

Referenced by write_schema_to_db().

void protocols::rotamer_recovery::RRReporterSQLite::write_rotamer_recovery_features_table_schema ( utility::sql_database::sessionOP  db_session) const
private

generate the features rotamer_recovery table schema

Referenced by write_schema_to_db().

void protocols::rotamer_recovery::RRReporterSQLite::write_rotamer_recovery_full_table_schema ( utility::sql_database::sessionOP  db_session) const
private

generate the full rotamer_recovery table schema

References protocols::hybridization::score.

Referenced by write_schema_to_db().

void protocols::rotamer_recovery::RRReporterSQLite::write_schema_to_db ( utility::sql_database::sessionOP  db_session) const

Member Data Documentation

std::string protocols::rotamer_recovery::RRReporterSQLite::comparer_name_
private
std::string protocols::rotamer_recovery::RRReporterSQLite::comparer_params_
private
std::string protocols::rotamer_recovery::RRReporterSQLite::database_name_
private
std::string protocols::rotamer_recovery::RRReporterSQLite::database_pq_schema_
private
utility::sql_database::sessionOP protocols::rotamer_recovery::RRReporterSQLite::db_session_
private

Referenced by db_session().

OutputLevel protocols::rotamer_recovery::RRReporterSQLite::output_level_
private
std::string protocols::rotamer_recovery::RRReporterSQLite::protocol_name_
private
std::string protocols::rotamer_recovery::RRReporterSQLite::protocol_params_
private
protocols::features::ReportToDBOP protocols::rotamer_recovery::RRReporterSQLite::report_to_db_
private
core::Size protocols::rotamer_recovery::RRReporterSQLite::residues_considered_
private
core::Size protocols::rotamer_recovery::RRReporterSQLite::rotamers_recovered_
private
protocols::features::StructureID protocols::rotamer_recovery::RRReporterSQLite::struct_id1_
private

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