Rosetta 3.4
Public Types | Public Member Functions | Public Attributes
core::conformation::signals::IdentityEvent Struct Reference

signals a change in residue identity in a Conformation More...

#include <IdentityEvent.hh>

Inheritance diagram for core::conformation::signals::IdentityEvent:
Inheritance graph
[legend]
Collaboration diagram for core::conformation::signals::IdentityEvent:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Tag { EMPTY, INVALIDATE, RESIDUE }
 the type of length change More...
typedef core::Size Size
typedef GeneralEvent Super

Public Member Functions

 IdentityEvent ()
 default constructor
 IdentityEvent (Conformation const *conf, Tag const t, Size const &pos, Residue const *res)
 constructor
 IdentityEvent (IdentityEvent const &rval)
 copy constructor
virtual ~IdentityEvent ()
 default destructor
IdentityEventoperator= (IdentityEvent const &rval)
 copy assignment

Public Attributes

Tag tag
 tag indicating type of identity change
Size position
 residue position
ResidueCAP residue
 direct access to residue

Detailed Description

signals a change in residue identity in a Conformation

Remarks:
When accessing residue information, take care as to which data member you choose. For almost all situations the ResidueCAP 'residue' should be used instead of the Conformation. See remarks below.

Member Typedef Documentation


Member Enumeration Documentation

the type of length change

Enumerator:
EMPTY 
INVALIDATE 
RESIDUE 

Constructor & Destructor Documentation

core::conformation::signals::IdentityEvent::IdentityEvent ( ) [inline]

default constructor

core::conformation::signals::IdentityEvent::IdentityEvent ( Conformation const *  conf,
Tag const  t,
Size const &  pos,
Residue const *  res 
) [inline]

constructor

Parameters:
posresidue position
core::conformation::signals::IdentityEvent::IdentityEvent ( IdentityEvent const &  rval) [inline]

copy constructor

virtual core::conformation::signals::IdentityEvent::~IdentityEvent ( ) [inline, virtual]

default destructor


Member Function Documentation

IdentityEvent& core::conformation::signals::IdentityEvent::operator= ( IdentityEvent const &  rval) [inline]

Member Data Documentation

residue position

Referenced by core::pose::PDBInfo::on_identity_change(), and operator=().

direct access to residue

Remarks:
Almost always want to use this to access the residue instead of the conformation. Calling Conformation::residue() can cause an internal update/re-sync inside Pose, which may have consequences if you're depending upon multiple residue operations to be setup (such as bond angle/length changes) prior to an internal update.

Referenced by core::pose::PDBInfo::on_identity_change(), and operator=().

tag indicating type of identity change

Referenced by core::pose::PDBInfo::on_identity_change(), and operator=().


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