![]() |
Rosetta
2021.16
|
#include <LoopsDatabaseDefiner.hh>

Public Member Functions | |
| LoopsDatabaseDefiner () | |
| ~LoopsDatabaseDefiner () override | |
| LoopsDatabaseDefiner (LoopsDatabaseDefiner const &src) | |
| LoopsDefinerOP | clone () const override |
| Create another loops definer of the type matching the most-derived version of the class. More... | |
| void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap const &data) override |
| Used to parse an xml-like tag to load parameters and properties. More... | |
| SerializedLoopList | apply (core::pose::Pose const &) override |
Public Member Functions inherited from protocols::loops::loops_definers::LoopsDefiner | |
| ~LoopsDefiner () override | |
Static Public Member Functions | |
| static std::string | class_name () |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
| utility::sql_database::sessionOP | db_session_ |
| std::string | database_table_ |
@ details given a database table with the following schema, defining a single loop per row
CREATE TABLE loops ( tag TEXT, start INTEGER, stop INTEGER, cut INTEGER, skip_rate REAL, extended BOOLEAN);
return all loops associated with the job distributor input tag Note: you can specify a different table using the 'database_table' field
Note: if you would like to query the database for loops differently, you can either pre-query the table and store it, or extend, subclass, or create a different LoopsDefiner class.
| protocols::loops::loops_definers::LoopsDatabaseDefiner::LoopsDatabaseDefiner | ( | ) |
|
overridedefault |
|
default |
|
overridevirtual |
Implements protocols::loops::loops_definers::LoopsDefiner.
References protocols::jd2::current_input_tag(), protocols::loops::SerializedLoop::cut, database_table_, protocols::pack_daemon::error_message, protocols::loops::SerializedLoop::extended, protocols::loops::SerializedLoop::skip_rate, protocols::loops::SerializedLoop::start, and protocols::loops::SerializedLoop::stop.
|
static |
|
overridevirtual |
Create another loops definer of the type matching the most-derived version of the class.
Implements protocols::loops::loops_definers::LoopsDefiner.
|
overridevirtual |
Used to parse an xml-like tag to load parameters and properties.
Implements protocols::loops::loops_definers::LoopsDefiner.
References database_table_, db_session_, and protocols::rosetta_scripts::parse_database_session().
|
static |
|
private |
Referenced by apply(), and parse_my_tag().
|
private |
Referenced by parse_my_tag().
1.8.7