OpenStructure
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
stage
include
ost
mol
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-2011 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
31
typedef
enum
{
32
CHAINTYPE_POLY
,
33
CHAINTYPE_NON_POLY
,
34
CHAINTYPE_WATER
,
35
CHAINTYPE_POLY_PEPTIDE_D
,
36
CHAINTYPE_POLY_PEPTIDE_L
,
37
CHAINTYPE_POLY_DN
,
38
CHAINTYPE_POLY_RN
,
39
CHAINTYPE_POLY_SAC_D
,
40
CHAINTYPE_POLY_SAC_L
,
41
CHAINTYPE_POLY_DN_RN
,
42
CHAINTYPE_UNKNOWN
,
43
CHAINTYPE_N_CHAINTYPES
44
}
ChainType
;
45
52
ChainType
DLLEXPORT_OST_MOL
ChainTypeFromString
(
const
StringRef
identifier);
53
60
ChainType
DLLEXPORT_OST_MOL
ChainTypeFromString
(
const
String
& identifier);
61
68
String
DLLEXPORT_OST_MOL
StringFromChainType
(
ChainType
type);
69
70
}}
//ns
71
72
#endif
Generated on Thu Mar 5 2015 15:19:05 for OpenStructure by
1.8.1.1