OpenStructure
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
stage
include
ost
mol
view_type_fw.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_VIEW_TYPE_FW_HH
20
#define OST_VIEW_TYPE_FW_HH
21
22
#include <boost/shared_ptr.hpp>
23
#include <boost/weak_ptr.hpp>
24
#include <vector>
25
26
namespace
ost {
namespace
mol {
27
class
AtomView;
28
class
AtomViewData;
29
typedef
boost::shared_ptr<AtomViewData>
AtomViewDataPtr
;
30
typedef
boost::weak_ptr<AtomViewData>
AtomViewDataWeakPtr
;
31
typedef
std::vector<AtomView>
AtomViewList
;
32
33
class
ResidueView
;
34
class
ResidueViewData;
35
typedef
boost::shared_ptr<ResidueViewData>
ResidueViewDataPtr
;
36
typedef
boost::weak_ptr<ResidueViewData>
ResidueViewDataWeakPtr
;
37
typedef
std::vector<ResidueView>
ResidueViewList
;
38
39
class
ChainView
;
40
class
ChainViewData;
41
typedef
boost::shared_ptr<ChainViewData>
ChainViewDataPtr
;
42
typedef
boost::weak_ptr<ChainViewData>
ChainViewDataWeakPtr
;
43
typedef
std::vector<ChainView>
ChainViewList
;
44
45
class
EntityView
;
46
class
EntityViewData;
47
typedef
boost::shared_ptr<EntityViewData>
EntityViewDataPtr
;
48
typedef
boost::weak_ptr<EntityViewData>
EntityViewDataWeakPtr
;
49
typedef
std::vector<EntityView>
EntityViewList
;
50
51
class
QueryViewWrapper
;
52
typedef
std::vector<QueryViewWrapper>
QueryViewWrapperList
;
53
55
struct
ViewAddFlag
{
56
typedef
enum
{
58
INCLUDE_ATOMS
=1,
60
INCLUDE_RESIDUES
=2,
62
INCLUDE_CHAINS
=4,
64
INCLUDE_ALL
=
INCLUDE_ATOMS
|
INCLUDE_RESIDUES
|
INCLUDE_CHAINS
,
65
68
CHECK_DUPLICATES
=8
69
}
Type
;
70
};
71
typedef
int
ViewAddFlags
;
72
73
}}
// ns
74
75
#endif
76
Generated on Thu Jun 14 2012 18:58:02 for OpenStructure by
1.8.1.1