OpenStructure
Loading...
Searching...
No Matches
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-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_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
26namespace ost { namespace mol {
27class AtomView;
28class AtomViewData;
29typedef boost::shared_ptr<AtomViewData> AtomViewDataPtr;
30typedef boost::weak_ptr<AtomViewData> AtomViewDataWeakPtr;
31typedef std::vector<AtomView> AtomViewList;
32
33class ResidueView;
34class ResidueViewData;
35typedef boost::shared_ptr<ResidueViewData> ResidueViewDataPtr;
36typedef boost::weak_ptr<ResidueViewData> ResidueViewDataWeakPtr;
37typedef std::vector<ResidueView> ResidueViewList;
38
39class ChainView;
40class ChainViewData;
41typedef boost::shared_ptr<ChainViewData> ChainViewDataPtr;
42typedef boost::weak_ptr<ChainViewData> ChainViewDataWeakPtr;
43typedef std::vector<ChainView> ChainViewList;
44
45class EntityView;
46class EntityViewData;
47typedef boost::shared_ptr<EntityViewData> EntityViewDataPtr;
48typedef boost::weak_ptr<EntityViewData> EntityViewDataWeakPtr;
49typedef std::vector<EntityView> EntityViewList;
50
52typedef std::vector<QueryViewWrapper> QueryViewWrapperList;
53
71typedef int ViewAddFlags;
72
73}} // ns
74
75#endif
76
definition of ChainView
Definition chain_view.hh:37
definition of EntityView
boost::weak_ptr< AtomViewData > AtomViewDataWeakPtr
boost::shared_ptr< ResidueViewData > ResidueViewDataPtr
boost::shared_ptr< EntityViewData > EntityViewDataPtr
std::vector< AtomView > AtomViewList
boost::shared_ptr< ChainViewData > ChainViewDataPtr
boost::shared_ptr< AtomViewData > AtomViewDataPtr
int ViewAddFlags
std::vector< QueryViewWrapper > QueryViewWrapperList
std::vector< ResidueView > ResidueViewList
boost::weak_ptr< ResidueViewData > ResidueViewDataWeakPtr
std::vector< ChainView > ChainViewList
boost::weak_ptr< EntityViewData > EntityViewDataWeakPtr
boost::weak_ptr< ChainViewData > ChainViewDataWeakPtr
std::vector< EntityView > EntityViewList
Definition base.dox:1
Flags to control the behaviour when adding handles to views.
@ INCLUDE_ATOMS
Include all atoms when adding a residue handle to a view
@ INCLUDE_RESIDUES
Include all residues when adding a chain to a view.
@ INCLUDE_CHAINS
Include all chains when creating a new entity view.
@ INCLUDE_ALL
Convenience flags to include all substructures.