![]() |
Rosetta Protocols
2014.16.56682
|
#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< Size > | get_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< Pose > | get_poses () const |
| Return all the poses contained in this trajectory. More... | |
Private Attributes | |
| utility::sql_database::sessionOP | db_session_ |
| Size | job_id_ |
| protocols::trajectory::DbTrajectoryReader::DbTrajectoryReader | ( | ) |
Default constructor.
References basic::database::get_db_session().
| protocols::trajectory::DbTrajectoryReader::DbTrajectoryReader | ( | Size | job_id | ) |
Constructor which accepts a job id.
References basic::database::get_db_session().
Return a vector listing every iteration recorded for this job.
References protocols::pack_daemon::error_message, iterations, safely_prepare_statement(), safely_read_from_database(), table_exists(), and utility_exit_with_message.
| Size protocols::trajectory::DbTrajectoryReader::get_num_iterations | ( | ) | const |
Return the number of iterations that were recorded for this job.
Return the pose recorded for the given iteration.
References core::pose::Pose::energies(), protocols::pack_daemon::error_message, make_vector1(), core::io::silent::SilentFileData::read_stream(), safely_prepare_statement(), safely_read_from_database(), score, table_exists(), tags, core::scoring::Energies::total_energies(), core::scoring::Energies::total_energy(), core::scoring::total_score, and utility_exit_with_message.
Return all the poses contained in this trajectory.
References iterations.
| void protocols::trajectory::DbTrajectoryReader::set_job_id | ( | Size | job_id | ) |
Set the job id. This controls which records are selected.
|
private |
|
private |
1.8.7