Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::pack_daemon::EntityCorrespondence Class Reference

#include <EntityCorrespondence.hh>

Inheritance diagram for protocols::pack_daemon::EntityCorrespondence:
Inheritance graph
[legend]
Collaboration diagram for protocols::pack_daemon::EntityCorrespondence:
Collaboration graph
[legend]

Public Types

typedef core::Size Size
 
typedef std::list< SizeResIDList
 
typedef ResIDList::const_iterator ResIDListConstIter
 
typedef
utility::pointer::ReferenceCount 
parent
 

Public Member Functions

 EntityCorrespondence ()
 
virtual ~EntityCorrespondence ()
 
 EntityCorrespondence (EntityCorrespondence const &)
 
EntityCorrespondence const & operator= (EntityCorrespondence const &)
 
void set_pose (core::pose::PoseCOP pose)
 
void set_num_entities (Size num_entities)
 
void initialize_from_correspondence_file (std::istream &)
 
void add_resid_to_entity_list (Size EntityID, Size ResID)
 
Size num_entities () const
 
Size num_residues () const
 
Size entity_for_residue (Size resid) const
 
Size n_residues_for_entity (Size entity_id) const
 
ResIDListConstIter residues_for_entity_begin (Size entity_id) const
 
ResIDListConstIter residues_for_entity_end (Size entity_id) const
 

Private Member Functions

void bounds_check_entity (std::string const &funcname, Size entity_id) const
 
void bounds_check_residue (std::string const &funcname, Size resid) const
 

Private Attributes

core::pose::PoseCOP pose_
 
core::pose::PDBPoseMapCOP pdb_pose_map_
 
utility::vector1< ResIDListentity_id_2_resids_
 
utility::vector1< Sizeresid_2_entity_id_
 
utility::vector1< std::string > funcnames_
 

Detailed Description

Definition at line 37 of file EntityCorrespondence.hh.

Member Typedef Documentation

Definition at line 42 of file EntityCorrespondence.hh.

Definition at line 40 of file EntityCorrespondence.hh.

Definition at line 41 of file EntityCorrespondence.hh.

Definition at line 39 of file EntityCorrespondence.hh.

Constructor & Destructor Documentation

protocols::pack_daemon::EntityCorrespondence::EntityCorrespondence ( )
protocols::pack_daemon::EntityCorrespondence::~EntityCorrespondence ( )
virtual

Definition at line 54 of file EntityCorrespondence.cc.

protocols::pack_daemon::EntityCorrespondence::EntityCorrespondence ( EntityCorrespondence const &  src)

Definition at line 56 of file EntityCorrespondence.cc.

Member Function Documentation

void protocols::pack_daemon::EntityCorrespondence::add_resid_to_entity_list ( Size  EntityID,
Size  ResID 
)
void protocols::pack_daemon::EntityCorrespondence::bounds_check_entity ( std::string const &  funcname,
Size  entity_id 
) const
private
void protocols::pack_daemon::EntityCorrespondence::bounds_check_residue ( std::string const &  funcname,
Size  resid 
) const
private

Definition at line 265 of file EntityCorrespondence.cc.

References num_residues(), and pose_.

Referenced by add_resid_to_entity_list(), and entity_for_residue().

EntityCorrespondence::Size protocols::pack_daemon::EntityCorrespondence::entity_for_residue ( Size  resid) const
void protocols::pack_daemon::EntityCorrespondence::initialize_from_correspondence_file ( std::istream &  instream)

File format for entity correspondence: Column 1: entity id. Columns 2 and 3 PDB id (resid+[optional insertion code] chain)

Definition at line 105 of file EntityCorrespondence.cc.

References add_resid_to_entity_list(), num_entities(), num_residues(), and pdb_pose_map_.

EntityCorrespondence::Size protocols::pack_daemon::EntityCorrespondence::n_residues_for_entity ( Size  entity_id) const
EntityCorrespondence::Size protocols::pack_daemon::EntityCorrespondence::num_entities ( ) const
EntityCorrespondence::Size protocols::pack_daemon::EntityCorrespondence::num_residues ( ) const
EntityCorrespondence const & protocols::pack_daemon::EntityCorrespondence::operator= ( EntityCorrespondence const &  other)
EntityCorrespondence::ResIDListConstIter protocols::pack_daemon::EntityCorrespondence::residues_for_entity_begin ( Size  entity_id) const
EntityCorrespondence::ResIDListConstIter protocols::pack_daemon::EntityCorrespondence::residues_for_entity_end ( Size  entity_id) const
void protocols::pack_daemon::EntityCorrespondence::set_num_entities ( Size  num_entities)

Definition at line 96 of file EntityCorrespondence.cc.

References entity_id_2_resids_, and resid_2_entity_id_.

void protocols::pack_daemon::EntityCorrespondence::set_pose ( core::pose::PoseCOP  pose)

Member Data Documentation

utility::vector1< ResIDList > protocols::pack_daemon::EntityCorrespondence::entity_id_2_resids_
private
utility::vector1< std::string > protocols::pack_daemon::EntityCorrespondence::funcnames_
private
core::pose::PDBPoseMapCOP protocols::pack_daemon::EntityCorrespondence::pdb_pose_map_
private
core::pose::PoseCOP protocols::pack_daemon::EntityCorrespondence::pose_
private

Definition at line 67 of file EntityCorrespondence.hh.

Referenced by bounds_check_residue(), num_residues(), operator=(), and set_pose().

utility::vector1< Size > protocols::pack_daemon::EntityCorrespondence::resid_2_entity_id_
private

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