Rosetta Protocols  2014.35
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::features::TaskOperationFeatures Class Reference

#include <TaskOperationFeatures.hh>

Classes

struct  Taskop_id_name_factory_
 

Public Member Functions

 TaskOperationFeatures ()
 
 TaskOperationFeatures (TaskOperationFeatures const &src)
 
virtual ~TaskOperationFeatures ()
 
std::string type_name () const
 return string with class name More...
 
void write_schema_to_db (utility::sql_database::sessionOP db_session) const
 generate the table schemas and write them to the database More...
 
utility::vector1< std::stringfeatures_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...
 
void parse_my_tag (utility::tag::TagPtr const tag, basic::datacache::DataMap &data, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
core::Size report_features (core::pose::Pose const &pose, utility::vector1< bool > const &relevant_residues, StructureID struct_id, utility::sql_database::sessionOP db_session)
 collect all the feature data for the pose More...
 
void insert_task_operations_row (core::Size const taskop_id, std::string const &taskop_name, utility::sql_database::sessionOP db_session)
 
void insert_task_operation_residue_effects_row (StructureID const struct_id, core::Size const resNum, core::Size const taskop_id, bool pack, bool design, utility::sql_database::sessionOP db_session)
 
- Public Member Functions inherited from protocols::features::FeaturesReporter
 FeaturesReporter ()
 
virtual ~FeaturesReporter ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. 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...
 
core::Size report_features (core::pose::Pose const &, StructureID, utility::sql_database::sessionOP)
 collect all the feature data for the pose. More...
 
virtual void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
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
 

Private Member Functions

void write_task_operations_table_schema (utility::sql_database::sessionOP db_session) const
 
void write_task_operation_residue_effects_table_schema (utility::sql_database::sessionOP db_session) const
 

Private Attributes

bool run_once_
 
utility::vector1
< Taskop_id_name_factory_
taskops_
 

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

protocols::features::TaskOperationFeatures::TaskOperationFeatures ( )
protocols::features::TaskOperationFeatures::TaskOperationFeatures ( TaskOperationFeatures const &  src)
protocols::features::TaskOperationFeatures::~TaskOperationFeatures ( )
virtual

Member Function Documentation

utility::vector1< std::string > protocols::features::TaskOperationFeatures::features_reporter_dependencies ( ) const
virtual

return the set of features reporters that are required to also already be extracted by the time this one is used.

Reimplemented from protocols::features::FeaturesReporter.

void protocols::features::TaskOperationFeatures::insert_task_operation_residue_effects_row ( StructureID const  struct_id,
core::Size const  resNum,
core::Size const  taskop_id,
bool  pack,
bool  design,
utility::sql_database::sessionOP  db_session 
)
void protocols::features::TaskOperationFeatures::insert_task_operations_row ( core::Size const  taskop_id,
std::string const &  taskop_name,
utility::sql_database::sessionOP  db_session 
)
void protocols::features::TaskOperationFeatures::parse_my_tag ( utility::tag::TagPtr const  tag,
basic::datacache::DataMap data,
protocols::filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &   
)
Size protocols::features::TaskOperationFeatures::report_features ( core::pose::Pose const &  pose,
utility::vector1< bool > const &  relevant_residues,
StructureID  struct_id,
utility::sql_database::sessionOP  db_session 
)
virtual
string protocols::features::TaskOperationFeatures::type_name ( ) const
virtual

return string with class name

Reimplemented from protocols::features::FeaturesReporter.

Referenced by parse_my_tag().

void protocols::features::TaskOperationFeatures::write_schema_to_db ( utility::sql_database::sessionOP  db_session) const
virtual

generate the table schemas and write them to the database

Implements protocols::features::FeaturesReporter.

References write_task_operation_residue_effects_table_schema(), and write_task_operations_table_schema().

void protocols::features::TaskOperationFeatures::write_task_operation_residue_effects_table_schema ( utility::sql_database::sessionOP  db_session) const
private
void protocols::features::TaskOperationFeatures::write_task_operations_table_schema ( utility::sql_database::sessionOP  db_session) const
private

Member Data Documentation

bool protocols::features::TaskOperationFeatures::run_once_
private
utility::vector1<Taskop_id_name_factory_> protocols::features::TaskOperationFeatures::taskops_
private

Referenced by parse_my_tag(), and report_features().


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