MEPP2 Project
AIFEdgeComparator.hpp
Go to the documentation of this file.
1 // Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2 // All rights reserved.
3 //
4 // This file is part of MEPP2; you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as
6 // published by the Free Software Foundation; either version 3 of
7 // the License, or (at your option) any later version.
8 //
9 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11 #pragma once
12 
13 // Warning: do NOT include this file outside of AIFEdge.hpp
14 
15 
16 namespace FEVV {
17 namespace DataStructures {
18 namespace AIF {
19 
26 {
27 public:
28  bool operator()(const AIFEdge &e1, const AIFEdge &e2);
29 
30  bool operator()(const AIFEdge::ptr_edge &PtrE1,
31  const AIFEdge::ptr_edge &PtrE2)
32  {
33  return operator()(*PtrE1, *PtrE2);
34  }
35 };
36 
37 } // namespace AIF
38 } // namespace DataStructures
39 } // namespace FEVV
40 
41 
FEVV::DataStructures::AIF::AIFEdge::ptr_edge
boost::shared_ptr< self > ptr_edge
Definition: AIFEdge.hpp:57
FEVV::DataStructures::AIF::AIFEdgeComparator::operator()
bool operator()(const AIFEdge &e1, const AIFEdge &e2)
Definition: AIFEdgeComparator.inl:18
AIFEdgeComparator.inl
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition: Assert.h:16
FEVV::DataStructures::AIF::AIFEdgeComparator
This class represents an edge comparator used to compare AIFEdge objects.
Definition: AIFEdgeComparator.hpp:26
FEVV::DataStructures::AIF::AIFEdge
This class represents an edge used by AIFMesh objects. An AIFEdge natively saves relations with its i...
Definition: AIFEdge.hpp:49
FEVV::DataStructures::AIF::AIFEdgeComparator::operator()
bool operator()(const AIFEdge::ptr_edge &PtrE1, const AIFEdge::ptr_edge &PtrE2)
Definition: AIFEdgeComparator.hpp:30