Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::loops::loops_definers::LoopsDatabaseDefiner Class Reference

#include <LoopsDatabaseDefiner.hh>

Inheritance diagram for protocols::loops::loops_definers::LoopsDatabaseDefiner:
Inheritance graph
Collaboration diagram for protocols::loops::loops_definers::LoopsDatabaseDefiner:
Collaboration graph

Public Member Functions

 LoopsDatabaseDefiner ()
virtual ~LoopsDatabaseDefiner ()
 LoopsDatabaseDefiner (LoopsDatabaseDefiner const &src)
virtual LoopsDefinerOP clone () const
 Create another loops definer of the type matching the most-derived version of the class. More...
virtual void parse_my_tag (utility::tag::TagPtr const tag, moves::DataMap const &data, core::pose::Pose const &)
 Used to parse an xml-like tag to load parameters and properties. More...
virtual SerializedLoopList apply (core::pose::Pose const &)
- Public Member Functions inherited from protocols::loops::loops_definers::LoopsDefiner
virtual ~LoopsDefiner ()

Private Attributes

utility::sql_database::sessionOP db_session_
std::string database_table_

Detailed Description

@ 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.

Constructor & Destructor Documentation

protocols::loops::loops_definers::LoopsDatabaseDefiner::LoopsDatabaseDefiner ( )

Referenced by clone().

protocols::loops::loops_definers::LoopsDatabaseDefiner::~LoopsDatabaseDefiner ( )
protocols::loops::loops_definers::LoopsDatabaseDefiner::LoopsDatabaseDefiner ( LoopsDatabaseDefiner const &  src)

Member Function Documentation

SerializedLoopList protocols::loops::loops_definers::LoopsDatabaseDefiner::apply ( core::pose::Pose const &  )
LoopsDefinerOP protocols::loops::loops_definers::LoopsDatabaseDefiner::clone ( ) const

Create another loops definer of the type matching the most-derived version of the class.

Implements protocols::loops::loops_definers::LoopsDefiner.

References LoopsDatabaseDefiner().

void protocols::loops::loops_definers::LoopsDatabaseDefiner::parse_my_tag ( utility::tag::TagPtr const  tag,
moves::DataMap const &  data,
core::pose::Pose const &   

Used to parse an xml-like tag to load parameters and properties.

Implements protocols::loops::loops_definers::LoopsDefiner.

References database_table_, and db_session_.

Member Data Documentation

std::string protocols::loops::loops_definers::LoopsDatabaseDefiner::database_table_

Referenced by apply(), and parse_my_tag().

utility::sql_database::sessionOP protocols::loops::loops_definers::LoopsDatabaseDefiner::db_session_

Referenced by parse_my_tag().

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