Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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::Pose
get_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

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

Default constructor.

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

Constructor which accepts a job id.

Member Function Documentation

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.

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

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

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

Return all the poses contained in this trajectory.

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

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

Member Data Documentation

utility::sql_database::sessionOP protocols::trajectory::DbTrajectoryReader::db_session_
private
core::Size protocols::trajectory::DbTrajectoryReader::job_id_
private

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