![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
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) | |
ProtoEnumIterator & | operator= (const ProtoEnumIterator &other) |
ProtoEnumIterator | operator++ (int) |
ProtoEnumIterator & | operator++ () |
E | 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) |
Generic Proto enum iterator.
Definition at line 54 of file proto_enum_utils.h.
typedef int google::protobuf::contrib::utils::ProtoEnumIterator< E >::difference_type |
Definition at line 58 of file proto_enum_utils.h.
typedef std::forward_iterator_tag google::protobuf::contrib::utils::ProtoEnumIterator< E >::iterator_category |
Definition at line 57 of file proto_enum_utils.h.
typedef E* google::protobuf::contrib::utils::ProtoEnumIterator< E >::pointer |
Definition at line 59 of file proto_enum_utils.h.
typedef E& google::protobuf::contrib::utils::ProtoEnumIterator< E >::reference |
Definition at line 60 of file proto_enum_utils.h.
typedef E google::protobuf::contrib::utils::ProtoEnumIterator< E >::value_type |
Definition at line 56 of file proto_enum_utils.h.
|
inline |
Definition at line 62 of file proto_enum_utils.h.
|
inline |
Definition at line 64 of file proto_enum_utils.h.
|
inline |
Definition at line 83 of file proto_enum_utils.h.
|
inline |
Definition at line 78 of file proto_enum_utils.h.
|
inline |
Definition at line 72 of file proto_enum_utils.h.
|
inline |
Definition at line 67 of file proto_enum_utils.h.
|
friend |
Only EnumeratedProtoEnumView can instantiate ProtoEnumIterator.
Definition at line 90 of file proto_enum_utils.h.
|
friend |
Definition at line 106 of file proto_enum_utils.h.
|
friend |
Definition at line 101 of file proto_enum_utils.h.