Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
google::protobuf::contrib::utils::ProtoEnumIterator< E > Class Template Reference

Generic Proto enum iterator. More...

#include <proto_enum_utils.h>

Public Types

typedef E value_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef int difference_type
 
typedef E * pointer
 
typedef E & reference
 

Public Member Functions

 ProtoEnumIterator ()
 
 ProtoEnumIterator (const ProtoEnumIterator &other)
 
ProtoEnumIteratoroperator= (const ProtoEnumIterator &other)
 
ProtoEnumIterator operator++ (int)
 
ProtoEnumIteratoroperator++ ()
 
operator* () const
 

Friends

class EnumeratedProtoEnumView< E >
 Only EnumeratedProtoEnumView can instantiate ProtoEnumIterator.
 
bool operator== (const ProtoEnumIterator< E > &a, const ProtoEnumIterator< E > &b)
 
bool operator!= (const ProtoEnumIterator< E > &a, const ProtoEnumIterator< E > &b)
 

Detailed Description

template<typename E>
class google::protobuf::contrib::utils::ProtoEnumIterator< E >

Generic Proto enum iterator.

Definition at line 54 of file proto_enum_utils.h.

Member Typedef Documentation

◆ difference_type

template<typename E>
typedef int google::protobuf::contrib::utils::ProtoEnumIterator< E >::difference_type

Definition at line 58 of file proto_enum_utils.h.

◆ iterator_category

template<typename E>
typedef std::forward_iterator_tag google::protobuf::contrib::utils::ProtoEnumIterator< E >::iterator_category

Definition at line 57 of file proto_enum_utils.h.

◆ pointer

template<typename E>
typedef E* google::protobuf::contrib::utils::ProtoEnumIterator< E >::pointer

Definition at line 59 of file proto_enum_utils.h.

◆ reference

template<typename E>
typedef E& google::protobuf::contrib::utils::ProtoEnumIterator< E >::reference

Definition at line 60 of file proto_enum_utils.h.

◆ value_type

template<typename E>
typedef E google::protobuf::contrib::utils::ProtoEnumIterator< E >::value_type

Definition at line 56 of file proto_enum_utils.h.

Constructor & Destructor Documentation

◆ ProtoEnumIterator() [1/2]

template<typename E>
google::protobuf::contrib::utils::ProtoEnumIterator< E >::ProtoEnumIterator ( )
inline

Definition at line 62 of file proto_enum_utils.h.

◆ ProtoEnumIterator() [2/2]

template<typename E>
google::protobuf::contrib::utils::ProtoEnumIterator< E >::ProtoEnumIterator ( const ProtoEnumIterator< E > & other)
inline

Definition at line 64 of file proto_enum_utils.h.

Member Function Documentation

◆ operator*()

template<typename E>
E google::protobuf::contrib::utils::ProtoEnumIterator< E >::operator* ( ) const
inline

Definition at line 83 of file proto_enum_utils.h.

◆ operator++() [1/2]

template<typename E>
ProtoEnumIterator & google::protobuf::contrib::utils::ProtoEnumIterator< E >::operator++ ( )
inline

Definition at line 78 of file proto_enum_utils.h.

◆ operator++() [2/2]

template<typename E>
ProtoEnumIterator google::protobuf::contrib::utils::ProtoEnumIterator< E >::operator++ ( int )
inline

Definition at line 72 of file proto_enum_utils.h.

◆ operator=()

template<typename E>
ProtoEnumIterator & google::protobuf::contrib::utils::ProtoEnumIterator< E >::operator= ( const ProtoEnumIterator< E > & other)
inline

Definition at line 67 of file proto_enum_utils.h.

Friends And Related Symbol Documentation

◆ EnumeratedProtoEnumView< E >

template<typename E>
friend class EnumeratedProtoEnumView< E >
friend

Only EnumeratedProtoEnumView can instantiate ProtoEnumIterator.

Definition at line 90 of file proto_enum_utils.h.

◆ operator!=

template<typename E>
bool operator!= ( const ProtoEnumIterator< E > & a,
const ProtoEnumIterator< E > & b )
friend

Definition at line 106 of file proto_enum_utils.h.

◆ operator==

template<typename E>
bool operator== ( const ProtoEnumIterator< E > & a,
const ProtoEnumIterator< E > & b )
friend

Definition at line 101 of file proto_enum_utils.h.


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