OpenStructure
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

◆ Type

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

ChemClass ( Type  chem_class)
inlineexplicit

Definition at line 43 of file chem_class.hh.

◆ ChemClass() [2/3]

ChemClass ( char  type)
inlineexplicit

Definition at line 45 of file chem_class.hh.

◆ ChemClass() [3/3]

ChemClass ( )
inline

Definition at line 47 of file chem_class.hh.

Member Function Documentation

◆ IsNucleotideLinking()

bool IsNucleotideLinking ( ) const
inline

Definition at line 62 of file chem_class.hh.

◆ IsPeptideLinking()

bool IsPeptideLinking ( ) const
inline

Definition at line 57 of file chem_class.hh.

◆ IsSaccharide()

bool IsSaccharide ( ) const
inline

Definition at line 75 of file chem_class.hh.

◆ IsWater()

bool IsWater ( ) const
inline

Definition at line 67 of file chem_class.hh.

◆ operator char()

operator char ( ) const
inline

Definition at line 71 of file chem_class.hh.

◆ operator!=()

bool operator!= ( const ChemClass cc) const
inline

Definition at line 53 of file chem_class.hh.

◆ operator==()

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: