TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::internal::RepeatedPtrIterator< Element > Class Template Reference

#include <repeated_field.h>

Public Types

typedef RepeatedPtrIterator
< Element > 
iterator
 
typedef std::iterator
< std::random_access_iterator_tag,
Element > 
superclass
 
typedef remove_const< Element >
::type 
value_type
 
typedef superclass::reference reference
 
typedef superclass::pointer pointer
 
typedef superclass::difference_type difference_type
 

Public Member Functions

 RepeatedPtrIterator ()
 
 RepeatedPtrIterator (void *const *it)
 
template<typename OtherElement >
 RepeatedPtrIterator (const RepeatedPtrIterator< OtherElement > &other)
 
reference operator* () const
 
pointer operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
bool operator== (const iterator &x) const
 
bool operator!= (const iterator &x) const
 
bool operator< (const iterator &x) const
 
bool operator<= (const iterator &x) const
 
bool operator> (const iterator &x) const
 
bool operator>= (const iterator &x) const
 
iteratoroperator+= (difference_type d)
 
iteratoroperator-= (difference_type d)
 
reference operator[] (difference_type d) const
 
difference_type operator- (const iterator &x) const
 

Private Attributes

void *constit_
 

Friends

template<typename OtherElement >
class RepeatedPtrIterator
 
iterator operator+ (iterator it, difference_type d)
 
iterator operator+ (difference_type d, iterator it)
 
iterator operator- (iterator it, difference_type d)
 

Member Typedef Documentation

template<typename Element >
typedef superclass::difference_type google::protobuf::internal::RepeatedPtrIterator< Element >::difference_type
template<typename Element >
typedef RepeatedPtrIterator<Element> google::protobuf::internal::RepeatedPtrIterator< Element >::iterator
template<typename Element >
typedef superclass::pointer google::protobuf::internal::RepeatedPtrIterator< Element >::pointer
template<typename Element >
typedef superclass::reference google::protobuf::internal::RepeatedPtrIterator< Element >::reference
template<typename Element >
typedef std::iterator< std::random_access_iterator_tag, Element> google::protobuf::internal::RepeatedPtrIterator< Element >::superclass
template<typename Element >
typedef remove_const<Element>::type google::protobuf::internal::RepeatedPtrIterator< Element >::value_type

Constructor & Destructor Documentation

template<typename Element >
google::protobuf::internal::RepeatedPtrIterator< Element >::RepeatedPtrIterator ( )
inline
1271 : it_(NULL) {}
arena_t NULL
Definition: jemalloc_internal.h:624
void *const * it_
Definition: repeated_field.h:1338
template<typename Element >
google::protobuf::internal::RepeatedPtrIterator< Element >::RepeatedPtrIterator ( void *const it)
inlineexplicit
1272 : it_(it) {}
void *const * it_
Definition: repeated_field.h:1338
template<typename Element >
template<typename OtherElement >
google::protobuf::internal::RepeatedPtrIterator< Element >::RepeatedPtrIterator ( const RepeatedPtrIterator< OtherElement > &  other)
inline
1278  : it_(other.it_) {
1279  // Force a compiler error if the other type is not convertible to ours.
1280  if (false) {
1281  implicit_cast<Element*, OtherElement*>(0);
1282  }
1283  }
void *const * it_
Definition: repeated_field.h:1338
To implicit_cast(From const &f)
Definition: common.h:311

+ Here is the call graph for this function:

Member Function Documentation

template<typename Element >
bool google::protobuf::internal::RepeatedPtrIterator< Element >::operator!= ( const iterator x) const
inline
1297 { return it_ != x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
reference google::protobuf::internal::RepeatedPtrIterator< Element >::operator* ( ) const
inline
1286 { return *reinterpret_cast<Element*>(*it_); }

+ Here is the caller graph for this function:

template<typename Element >
iterator& google::protobuf::internal::RepeatedPtrIterator< Element >::operator++ ( )
inline
1290 { ++it_; return *this; }
void *const * it_
Definition: repeated_field.h:1338
template<typename Element >
iterator google::protobuf::internal::RepeatedPtrIterator< Element >::operator++ ( int  )
inline
1291 { return iterator(it_++); }
void *const * it_
Definition: repeated_field.h:1338
RepeatedPtrIterator< Element > iterator
Definition: repeated_field.h:1257
template<typename Element >
iterator& google::protobuf::internal::RepeatedPtrIterator< Element >::operator+= ( difference_type  d)
inline
1306  {
1307  it_ += d;
1308  return *this;
1309  }
void *const * it_
Definition: repeated_field.h:1338
template<typename Element >
difference_type google::protobuf::internal::RepeatedPtrIterator< Element >::operator- ( const iterator x) const
inline
1331 { return it_ - x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
iterator& google::protobuf::internal::RepeatedPtrIterator< Element >::operator-- ( )
inline
1292 { --it_; return *this; }
void *const * it_
Definition: repeated_field.h:1338
template<typename Element >
iterator google::protobuf::internal::RepeatedPtrIterator< Element >::operator-- ( int  )
inline
1293 { return iterator(it_--); }
void *const * it_
Definition: repeated_field.h:1338
RepeatedPtrIterator< Element > iterator
Definition: repeated_field.h:1257
template<typename Element >
iterator& google::protobuf::internal::RepeatedPtrIterator< Element >::operator-= ( difference_type  d)
inline
1318  {
1319  it_ -= d;
1320  return *this;
1321  }
void *const * it_
Definition: repeated_field.h:1338
template<typename Element >
pointer google::protobuf::internal::RepeatedPtrIterator< Element >::operator-> ( ) const
inline
1287 { return &(operator*()); }
reference operator*() const
Definition: repeated_field.h:1286

+ Here is the call graph for this function:

template<typename Element >
bool google::protobuf::internal::RepeatedPtrIterator< Element >::operator< ( const iterator x) const
inline
1300 { return it_ < x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
bool google::protobuf::internal::RepeatedPtrIterator< Element >::operator<= ( const iterator x) const
inline
1301 { return it_ <= x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
bool google::protobuf::internal::RepeatedPtrIterator< Element >::operator== ( const iterator x) const
inline
1296 { return it_ == x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
bool google::protobuf::internal::RepeatedPtrIterator< Element >::operator> ( const iterator x) const
inline
1302 { return it_ > x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
bool google::protobuf::internal::RepeatedPtrIterator< Element >::operator>= ( const iterator x) const
inline
1303 { return it_ >= x.it_; }
void *const * it_
Definition: repeated_field.h:1338
G3D::int16 x
Definition: Vector2int16.h:37
template<typename Element >
reference google::protobuf::internal::RepeatedPtrIterator< Element >::operator[] ( difference_type  d) const
inline
1328 { return *(*this + d); }

Friends And Related Function Documentation

template<typename Element >
iterator operator+ ( iterator  it,
difference_type  d 
)
friend
1310  {
1311  it += d;
1312  return it;
1313  }
template<typename Element >
iterator operator+ ( difference_type  d,
iterator  it 
)
friend
1314  {
1315  it += d;
1316  return it;
1317  }
template<typename Element >
iterator operator- ( iterator  it,
difference_type  d 
)
friend
1322  {
1323  it -= d;
1324  return it;
1325  }
template<typename Element >
template<typename OtherElement >
friend class RepeatedPtrIterator
friend

Member Data Documentation

template<typename Element >
void* const* google::protobuf::internal::RepeatedPtrIterator< Element >::it_
private

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