class UntypedMapIterator

Defined at line 472 of file ../../third_party/protobuf/src/google/protobuf/map.h

Public Members

NodeBase * node_
const UntypedMapBase * m_
map_index_t bucket_index_

Public Methods

bool Equals (const UntypedMapIterator & other)

The definition of operator== is handled by the derived type. If we were

to do it in this class it would allow comparing iterators of different

map types.

Defined at line 492 of file ../../third_party/protobuf/src/google/protobuf/map.h

void PlusPlus ()

The definition of operator++ is handled in the derived type. We would not

be able to return the right type from here.

Defined at line 498 of file ../../third_party/protobuf/src/google/protobuf/map.h

template <class Iter>
UntypedMapIterator FromTyped (Iter it)

Conversion to and from a typed iterator child class is used by FFI.

Defined at line 508 of file ../../third_party/protobuf/src/google/protobuf/map.h

template <class Iter>
Iter ToTyped ()

Defined at line 522 of file ../../third_party/protobuf/src/google/protobuf/map.h

void SearchFrom (map_index_t start_bucket)

Advance through buckets, looking for the first that isn't empty.

If nothing non-empty is found then leave node_ == nullptr.

Defined at line 834 of file ../../third_party/protobuf/src/google/protobuf/map.h