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
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-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_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
>
27
#include <
ost/mol/handle_type_fw.hh
>
28
#include <
ost/integrity_error.hh
>
29
#include <
ost/mol/entity_handle.hh
>
30
namespace
ost {
namespace
mol {
31
32
33
40
EntityView
DLLEXPORT_OST_MOL
Union
(
const
EntityView& ev1,
41
const
EntityView& ev2);
42
48
EntityView
DLLEXPORT_OST_MOL
Difference(
const
EntityView& ev1,
49
const
EntityView& ev2);
50
55
EntityView
DLLEXPORT_OST_MOL
Intersection(
const
EntityView& ev1,
56
const
EntityView& ev2);
57
62
EntityView
DLLEXPORT_OST_MOL
CreateViewFromAtomList(
const
AtomHandleList
& atoms);
63
69
EntityView
DLLEXPORT_OST_MOL
CreateViewFromAtomList(
const
AtomViewList
& atoms);
70
78
std::pair<EntityView, EntityView>
DLLEXPORT_OST_MOL
79
CompareViews
(
const
EntityView& view1,
const
EntityView& view2);
80
94
EntityHandle
DLLEXPORT_OST_MOL
95
CreateEntityFromView
(
const
EntityView& view,
bool
include_exlusive_atoms,
96
EntityHandle handle=EntityHandle());
97
98
}}
// ns
99
#endif
Generated on Mon Nov 5 2012 13:31:06 for OpenStructure by
1.8.1.1