Rosetta 3.4
Public Member Functions
protocols::jd2::PDBJobInputter Class Reference

#include <PDBJobInputter.hh>

Inheritance diagram for protocols::jd2::PDBJobInputter:
Inheritance graph
[legend]
Collaboration diagram for protocols::jd2::PDBJobInputter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PDBJobInputter ()
virtual ~PDBJobInputter ()
virtual void pose_from_job (core::pose::Pose &pose, JobOP job)
 this function is responsible for filling the pose reference with the pose indicated by the job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either fill the pose reference from the InnerJob or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference. This implementation uses pose_from_pdb
virtual void fill_jobs (Jobs &jobs)
 this function determines what jobs exist from -s/-l
virtual
JobInputterInputSource::Enum 
input_source () const
 Return the type of input source that the PDBJobInputter is currently using.

Detailed Description

This is the simplest implementation of JobInputter, which reads from -s/-l and PDB files.


Constructor & Destructor Documentation

protocols::jd2::PDBJobInputter::PDBJobInputter ( )

References protocols::jd2::TR().

protocols::jd2::PDBJobInputter::~PDBJobInputter ( ) [virtual]

Member Function Documentation

void protocols::jd2::PDBJobInputter::fill_jobs ( Jobs jobs) [virtual]

this function determines what jobs exist from -s/-l

Implements protocols::jd2::JobInputter.

References protocols::jd2::TR().

JobInputterInputSource::Enum protocols::jd2::PDBJobInputter::input_source ( ) const [virtual]

Return the type of input source that the PDBJobInputter is currently using.

Returns:
Always PDB_FILE.

Implements protocols::jd2::JobInputter.

References protocols::jd2::JobInputterInputSource::PDB_FILE.

void protocols::jd2::PDBJobInputter::pose_from_job ( core::pose::Pose pose,
JobOP  job 
) [virtual]

this function is responsible for filling the pose reference with the pose indicated by the job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either fill the pose reference from the InnerJob or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference. This implementation uses pose_from_pdb

This function will first see if the pose already exists in the Job. If not, it will read it into the pose reference, and hand a COP cloned from that pose to the Job. If the pose pre-exists it just copies the COP's pose into it.

Implements protocols::jd2::JobInputter.

Reimplemented in protocols::enzdes::EnzdesJobInputter, and protocols::protein_interface_design::ParserJobInputter.

References core::import_pose::pose_from_pdb(), and protocols::jd2::TR().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines