OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
chain_type.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // This file is part of the OpenStructure project <www.openstructure.org>
3 //
4 // Copyright (C) 2008-2020 by the OpenStructure authors
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License as published by the Free
8 // Software Foundation; either version 3.0 of the License, or (at your option)
9 // any later version.
10 // This library is distributed in the hope that it will be useful, but WITHOUT
11 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13 // details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library; if not, write to the Free Software Foundation, Inc.,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 //------------------------------------------------------------------------------
19 #ifndef OST_CHAIN_TYPE_HH
20 #define OST_CHAIN_TYPE_HH
21 
22 #include <ost/mol/module_config.hh>
23 #include <ost/base.hh>
24 #include <ost/string_ref.hh>
25 
26 #include "module_config.hh"
27 
28 namespace ost { namespace mol {
29 
33 // _entity_poly.type, which is more detailed. As a result it is not a 1:1
34 // mapping and cannot be used to to read/write mmCIF entity types accurately.
35 
36 typedef enum {
48  // new chain types
56 } ChainType;
57 
65 
73 
81 
98 
120 
130 
131 }} //ns
132 
133 #endif
convenient datatype for referencing character data
Definition: string_ref.hh:39
ChainType DLLIMPORT ChainTypeFromString(const StringRef identifier)
Create a ChainType item for a given string.
std::string String
Definition: base.hh:54
String DLLIMPORT StringFromChainType(ChainType type)
Return the String identifier for a given type.
String DLLIMPORT BranchedTypeFromChainType(ChainType type)
Return pdbx_entity_branch.type consistent with mmCIF dictionary (mmcif_pdbx_v50): ...
(D) amino acid sequence
Definition: chain_type.hh:40
String DLLIMPORT EntityTypeFromChainType(ChainType type)
Return _entity.type consistent with respective mmCIF vocabulary (mmcif_pdbx_v50): ...
polydeoxyribonucleotide
Definition: chain_type.hh:42
String DLLIMPORT EntityPolyTypeFromChainType(ChainType type)
Return _entity_poly.type consistent with mmCIF dictionary (mmcif_pdbx_v50):
#define DLLEXPORT_OST_MOL
polyribonucleotide
Definition: chain_type.hh:43
polydeoxyribonucleotide/ -ribonucleotide hybrid
Definition: chain_type.hh:46
(L) amino acid sequence
Definition: chain_type.hh:41