Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
core::id::TorsionID Class Reference

#include <TorsionID.hh>

Collaboration diagram for core::id::TorsionID:
Collaboration graph
[legend]

Public Member Functions

 TorsionID ()
 Default constructor. More...
 
 TorsionID (TorsionID const &src)
 Copy constructor. More...
 
 TorsionID (Size const rsd_in, TorsionType const &type_in, Size const torsion_in)
 Property constructor. More...
 
Size rsd () const
 
Sizersd ()
 
TorsionType type () const
 
TorsionTypetype ()
 
Size torsion () const
 
Sizetorsion ()
 
bool valid () const
 Is this id valid? More...
 

Private Attributes

Size rsd_
 Residue number within the complex. More...
 
TorsionType type_
 The type (BB,CHI,JUMP) of this torsion. More...
 
Size torsion_
 Torsion number of the given type within the residue. More...
 

Friends

std::ostream & operator<< (std::ostream &os, TorsionID const &a)
 
bool operator== (TorsionID const &a, TorsionID const &b)
 
bool operator!= (TorsionID const &a, TorsionID const &b)
 
bool operator< (TorsionID const &a, TorsionID const &b)
 

Detailed Description

/brief Torsion identifier class

Note the order of the elements in construction calls:

   ( residue, type, torsion )

   sort of from least to most specific  

Definition at line 43 of file TorsionID.hh.

Constructor & Destructor Documentation

core::id::TorsionID::TorsionID ( )
inline

Default constructor.

Definition at line 50 of file TorsionID.hh.

core::id::TorsionID::TorsionID ( TorsionID const &  src)
inline

Copy constructor.

Definition at line 58 of file TorsionID.hh.

core::id::TorsionID::TorsionID ( Size const  rsd_in,
TorsionType const &  type_in,
Size const  torsion_in 
)
inline

Property constructor.

Definition at line 66 of file TorsionID.hh.

Member Function Documentation

Size core::id::TorsionID::rsd ( ) const
inline
Size& core::id::TorsionID::rsd ( )
inline

Definition at line 84 of file TorsionID.hh.

References rsd_.

Size core::id::TorsionID::torsion ( ) const
inline
Size& core::id::TorsionID::torsion ( )
inline

Definition at line 100 of file TorsionID.hh.

References torsion_.

TorsionType core::id::TorsionID::type ( ) const
inline
TorsionType& core::id::TorsionID::type ( )
inline

Definition at line 92 of file TorsionID.hh.

References type_.

bool core::id::TorsionID::valid ( ) const
inline

Friends And Related Function Documentation

bool operator!= ( TorsionID const &  a,
TorsionID const &  b 
)
friend

Definition at line 136 of file TorsionID.hh.

bool operator< ( TorsionID const &  a,
TorsionID const &  b 
)
friend

Definition at line 147 of file TorsionID.hh.

std::ostream& operator<< ( std::ostream &  os,
TorsionID const &  a 
)
friend

Definition at line 113 of file TorsionID.hh.

bool operator== ( TorsionID const &  a,
TorsionID const &  b 
)
friend

Definition at line 125 of file TorsionID.hh.

Member Data Documentation

Size core::id::TorsionID::rsd_
private

Residue number within the complex.

Definition at line 167 of file TorsionID.hh.

Referenced by rsd(), and valid().

Size core::id::TorsionID::torsion_
private

Torsion number of the given type within the residue.

Definition at line 173 of file TorsionID.hh.

Referenced by torsion(), and valid().

TorsionType core::id::TorsionID::type_
private

The type (BB,CHI,JUMP) of this torsion.

Definition at line 170 of file TorsionID.hh.

Referenced by type().


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