OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions
ChemClass Struct Reference

#include <chem_class.hh>

Public Types

enum  Type {
  PEPTIDE_LINKING ='P', D_PEPTIDE_LINKING ='D', L_PEPTIDE_LINKING ='L', RNA_LINKING ='R',
  DNA_LINKING ='S', NON_POLYMER ='N', L_SACCHARIDE ='X', D_SACCHARIDE ='Y',
  SACCHARIDE ='Z', WATER ='W', UNKNOWN ='U'
}
 

Public Member Functions

 ChemClass (Type chem_class)
 
 ChemClass (char type)
 
 ChemClass ()
 
bool operator== (const ChemClass &cc) const
 
bool operator!= (const ChemClass &cc) const
 
bool IsPeptideLinking () const
 
bool IsNucleotideLinking () const
 
bool IsWater () const
 
 operator char () const
 
bool IsSaccharide () const
 

Detailed Description

Definition at line 27 of file chem_class.hh.

Member Enumeration Documentation

enum Type
Enumerator
PEPTIDE_LINKING 
D_PEPTIDE_LINKING 
L_PEPTIDE_LINKING 
RNA_LINKING 
DNA_LINKING 
NON_POLYMER 
L_SACCHARIDE 
D_SACCHARIDE 
SACCHARIDE 
WATER 
UNKNOWN 

Definition at line 29 of file chem_class.hh.

Constructor & Destructor Documentation

ChemClass ( Type  chem_class)
inlineexplicit

Definition at line 43 of file chem_class.hh.

ChemClass ( char  type)
inlineexplicit

Definition at line 45 of file chem_class.hh.

ChemClass ( )
inline

Definition at line 47 of file chem_class.hh.

Member Function Documentation

bool IsNucleotideLinking ( ) const
inline

Definition at line 62 of file chem_class.hh.

bool IsPeptideLinking ( ) const
inline

Definition at line 57 of file chem_class.hh.

bool IsSaccharide ( ) const
inline

Definition at line 75 of file chem_class.hh.

bool IsWater ( ) const
inline

Definition at line 67 of file chem_class.hh.

operator char ( ) const
inline

Definition at line 71 of file chem_class.hh.

bool operator!= ( const ChemClass cc) const
inline

Definition at line 53 of file chem_class.hh.

bool operator== ( const ChemClass cc) const
inline

Definition at line 49 of file chem_class.hh.


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