OpenStructure
view_op.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_OP_HH
20 #define OST_VIEW_OP_HH
21 
22 /*
23  Author: Marco Biasini
24  */
25 #include <ost/mol/module_config.hh>
26 #include <ost/mol/view_type_fw.hh>
28 #include <ost/integrity_error.hh>
29 #include <ost/mol/entity_handle.hh>
30 namespace ost { namespace mol {
31 
32 
33 
41  const EntityView& ev2);
42 
49  const EntityView& ev2);
50 
56  const EntityView& ev2);
57 
63 
70 
78 std::pair<EntityView, EntityView> DLLEXPORT_OST_MOL
79 CompareViews(const EntityView& view1, const EntityView& view2);
80 
95 CreateEntityFromView(const EntityView& view, bool include_exlusive_atoms,
96  EntityHandle handle=EntityHandle());
97 
98 }} // ns
99 #endif
Protein or molecule.
definition of EntityView
Definition: entity_view.hh:86
EntityView DLLEXPORT_OST_MOL Difference(const EntityView &ev1, const EntityView &ev2)
return difference between two entity views
EntityView DLLEXPORT_OST_MOL CreateViewFromAtomList(const AtomViewList &atoms)
create view from atom list
EntityView DLLEXPORT_OST_MOL Union(const EntityView &ev1, const EntityView &ev2)
return union of two entity views
EntityView DLLEXPORT_OST_MOL Intersection(const EntityView &ev1, const EntityView &ev2)
return intersection of two entity views
EntityView DLLEXPORT_OST_MOL CreateViewFromAtomList(const AtomHandleList &atoms)
create view from atom list
#define DLLEXPORT_OST_MOL
std::vector< AtomHandle > AtomHandleList
EntityHandle DLLEXPORT_OST_MOL CreateEntityFromView(const EntityView &view, bool include_exlusive_atoms, EntityHandle handle=EntityHandle())
create new entity handle from entity view
std::pair< EntityView, EntityView > DLLEXPORT_OST_MOL CompareViews(const EntityView &view1, const EntityView &view2)
compare two entity views
std::vector< AtomView > AtomViewList
Definition: view_type_fw.hh:31
Definition: base.dox:1