00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef OST_CHAIN_TYPE_HH
00020 #define OST_CHAIN_TYPE_HH
00021
00022 #include <ost/mol/module_config.hh>
00023 #include <ost/base.hh>
00024 #include <ost/string_ref.hh>
00025
00026 #include "module_config.hh"
00027
00028 namespace ost { namespace mol {
00029
00031 typedef enum {
00032 CHAINTYPE_POLY,
00033 CHAINTYPE_NON_POLY,
00034 CHAINTYPE_WATER,
00035 CHAINTYPE_POLY_PEPTIDE_D,
00036 CHAINTYPE_POLY_PEPTIDE_L,
00037 CHAINTYPE_POLY_DN,
00038 CHAINTYPE_POLY_RN,
00039 CHAINTYPE_POLY_SAC_D,
00040 CHAINTYPE_POLY_SAC_L,
00041 CHAINTYPE_POLY_DN_RN,
00042 CHAINTYPE_UNKNOWN,
00043
00044 CHAINTYPE_MACROLIDE,
00045 CHAINTYPE_CYCLIC_PSEUDO_PEPTIDE,
00046 CHAINTYPE_POLY_PEPTIDE_DN_RN,
00047 CHAINTYPE_N_CHAINTYPES
00048 } ChainType;
00049
00056 ChainType DLLEXPORT_OST_MOL ChainTypeFromString(const StringRef identifier);
00057
00064 ChainType DLLEXPORT_OST_MOL ChainTypeFromString(const String& identifier);
00065
00072 String DLLEXPORT_OST_MOL StringFromChainType(ChainType type);
00073
00074 }}
00075
00076 #endif