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/base.hh
>
23
#include <
ost/string_ref.hh
>
24
25
#include "
module_config.hh
"
26
27
namespace
ost {
namespace
mol {
28
30
typedef
enum
{
31
CHAINTYPE_POLY
,
32
CHAINTYPE_NON_POLY
,
33
CHAINTYPE_WATER
,
34
CHAINTYPE_POLY_PEPTIDE_D
,
35
CHAINTYPE_POLY_PEPTIDE_L
,
36
CHAINTYPE_POLY_DN
,
37
CHAINTYPE_POLY_RN
,
38
CHAINTYPE_POLY_SAC_D
,
39
CHAINTYPE_POLY_SAC_L
,
40
CHAINTYPE_POLY_DN_RN
,
41
CHAINTYPE_UNKNOWN
,
42
CHAINTYPE_N_CHAINTYPES
43
}
ChainType
;
44
51
ChainType
DLLEXPORT_OST_MOL
ChainTypeFromString
(
const
StringRef
identifier);
52
59
ChainType
DLLEXPORT_OST_MOL
ChainTypeFromString
(
const
String
& identifier);
60
67
String
DLLEXPORT_OST_MOL
StringFromChainType
(
ChainType
type);
68
69
}}
//ns
70
71
#endif
Generated on Mon Nov 11 2013 09:56:13 for OpenStructure by
1.8.1.1