Rosetta
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::features::TotalScoreFeatures Class Reference

#include <TotalScoreFeatures.hh>

Inheritance diagram for protocols::features::TotalScoreFeatures:
Inheritance graph
[legend]

Public Member Functions

 TotalScoreFeatures ()
 Default constructor. More...
 
 TotalScoreFeatures (core::scoring::ScoreFunctionOP scorefxn)
 Constructor with score function argument. More...
 
 ~TotalScoreFeatures () override
 Default destructor. More...
 
core::scoring::ScoreFunctionCOP scorefxn () const
 
void scorefxn (core::scoring::ScoreFunctionOP scorefxn)
 Set the score function being reported by this object. More...
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data) override
 
void write_schema_to_db (utility::sql_database::sessionOP db_session) const override
 Define the schema and write it to the database. This is most easily achieved using the schema_generator. Once everything has converted to the schema generator this should be made a pure virtual. More...
 
core::Size report_features (core::pose::Pose const &pose, utility::vector1< bool > const &relevant_residues, StructureID struct_id, utility::sql_database::sessionOP db_session) override
 collect all the feature data for the pose. More...
 
std::string type_name () const override
 
- Public Member Functions inherited from protocols::features::FeaturesReporter
 FeaturesReporter ()
 
 ~FeaturesReporter () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
virtual std::string schema () const
 return sql statements that sets up the appropriate tables to contain the features. This should be removed once everything has been moved to the schema generator More...
 
virtual utility::vector1< std::string > features_reporter_dependencies () const
 return the set of features reporters that are required to also already be extracted by the time this one is used. More...
 
core::Size report_features (core::pose::Pose const &, StructureID, utility::sql_database::sessionOP)
 collect all the feature data for the pose. More...
 
virtual void load_into_pose (utility::sql_database::sessionOP, StructureID, core::pose::Pose &)
 
virtual void delete_record (StructureID, utility::sql_database::sessionOP)
 
void set_relevant_residues_mode (RelevantResiduesMode::T setting)
 
RelevantResiduesMode::T get_relevant_residues_mode () const
 
bool check_relevant_residues (utility::vector1< bool > const &relevant_residues, core::Size res1) const
 
bool check_relevant_residues (utility::vector1< bool > const &relevant_residues, core::Size res1, core::Size res2) const
 
bool check_relevant_residues_range (utility::vector1< bool > const &relevant_residues, core::Size res1, core::Size res2) const
 
bool check_relevant_residues (utility::vector1< bool > const &relevant_residues, utility::vector1< core::Size > const &residues) const
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Private Attributes

core::scoring::ScoreFunctionOP scorefxn_
 

Additional Inherited Members

- Protected Member Functions inherited from protocols::features::FeaturesReporter
std::string find_tag (core::pose::Pose const &pose) const
 
void delete_records_from_table (std::string const &table_name, StructureID struct_id, utility::sql_database::sessionOP db_session)
 a helper function for deleting data associated with a given structure from feature database WARNING table_name must be sanitized! More...
 
- Protected Attributes inherited from protocols::features::FeaturesReporter
RelevantResiduesMode::T relevant_residues_mode_
 

Constructor & Destructor Documentation

◆ TotalScoreFeatures() [1/2]

protocols::features::TotalScoreFeatures::TotalScoreFeatures ( )

Default constructor.

◆ TotalScoreFeatures() [2/2]

protocols::features::TotalScoreFeatures::TotalScoreFeatures ( core::scoring::ScoreFunctionOP  scorefxn)

Constructor with score function argument.

◆ ~TotalScoreFeatures()

protocols::features::TotalScoreFeatures::~TotalScoreFeatures ( )
overridedefault

Default destructor.

Member Function Documentation

◆ class_name()

std::string protocols::features::TotalScoreFeatures::class_name ( )
static

◆ parse_my_tag()

void protocols::features::TotalScoreFeatures::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap data 
)
overridevirtual

Reimplemented from protocols::features::FeaturesReporter.

References scorefxn_, and type_name().

◆ provide_xml_schema()

void protocols::features::TotalScoreFeatures::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ report_features()

Size protocols::features::TotalScoreFeatures::report_features ( core::pose::Pose const &  pose,
utility::vector1< bool > const &  relevant_residues,
StructureID  struct_id,
utility::sql_database::sessionOP  db_session 
)
overridevirtual

collect all the feature data for the pose.

Implements protocols::features::FeaturesReporter.

References scorefxn_, and core::scoring::total_score.

◆ scorefxn() [1/2]

ScoreFunctionCOP protocols::features::TotalScoreFeatures::scorefxn ( ) const

Get the score function being reported by this object.

References scorefxn_.

Referenced by scorefxn().

◆ scorefxn() [2/2]

void protocols::features::TotalScoreFeatures::scorefxn ( core::scoring::ScoreFunctionOP  scorefxn)

Set the score function being reported by this object.

References scorefxn(), and scorefxn_.

◆ type_name()

std::string protocols::features::TotalScoreFeatures::type_name ( ) const
overridevirtual

Reimplemented from protocols::features::FeaturesReporter.

References class_name().

Referenced by parse_my_tag().

◆ write_schema_to_db()

void protocols::features::TotalScoreFeatures::write_schema_to_db ( utility::sql_database::sessionOP  db_session) const
overridevirtual

Define the schema and write it to the database. This is most easily achieved using the schema_generator. Once everything has converted to the schema generator this should be made a pure virtual.

Implements protocols::features::FeaturesReporter.

References protocols::hybridization::score.

Member Data Documentation

◆ scorefxn_

core::scoring::ScoreFunctionOP protocols::features::TotalScoreFeatures::scorefxn_
private

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