OpenMesh::Iterators::ConstEdgeIterT< Mesh > Class Template Reference

#include <OpenMesh/Mesh/Iterators/IteratorsT.hh>

List of all members.

Public Types

typedef std::ptrdiff_t difference_type
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef const Mesh * mesh_ptr
typedef const Mesh & mesh_ref
typedef const value_typepointer
typedef const value_typereference
typedef Mesh::EdgeHandle value_handle
typedef Mesh::Edge value_type

Public Member Functions

 ConstEdgeIterT (const EdgeIterT< Mesh > &_rhs)
 Construct from a non-const iterator.
 ConstEdgeIterT (const ConstEdgeIterT &_rhs)
 Copy constructor.
 ConstEdgeIterT (mesh_ref _mesh, value_handle _hnd, bool _skip=false)
 Construct with mesh and a target handle.
 ConstEdgeIterT ()
 Default constructor.
void disable_skipping ()
 Turn on skipping: automatically skip deleted/hidden elements.
void enable_skipping ()
 Turn on skipping: automatically skip deleted/hidden elements.
value_handle handle () const
 Get the handle of the item the iterator refers to.
 operator value_handle () const
 Cast to the handle of the item the iterator refers to.
bool operator!= (const ConstEdgeIterT &_rhs) const
 Not equal?
reference operator* () const
 Standard dereferencing operator.
ConstEdgeIterToperator++ ()
 Standard pre-increment operator.
ConstEdgeIterToperator-- ()
 Standard pre-decrement operator.
pointer operator-> () const
 Standard pointer operator.
ConstEdgeIterToperator= (const EdgeIterT< Mesh > &_rhs)
 Assignment from non-const iterator.
ConstEdgeIterToperator= (const ConstEdgeIterT< Mesh > &_rhs)
 Assignment operator.
bool operator== (const ConstEdgeIterT &_rhs) const
 Are two iterators equal? Only valid if they refer to the same mesh!

Private Member Functions

void skip_bwd ()
void skip_fwd ()

Private Attributes

value_handle hnd_
mesh_ptr mesh_
unsigned int skip_bits_

Detailed Description

template<class Mesh>
class OpenMesh::Iterators::ConstEdgeIterT< Mesh >

Linear iterator.

Definition at line 933 of file IteratorsT.hh.


Member Typedef Documentation

template<class Mesh>
typedef std::ptrdiff_t OpenMesh::Iterators::ConstEdgeIterT< Mesh >::difference_type

Definition at line 945 of file IteratorsT.hh.

template<class Mesh>
typedef std::bidirectional_iterator_tag OpenMesh::Iterators::ConstEdgeIterT< Mesh >::iterator_category

Definition at line 944 of file IteratorsT.hh.

template<class Mesh>
typedef const Mesh* OpenMesh::Iterators::ConstEdgeIterT< Mesh >::mesh_ptr

Definition at line 948 of file IteratorsT.hh.

template<class Mesh>
typedef const Mesh& OpenMesh::Iterators::ConstEdgeIterT< Mesh >::mesh_ref

Definition at line 949 of file IteratorsT.hh.

template<class Mesh>
typedef const value_type* OpenMesh::Iterators::ConstEdgeIterT< Mesh >::pointer

Definition at line 947 of file IteratorsT.hh.

template<class Mesh>
typedef const value_type& OpenMesh::Iterators::ConstEdgeIterT< Mesh >::reference

Definition at line 946 of file IteratorsT.hh.

template<class Mesh>
typedef Mesh::EdgeHandle OpenMesh::Iterators::ConstEdgeIterT< Mesh >::value_handle

Definition at line 941 of file IteratorsT.hh.

template<class Mesh>
typedef Mesh::Edge OpenMesh::Iterators::ConstEdgeIterT< Mesh >::value_type

Definition at line 940 of file IteratorsT.hh.


Constructor & Destructor Documentation

template<class Mesh>
OpenMesh::Iterators::ConstEdgeIterT< Mesh >::ConstEdgeIterT (  )  [inline]

Default constructor.

Definition at line 963 of file IteratorsT.hh.

template<class Mesh>
OpenMesh::Iterators::ConstEdgeIterT< Mesh >::ConstEdgeIterT ( mesh_ref  _mesh,
value_handle  _hnd,
bool  _skip = false 
) [inline]

