Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::canonical_sampling::DbTrajectoryReader Class Reference

#include <DbTrajectoryReader.hh>

Public Member Functions

 DbTrajectoryReader ()
 Default constructor. More...
 
 DbTrajectoryReader (Size job_id)
 Constructor which accepts a job id. More...
 
void set_job_id (Size job_id)
 Set the job id. This controls which records are selected. More...
 
Size get_num_iterations () const
 Return the number of iterations that were recorded for this job. More...
 
utility::vector1< Sizeget_iterations () const
 Return a vector listing every iteration recorded for this job. More...
 
Pose get_pose (Size iteration) const
 Return the pose recorded for the given iteration. More...
 
utility::vector1< Poseget_poses () const
 Return all the poses contained in this trajectory. More...
 

Private Attributes

utility::sql_database::sessionOP db_session_
 
Size job_id_
 

Constructor & Destructor Documentation

protocols::canonical_sampling::DbTrajectoryReader::DbTrajectoryReader ( )

Default constructor.

References basic::database::get_db_session().

protocols::canonical_sampling::DbTrajectoryReader::DbTrajectoryReader ( Size  job_id)

Constructor which accepts a job id.

References basic::database::get_db_session().

Member Function Documentation

vector1< Size > protocols::canonical_sampling::DbTrajectoryReader::get_iterations ( ) const
Size protocols::canonical_sampling::DbTrajectoryReader::get_num_iterations ( ) const

Return the number of iterations that were recorded for this job.

Pose protocols::canonical_sampling::DbTrajectoryReader::get_pose ( Size  iteration) const
vector1< Pose > protocols::canonical_sampling::DbTrajectoryReader::get_poses ( ) const

Return all the poses contained in this trajectory.

References iterations.

void protocols::canonical_sampling::DbTrajectoryReader::set_job_id ( Size  job_id)

Set the job id. This controls which records are selected.

Member Data Documentation

utility::sql_database::sessionOP protocols::canonical_sampling::DbTrajectoryReader::db_session_
private
Size protocols::canonical_sampling::DbTrajectoryReader::job_id_
private

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