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_const_iterator_ Class Reference

Const point-type iterator. More...

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

Inheritance diagram for point_const_iterator_:
const_iterator_ iterator_

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_const_iterator_ (const_pointer p_value)
 
 point_const_iterator_ ()
 Default constructor. More...
 
 point_const_iterator_ (const point_const_iterator_ &other)
 Copy constructor. More...
 
 point_const_iterator_ (const point_iterator_ &other)
 Copy constructor. More...
 
const_pointer operator-> () const
 Access. More...
 
const_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 (negatively) to a different iterator object. More...
 
bool operator!= (const point_const_iterator_ &other) const
 Compares content (negatively) to a different iterator object. More...
 

Protected Attributes

const_pointer m_p_value
 

Friends

class point_iterator_
 
class PB_DS_CLASS_C_DEC
 

Detailed Description

Const point-type iterator.

Member Typedef Documentation

typedef const_pointer_ point_const_iterator_::const_pointer

Iterator's const pointer type.

typedef const_reference_ point_const_iterator_::const_reference

Iterator's const reference type.

typedef trivial_iterator_difference_type point_const_iterator_::difference_type

Difference type.

typedef trivial_iterator_tag point_const_iterator_::iterator_category

Category.

Iterator's pointer type.

Iterator's reference type.

typedef value_type_ point_const_iterator_::value_type

Iterator's value type.

Constructor & Destructor Documentation

point_const_iterator_::point_const_iterator_ ( const_pointer  p_value)
inline
70  : m_p_value(p_value)
71  { }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
point_const_iterator_::point_const_iterator_ ( )
inline

Default constructor.

75  : m_p_value(0)
76  { }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
point_const_iterator_::point_const_iterator_ ( const point_const_iterator_ other)
inline

Copy constructor.

81  : m_p_value(other.m_p_value)
82  { }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
point_const_iterator_::point_const_iterator_ ( const point_iterator_ other)
inline

Copy constructor.

87  : m_p_value(other.m_p_value)
88  { }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
pointer m_p_value
Definition: point_iterator.hpp:125

Member Function Documentation

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

Compares content (negatively) to a different iterator object.

119  { 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
bool point_const_iterator_::operator!= ( const point_const_iterator_ other) const
inline

Compares content (negatively) to a different iterator object.

124  { return m_p_value != other.m_p_value; }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
const_reference point_const_iterator_::operator* ( ) const
inline

Access.

101  {
103  return *m_p_value;
104  }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
#define _GLIBCXX_DEBUG_ASSERT(_Condition)
Definition: debug.h:61
const_pointer point_const_iterator_::operator-> ( ) const
inline

Access.

93  {
95  return m_p_value;
96  }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127
#define _GLIBCXX_DEBUG_ASSERT(_Condition)
Definition: debug.h:61
bool point_const_iterator_::operator== ( const point_iterator_ other) const
inline

Compares content to a different iterator object.

109  { 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
bool point_const_iterator_::operator== ( const point_const_iterator_ other) const
inline

Compares content to a different iterator object.

114  { return m_p_value == other.m_p_value; }
const_pointer m_p_value
Definition: point_const_iterator.hpp:127

Friends And Related Function Documentation

friend class PB_DS_CLASS_C_DEC
friend
friend class point_iterator_
friend

Member Data Documentation

const_pointer point_const_iterator_::m_p_value
protected

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