Made circulators STL compliant by specifying all iterator_traits attributes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@252 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -109,11 +109,15 @@ class VertexVertexIterT
|
|||||||
typedef typename Mesh::VertexHandle value_handle;
|
typedef typename Mesh::VertexHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Vertex& reference;
|
typedef const typename Mesh::Vertex& reference;
|
||||||
typedef const typename Mesh::Vertex* pointer;
|
typedef const typename Mesh::Vertex* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Vertex& reference;
|
typedef typename Mesh::Vertex& reference;
|
||||||
@@ -299,11 +303,15 @@ class ConstVertexVertexIterT
|
|||||||
typedef typename Mesh::VertexHandle value_handle;
|
typedef typename Mesh::VertexHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Vertex& reference;
|
typedef const typename Mesh::Vertex& reference;
|
||||||
typedef const typename Mesh::Vertex* pointer;
|
typedef const typename Mesh::Vertex* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Vertex& reference;
|
typedef typename Mesh::Vertex& reference;
|
||||||
@@ -489,11 +497,15 @@ class VertexOHalfedgeIterT
|
|||||||
typedef typename Mesh::HalfedgeHandle value_handle;
|
typedef typename Mesh::HalfedgeHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Halfedge& reference;
|
typedef const typename Mesh::Halfedge& reference;
|
||||||
typedef const typename Mesh::Halfedge* pointer;
|
typedef const typename Mesh::Halfedge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Halfedge& reference;
|
typedef typename Mesh::Halfedge& reference;
|
||||||
@@ -679,11 +691,15 @@ class ConstVertexOHalfedgeIterT
|
|||||||
typedef typename Mesh::HalfedgeHandle value_handle;
|
typedef typename Mesh::HalfedgeHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Halfedge& reference;
|
typedef const typename Mesh::Halfedge& reference;
|
||||||
typedef const typename Mesh::Halfedge* pointer;
|
typedef const typename Mesh::Halfedge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Halfedge& reference;
|
typedef typename Mesh::Halfedge& reference;
|
||||||
@@ -869,11 +885,15 @@ class VertexIHalfedgeIterT
|
|||||||
typedef typename Mesh::HalfedgeHandle value_handle;
|
typedef typename Mesh::HalfedgeHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Halfedge& reference;
|
typedef const typename Mesh::Halfedge& reference;
|
||||||
typedef const typename Mesh::Halfedge* pointer;
|
typedef const typename Mesh::Halfedge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Halfedge& reference;
|
typedef typename Mesh::Halfedge& reference;
|
||||||
@@ -1059,11 +1079,15 @@ class ConstVertexIHalfedgeIterT
|
|||||||
typedef typename Mesh::HalfedgeHandle value_handle;
|
typedef typename Mesh::HalfedgeHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Halfedge& reference;
|
typedef const typename Mesh::Halfedge& reference;
|
||||||
typedef const typename Mesh::Halfedge* pointer;
|
typedef const typename Mesh::Halfedge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Halfedge& reference;
|
typedef typename Mesh::Halfedge& reference;
|
||||||
@@ -1249,11 +1273,15 @@ class VertexEdgeIterT
|
|||||||
typedef typename Mesh::EdgeHandle value_handle;
|
typedef typename Mesh::EdgeHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Edge& reference;
|
typedef const typename Mesh::Edge& reference;
|
||||||
typedef const typename Mesh::Edge* pointer;
|
typedef const typename Mesh::Edge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Edge& reference;
|
typedef typename Mesh::Edge& reference;
|
||||||
@@ -1439,11 +1467,15 @@ class ConstVertexEdgeIterT
|
|||||||
typedef typename Mesh::EdgeHandle value_handle;
|
typedef typename Mesh::EdgeHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Edge& reference;
|
typedef const typename Mesh::Edge& reference;
|
||||||
typedef const typename Mesh::Edge* pointer;
|
typedef const typename Mesh::Edge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Edge& reference;
|
typedef typename Mesh::Edge& reference;
|
||||||
@@ -1629,11 +1661,15 @@ class VertexFaceIterT
|
|||||||
typedef typename Mesh::FaceHandle value_handle;
|
typedef typename Mesh::FaceHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Face& reference;
|
typedef const typename Mesh::Face& reference;
|
||||||
typedef const typename Mesh::Face* pointer;
|
typedef const typename Mesh::Face* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Face& reference;
|
typedef typename Mesh::Face& reference;
|
||||||
@@ -1819,11 +1855,15 @@ class ConstVertexFaceIterT
|
|||||||
typedef typename Mesh::FaceHandle value_handle;
|
typedef typename Mesh::FaceHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Face& reference;
|
typedef const typename Mesh::Face& reference;
|
||||||
typedef const typename Mesh::Face* pointer;
|
typedef const typename Mesh::Face* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Face& reference;
|
typedef typename Mesh::Face& reference;
|
||||||
@@ -2009,11 +2049,15 @@ class FaceVertexIterT
|
|||||||
typedef typename Mesh::VertexHandle value_handle;
|
typedef typename Mesh::VertexHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Vertex& reference;
|
typedef const typename Mesh::Vertex& reference;
|
||||||
typedef const typename Mesh::Vertex* pointer;
|
typedef const typename Mesh::Vertex* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Vertex& reference;
|
typedef typename Mesh::Vertex& reference;
|
||||||
@@ -2199,11 +2243,15 @@ class ConstFaceVertexIterT
|
|||||||
typedef typename Mesh::VertexHandle value_handle;
|
typedef typename Mesh::VertexHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Vertex& reference;
|
typedef const typename Mesh::Vertex& reference;
|
||||||
typedef const typename Mesh::Vertex* pointer;
|
typedef const typename Mesh::Vertex* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Vertex& reference;
|
typedef typename Mesh::Vertex& reference;
|
||||||
@@ -2389,11 +2437,15 @@ class FaceHalfedgeIterT
|
|||||||
typedef typename Mesh::HalfedgeHandle value_handle;
|
typedef typename Mesh::HalfedgeHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Halfedge& reference;
|
typedef const typename Mesh::Halfedge& reference;
|
||||||
typedef const typename Mesh::Halfedge* pointer;
|
typedef const typename Mesh::Halfedge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Halfedge& reference;
|
typedef typename Mesh::Halfedge& reference;
|
||||||
@@ -2579,11 +2631,15 @@ class ConstFaceHalfedgeIterT
|
|||||||
typedef typename Mesh::HalfedgeHandle value_handle;
|
typedef typename Mesh::HalfedgeHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Halfedge& reference;
|
typedef const typename Mesh::Halfedge& reference;
|
||||||
typedef const typename Mesh::Halfedge* pointer;
|
typedef const typename Mesh::Halfedge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Halfedge& reference;
|
typedef typename Mesh::Halfedge& reference;
|
||||||
@@ -2769,11 +2825,15 @@ class FaceEdgeIterT
|
|||||||
typedef typename Mesh::EdgeHandle value_handle;
|
typedef typename Mesh::EdgeHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Edge& reference;
|
typedef const typename Mesh::Edge& reference;
|
||||||
typedef const typename Mesh::Edge* pointer;
|
typedef const typename Mesh::Edge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Edge& reference;
|
typedef typename Mesh::Edge& reference;
|
||||||
@@ -2959,11 +3019,15 @@ class ConstFaceEdgeIterT
|
|||||||
typedef typename Mesh::EdgeHandle value_handle;
|
typedef typename Mesh::EdgeHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Edge& reference;
|
typedef const typename Mesh::Edge& reference;
|
||||||
typedef const typename Mesh::Edge* pointer;
|
typedef const typename Mesh::Edge* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Edge& reference;
|
typedef typename Mesh::Edge& reference;
|
||||||
@@ -3149,11 +3213,15 @@ class FaceFaceIterT
|
|||||||
typedef typename Mesh::FaceHandle value_handle;
|
typedef typename Mesh::FaceHandle value_handle;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Face& reference;
|
typedef const typename Mesh::Face& reference;
|
||||||
typedef const typename Mesh::Face* pointer;
|
typedef const typename Mesh::Face* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Face& reference;
|
typedef typename Mesh::Face& reference;
|
||||||
@@ -3339,11 +3407,15 @@ class ConstFaceFaceIterT
|
|||||||
typedef typename Mesh::FaceHandle value_handle;
|
typedef typename Mesh::FaceHandle value_handle;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef const Mesh& mesh_ref;
|
typedef const Mesh& mesh_ref;
|
||||||
typedef const Mesh* mesh_ptr;
|
typedef const Mesh* mesh_ptr;
|
||||||
typedef const typename Mesh::Face& reference;
|
typedef const typename Mesh::Face& reference;
|
||||||
typedef const typename Mesh::Face* pointer;
|
typedef const typename Mesh::Face* pointer;
|
||||||
#else
|
#else
|
||||||
|
typedef std::bidirectional_iterator_tag iterator_category;
|
||||||
|
typedef ptrdiff_t difference_type;
|
||||||
typedef Mesh& mesh_ref;
|
typedef Mesh& mesh_ref;
|
||||||
typedef Mesh* mesh_ptr;
|
typedef Mesh* mesh_ptr;
|
||||||
typedef typename Mesh::Face& reference;
|
typedef typename Mesh::Face& reference;
|
||||||
|
|||||||
Reference in New Issue
Block a user