![]() |
Rosetta Protocols
2014.35
|
#include <BatchFeatures.hh>
Public Member Functions | |
BatchFeatures () | |
BatchFeatures (BatchFeatures const &src) | |
virtual | ~BatchFeatures () |
std::string | type_name () const |
return string with class name More... | |
virtual void | write_schema_to_db (utility::sql_database::sessionOP db_session, core::Size batch_id) const |
generate the table schemas and write them to the database More... | |
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... | |
std::string | indices () const |
return sql statements that setup helpful indices on the tables More... | |
core::Size | report_features (core::Size batch_id, core::Size protocol_id, std::string name, std::string description, utility::sql_database::sessionOP db_session) |
return sql statments that add indexes check invariants etc. More... | |
protocols::features::BatchFeatures::BatchFeatures | ( | ) |
protocols::features::BatchFeatures::BatchFeatures | ( | BatchFeatures const & | src | ) |
|
virtual |
utility::vector1< std::string > protocols::features::BatchFeatures::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.
string protocols::features::BatchFeatures::indices | ( | ) | const |
return sql statements that setup helpful indices on the tables
Size protocols::features::BatchFeatures::report_features | ( | core::Size | batch_id, |
core::Size | protocol_id, | ||
std::string | name, | ||
std::string | description, | ||
utility::sql_database::sessionOP | db_session | ||
) |
return sql statments that add indexes check invariants etc.
References basic::database::safely_prepare_statement(), basic::database::safely_read_from_database(), and protocols::features::TR.
string protocols::features::BatchFeatures::type_name | ( | ) | const |
return string with class name
|
virtual |
generate the table schemas and write them to the database
References basic::database::schema_generator::Schema::add_column(), basic::database::schema_generator::Schema::add_foreign_key(), batches, and basic::database::schema_generator::Schema::write().