OpenStructure
Public Types | Public Member Functions
SecStructure Struct Reference

#include <sec_structure.hh>

Public Types

enum  Type {
  ALPHA_HELIX = 'H', PI_HELIX = 'I', THREE_TEN_HELIX = 'G', TURN = 'T',
  EXTENDED = 'E', BETA_BRIDGE = 'B', BEND = 'S', COIL = 'C'
}

Public Member Functions

 SecStructure (char type)
 SecStructure (Type type)
 SecStructure ()
bool operator== (const Type &rhs) const
bool operator== (const SecStructure &rhs) const
bool operator!= (const Type &rhs) const
bool operator!= (const SecStructure &rhs) const
bool IsHelical () const
bool IsExtended () const
bool IsCoil () const
 operator char () const

Detailed Description

Secondary structure types as defined by DSSP. For convenience, the enum values match the characters used in the DSP file format.

Definition at line 29 of file sec_structure.hh.


Member Enumeration Documentation

enum Type
Enumerator:
ALPHA_HELIX 
PI_HELIX 
THREE_TEN_HELIX 
TURN 
EXTENDED 
BETA_BRIDGE 
BEND 
COIL 

Definition at line 30 of file sec_structure.hh.


Constructor & Destructor Documentation

SecStructure ( char  type)
inlineexplicit

Definition at line 40 of file sec_structure.hh.

SecStructure ( Type  type)
inlineexplicit

Definition at line 41 of file sec_structure.hh.

SecStructure ( )
inline

Definition at line 42 of file sec_structure.hh.


Member Function Documentation

bool IsCoil ( ) const
inline

Definition at line 72 of file sec_structure.hh.

bool IsExtended ( ) const
inline

Definition at line 67 of file sec_structure.hh.

bool IsHelical ( ) const
inline

Definition at line 62 of file sec_structure.hh.

operator char ( ) const
inline

Definition at line 76 of file sec_structure.hh.

bool operator!= ( const Type rhs) const
inline

Definition at line 53 of file sec_structure.hh.

bool operator!= ( const SecStructure rhs) const
inline

Definition at line 57 of file sec_structure.hh.

bool operator== ( const Type rhs) const
inline

Definition at line 43 of file sec_structure.hh.

bool operator== ( const SecStructure rhs) const
inline

Definition at line 48 of file sec_structure.hh.


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