Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | 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]
Collaboration diagram for protocols::rotamer_recovery::RRReporterSQLite:
Collaboration graph
[legend]

Classes

struct  OutputLevel
 

Public Member Functions

 RRReporterSQLite ()
 
 RRReporterSQLite (std::string const &database_name, std::string const &database_pq_schema="", OutputLevel::e const output_level=OutputLevel::full)
 
 RRReporterSQLite (utility::sql_database::sessionOP db_session, OutputLevel::e const output_level=OutputLevel::full)
 
 ~RRReporterSQLite ()
 
 RRReporterSQLite (RRReporterSQLite const &)
 
void write_schema_to_db (utility::sql_database::sessionOP db_session, OutputLevel::e output_level=OutputLevel::full) 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)
 
void set_comparer_info (std::string const &comparer_name, std::string const &comparer_params)
 
utility::sql_database::sessionOP db_session ()
 
void set_output_level (OutputLevel::e const output_level)
 
OutputLevel::e get_output_level () const
 
void set_struct_id1 (boost::uuids::uuid const struct_id1)
 
boost::uuids::uuid get_struct_id1 () const
 
void set_struct_id2 (boost::uuids::uuid const struct_id1)
 
boost::uuids::uuid get_struct_id2 () const
 
virtual void reset_recovery ()
 
virtual 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)
 
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 (boost::uuids::uuid struct_id1, core::conformation::Residue const &res1, core::Real score, bool recovered)
 
virtual core::Real recovery_rate () const
 
virtual void show (std::ostream &out) const
 
virtual void show () const
 
- Public Member Functions inherited from protocols::rotamer_recovery::RRReporter
virtual ~RRReporter ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. 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...
 

Private Attributes

OutputLevel::e output_level_
 
boost::uuids::uuid struct_id1_
 
boost::uuids::uuid struct_id2_
 
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::e const  output_level = OutputLevel::full 
)
protocols::rotamer_recovery::RRReporterSQLite::RRReporterSQLite ( utility::sql_database::sessionOP  db_session,
OutputLevel::e const  output_level = OutputLevel::full 
)
protocols::rotamer_recovery::RRReporterSQLite::~RRReporterSQLite ( )
protocols::rotamer_recovery::RRReporterSQLite::RRReporterSQLite ( RRReporterSQLite const &  src)

Member Function Documentation

sessionOP protocols::rotamer_recovery::RRReporterSQLite::db_session ( )
RRReporterSQLite::OutputLevel::e protocols::rotamer_recovery::RRReporterSQLite::get_output_level ( ) const

References output_level_.

Referenced by db_session().

boost::uuids::uuid protocols::rotamer_recovery::RRReporterSQLite::get_struct_id1 ( ) const

References struct_id1_.

boost::uuids::uuid protocols::rotamer_recovery::RRReporterSQLite::get_struct_id2 ( ) const

References struct_id2_.

Real protocols::rotamer_recovery::RRReporterSQLite::recovery_rate ( ) const
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 
)
virtual
void protocols::rotamer_recovery::RRReporterSQLite::report_rotamer_recovery_features ( boost::uuids::uuid  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 ( )
virtual
void protocols::rotamer_recovery::RRReporterSQLite::set_comparer_info ( std::string const &  comparer_name,
std::string const &  comparer_params 
)
virtual
void protocols::rotamer_recovery::RRReporterSQLite::set_output_level ( OutputLevel::e const  output_level)

References output_level_.

void protocols::rotamer_recovery::RRReporterSQLite::set_protocol_info ( std::string const &  protocol_name,
std::string const &  protocol_params 
)
virtual
void protocols::rotamer_recovery::RRReporterSQLite::set_struct_id1 ( boost::uuids::uuid const  struct_id1)

References struct_id1_.

void protocols::rotamer_recovery::RRReporterSQLite::set_struct_id2 ( boost::uuids::uuid const  struct_id1)

References struct_id1_.

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

generate the nchi 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

Referenced by write_schema_to_db().

void protocols::rotamer_recovery::RRReporterSQLite::write_schema_to_db ( utility::sql_database::sessionOP  db_session,
OutputLevel::e  output_level = OutputLevel::full 
) 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

Referenced by db_session().

std::string protocols::rotamer_recovery::RRReporterSQLite::database_pq_schema_
private

Referenced by db_session().

utility::sql_database::sessionOP protocols::rotamer_recovery::RRReporterSQLite::db_session_
private
OutputLevel::e 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
core::Size protocols::rotamer_recovery::RRReporterSQLite::residues_considered_
private
core::Size protocols::rotamer_recovery::RRReporterSQLite::rotamers_recovered_
private
boost::uuids::uuid protocols::rotamer_recovery::RRReporterSQLite::struct_id1_
private
boost::uuids::uuid protocols::rotamer_recovery::RRReporterSQLite::struct_id2_
private

Referenced by get_struct_id2().


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