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

◆ Type

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() [1/3]

SecStructure ( char  type)
inlineexplicit

Definition at line 40 of file sec_structure.hh.

◆ SecStructure() [2/3]

SecStructure ( Type  type)
inlineexplicit

Definition at line 41 of file sec_structure.hh.

◆ SecStructure() [3/3]

SecStructure ( )
inline

Definition at line 42 of file sec_structure.hh.

Member Function Documentation

◆ IsCoil()

bool IsCoil ( ) const
inline

Definition at line 72 of file sec_structure.hh.

◆ IsExtended()

bool IsExtended ( ) const
inline

Definition at line 67 of file sec_structure.hh.

◆ IsHelical()

bool IsHelical ( ) const
inline

Definition at line 62 of file sec_structure.hh.

◆ operator char()

operator char ( ) const
inline

Definition at line 76 of file sec_structure.hh.

◆ operator!=() [1/2]

bool operator!= ( const SecStructure rhs) const
inline

Definition at line 57 of file sec_structure.hh.

◆ operator!=() [2/2]

bool operator!= ( const Type rhs) const
inline

Definition at line 53 of file sec_structure.hh.

◆ operator==() [1/2]

bool operator== ( const SecStructure rhs) const
inline

Definition at line 48 of file sec_structure.hh.

◆ operator==() [2/2]

bool operator== ( const Type rhs) const
inline

Definition at line 43 of file sec_structure.hh.


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