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

#include <DbTrajectoryReader.hh>

Inheritance diagram for protocols::trajectory::DbTrajectoryReader:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

utility::sql_database::sessionOP db_session_
 
core::Size job_id_
 

Constructor & Destructor Documentation

◆ DbTrajectoryReader() [1/2]

protocols::trajectory::DbTrajectoryReader::DbTrajectoryReader ( )

Default constructor.

◆ DbTrajectoryReader() [2/2]

protocols::trajectory::DbTrajectoryReader::DbTrajectoryReader ( core::Size  job_id)

Constructor which accepts a job id.

Member Function Documentation

◆ get_iterations()

vector1< core::Size > protocols::trajectory::DbTrajectoryReader::get_iterations ( ) const

Return a vector listing every iteration recorded for this job.

References protocols::pack_daemon::error_message.

◆ get_num_iterations()

Size protocols::trajectory::DbTrajectoryReader::get_num_iterations ( ) const

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

◆ get_pose()

Pose protocols::trajectory::DbTrajectoryReader::get_pose ( core::Size  iteration) const

◆ get_poses()

vector1< Pose > protocols::trajectory::DbTrajectoryReader::get_poses ( ) const

Return all the poses contained in this trajectory.

◆ set_job_id()

void protocols::trajectory::DbTrajectoryReader::set_job_id ( core::Size  job_id)

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

Member Data Documentation

◆ db_session_

utility::sql_database::sessionOP protocols::trajectory::DbTrajectoryReader::db_session_
private

◆ job_id_

core::Size protocols::trajectory::DbTrajectoryReader::job_id_
private

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