MEPP2 Project
test_boost_graph_concept_aif.cpp
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.
13 
14 #include <boost/concept_check.hpp>
15 
16 //------------------------------------------------------------------------------
17 
18 template< class G >
20 {
21  typedef
23  typedef typename boost::graph_traits< G >::edge_descriptor edge_descriptor;
24  typedef
25  typename boost::graph_traits< G >::directed_category directed_category;
26  typedef typename boost::graph_traits< G >::edge_parallel_category
28  typedef
29  typename boost::graph_traits< G >::traversal_category traversal_category;
30 
31  void constraints()
32  {
33  BOOST_CONCEPT_ASSERT(
34  (boost::DefaultConstructibleConcept< vertex_descriptor >));
35  BOOST_CONCEPT_ASSERT(
36  (boost::EqualityComparableConcept< vertex_descriptor >));
37  BOOST_CONCEPT_ASSERT((boost::AssignableConcept< vertex_descriptor >));
38  BOOST_CONCEPT_ASSERT(
39  (boost::DefaultConstructibleConcept< edge_descriptor >));
40  BOOST_CONCEPT_ASSERT((boost::EqualityComparableConcept< edge_descriptor >));
41  BOOST_CONCEPT_ASSERT((boost::AssignableConcept< edge_descriptor >));
42  }
43  G g;
44 };
45 
46 //------------------------------------------------------------------------------
47 
48 int
49 main(void)
50 {
52 
53  return 0;
54 }
GraphConcept::traversal_category
boost::graph_traits< G >::traversal_category traversal_category
Definition: test_boost_graph_concept_aif.cpp:29
GraphConcept::edge_descriptor
boost::graph_traits< G >::edge_descriptor edge_descriptor
Definition: test_boost_graph_concept_aif.cpp:23
GraphConcept::constraints
void constraints()
Definition: test_boost_graph_concept_aif.cpp:31
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition: Assert.h:16
AIFMesh.hpp
GraphConcept::vertex_descriptor
boost::graph_traits< G >::vertex_descriptor vertex_descriptor
Definition: test_boost_graph_concept_aif.cpp:22
GraphConcept
Definition: test_boost_graph_concept_aif.cpp:20
Graph_traits_aif.h
GraphConcept::g
G g
Definition: test_boost_graph_concept_aif.cpp:43
GraphConcept::edge_parallel_category
boost::graph_traits< G >::edge_parallel_category edge_parallel_category
Definition: test_boost_graph_concept_aif.cpp:27
msdm2::vertex_descriptor
boost::graph_traits< MeshT >::vertex_descriptor vertex_descriptor
Definition: msdm2_surfacemesh.h:33
FEVV::DataStructures::AIF::AIFMesh
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...
Definition: AIFMesh.hpp:47
AIFMesh
FEVV::DataStructures::AIF::AIFMesh AIFMesh
Definition: Graph_properties_aif.h:19
GraphConcept::directed_category
boost::graph_traits< G >::directed_category directed_category
Definition: test_boost_graph_concept_aif.cpp:25
main
int main(void)
Definition: test_boost_graph_concept_aif.cpp:49