Construct with mesh and a target handle.

Definition at line 969 of file IteratorsT.hh.

template<class Mesh>
OpenMesh::Iterators::ConstEdgeIterT< Mesh >::ConstEdgeIterT ( const ConstEdgeIterT< Mesh > &  _rhs  )  [inline]

Copy constructor.

Definition at line 980 of file IteratorsT.hh.

template<class Mesh>
OpenMesh::Iterators::ConstEdgeIterT< Mesh >::ConstEdgeIterT ( const EdgeIterT< Mesh > &  _rhs  )  [inline]

Construct from a non-const iterator.

Definition at line 998 of file IteratorsT.hh.


Member Function Documentation

template<class Mesh>
void OpenMesh::Iterators::ConstEdgeIterT< Mesh >::disable_skipping (  )  [inline]

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 1062 of file IteratorsT.hh.

template<class Mesh>
void OpenMesh::Iterators::ConstEdgeIterT< Mesh >::enable_skipping (  )  [inline]

Turn on skipping: automatically skip deleted/hidden elements.

Definition at line 1047 of file IteratorsT.hh.

template<class Mesh>
value_handle OpenMesh::Iterators::ConstEdgeIterT< Mesh >::handle (  )  const [inline]

Get the handle of the item the iterator refers to.

Definition at line 1024 of file IteratorsT.hh.

template<class Mesh>
OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator value_handle (  )  const [inline]

Cast to the handle of the item the iterator refers to.

Definition at line 1027 of file IteratorsT.hh.

template<class Mesh>
bool OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator!= ( const ConstEdgeIterT< Mesh > &  _rhs  )  const [inline]

Not equal?

Definition at line 1034 of file IteratorsT.hh.

template<class Mesh>
reference OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator* (  )  const [inline]

Standard dereferencing operator.

Definition at line 1018 of file IteratorsT.hh.

template<class Mesh>
ConstEdgeIterT& OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator++ (  )  [inline]

Standard pre-increment operator.

Definition at line 1038 of file IteratorsT.hh.

template<class Mesh>
ConstEdgeIterT& OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator-- (  )  [inline]

Standard pre-decrement operator.

Definition at line 1042 of file IteratorsT.hh.

template<class Mesh>
pointer OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator-> (  )  const [inline]

Standard pointer operator.

Definition at line 1021 of file IteratorsT.hh.

template<class Mesh>
ConstEdgeIterT& OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator= ( const EdgeIterT< Mesh > &  _rhs  )  [inline]

Assignment from non-const iterator.

Definition at line 1004 of file IteratorsT.hh.

template<class Mesh>
ConstEdgeIterT& OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator= ( const ConstEdgeIterT< Mesh > &  _rhs  )  [inline]

Assignment operator.

Definition at line 986 of file IteratorsT.hh.

template<class Mesh>
bool OpenMesh::Iterators::ConstEdgeIterT< Mesh >::operator== ( const ConstEdgeIterT< Mesh > &  _rhs  )  const [inline]

Are two iterators equal? Only valid if they refer to the same mesh!

Definition at line 1030 of file IteratorsT.hh.

template<class Mesh>
void OpenMesh::Iterators::ConstEdgeIterT< Mesh >::skip_bwd (  )  [inline, private]

Definition at line 1077 of file IteratorsT.hh.

template<class Mesh>
void OpenMesh::Iterators::ConstEdgeIterT< Mesh >::skip_fwd (  )  [inline, private]

Definition at line 1068 of file IteratorsT.hh.


Member Data Documentation

template<class Mesh>
value_handle OpenMesh::Iterators::ConstEdgeIterT< Mesh >::hnd_ [private]

Definition at line 1089 of file IteratorsT.hh.

template<class Mesh>
mesh_ptr OpenMesh::Iterators::ConstEdgeIterT< Mesh >::mesh_ [private]

Definition at line 1088 of file IteratorsT.hh.

template<class Mesh>
unsigned int OpenMesh::Iterators::ConstEdgeIterT< Mesh >::skip_bits_ [private]

Definition at line 1090 of file IteratorsT.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:18 2013