STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
point_iterator_ Class Reference

Find type iterator. More...

#include <ext/pb_ds/detail/unordered_iterator/point_iterator.hpp>

Public Types

typedef trivial_iterator_tag iterator_category
 Category. More...
 
typedef
trivial_iterator_difference_type 
difference_type
 Difference type. More...
 
typedef value_type_ value_type
 Iterator's value type. More...
 
typedef pointer_ pointer
 Iterator's pointer type. More...
 
typedef const_pointer_ const_pointer
 Iterator's const pointer type. More...
 
typedef reference_ reference
 Iterator's reference type. More...
 
typedef const_reference_ const_reference
 Iterator's const reference type. More...
 

Public Member Functions

 point_iterator_ ()
 Default constructor. More...
 
 point_iterator_ (const point_iterator_ &other)
 Copy constructor. More...
 
pointer operator-> () const
 Access. More...
 
reference operator* () const
 Access. More...
 
bool operator== (const point_iterator_ &other) const
 Compares content to a different iterator object. More...
 
bool operator== (const point_const_iterator_ &other) const
 Compares content to a different iterator object. More...
 
bool operator!= (const point_iterator_ &other) const
 Compares content to a different iterator object. More...
 
bool operator!= (const point_const_iterator_ &other) const
 Compares content (negatively) to a different iterator object. More...
 
 point_iterator_ (pointer p_value)
 

Protected Attributes

pointer m_p_value
 

Friends

class point_const_iterator_
 
class PB_DS_CLASS_C_DEC
 

Detailed Description

Find type iterator.

Member Typedef Documentation

typedef const_pointer_ point_iterator_::const_pointer

Iterator's const pointer type.

typedef const_reference_ point_iterator_::const_reference

Iterator's const reference type.

typedef trivial_iterator_difference_type point_iterator_::difference_type

Difference type.

typedef trivial_iterator_tag point_iterator_::iterator_category

Category.

typedef pointer_ point_iterator_::pointer

Iterator's pointer type.

typedef reference_ point_iterator_::reference

Iterator's reference type.

typedef value_type_ point_iterator_::value_type

Iterator's value type.

Constructor & Destructor Documentation

point_iterator_::point_iterator_ ( )
inline

Default constructor.

70  : m_p_value(0)
71  { }
pointer m_p_value
Definition: point_iterator.hpp:125
point_iterator_::point_iterator_ ( const point_iterator_ other)
inline

Copy constructor.

76  : m_p_value(other.m_p_value)
77  { }
pointer m_p_value
Definition: point_iterator.hpp:125
point_iterator_::point_iterator_ ( pointer  p_value)
inline
116  : m_p_value(p_value)
117  { }
pointer m_p_value
Definition: point_iterator.hpp:125

Member Function Documentation

bool point_iterator_::operator!= ( const point_iterator_ other) const
inline

Compares content to a different iterator object.

108  { return m_p_value != other.m_p_value; }
pointer m_p_value
Definition: point_iterator.hpp:125
bool point_iterator_::operator!= ( const point_const_iterator_ other) const
inline

Compares content (negatively) to a different iterator object.

113  { return m_p_value != other.m_p_value; }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
pointer m_p_value
Definition: point_iterator.hpp:125
reference point_iterator_::operator* ( ) const
inline

Access.

90  {
92  return (*m_p_value);
93  }
#define _GLIBCXX_DEBUG_ASSERT(_Condition)
Definition: debug.h:61
pointer m_p_value
Definition: point_iterator.hpp:125
pointer point_iterator_::operator-> ( ) const
inline

Access.

82  {
84  return (m_p_value);
85  }
#define _GLIBCXX_DEBUG_ASSERT(_Condition)
Definition: debug.h:61
pointer m_p_value
Definition: point_iterator.hpp:125
bool point_iterator_::operator== ( const point_iterator_ other) const
inline

Compares content to a different iterator object.

98  { return m_p_value == other.m_p_value; }
pointer m_p_value
Definition: point_iterator.hpp:125
bool point_iterator_::operator== ( const point_const_iterator_ other) const
inline

Compares content to a different iterator object.

103  { return m_p_value == other.m_p_value; }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
pointer m_p_value
Definition: point_iterator.hpp:125

Friends And Related Function Documentation

friend class PB_DS_CLASS_C_DEC
friend
friend class point_const_iterator_
friend

Member Data Documentation

pointer point_iterator_::m_p_value
protected

The documentation for this class was generated from the following file: