Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::MapReflectionTester Class Reference

#include <map_test_util.h>

Public Member Functions

void ClearMapFieldsViaReflection (Message *message)
 
void ExpectClearViaReflection (const Message &message)
 
void ExpectClearViaReflectionIterator (Message *message)
 
void ExpectMapFieldsSetViaReflection (const Message &message)
 
void ExpectMapFieldsSetViaReflectionIterator (Message *message)
 
MessageGetMapEntryViaReflection (Message *message, const std::string &field_name, int index)
 
void GetMapValueViaMapReflection (Message *message, const std::string &field_name, const MapKey &map_key, MapValueRef *map_val)
 
MapIterator MapBegin (Message *message, const std::string &field_name)
 
MapIterator MapEnd (Message *message, const std::string &field_name)
 
 MapReflectionTester (const Descriptor *base_descriptor)
 
void ModifyMapFieldsViaReflection (Message *message)
 
void MutableUnknownFieldsOfMapFieldsViaReflection (Message *message)
 
void ReleaseLastMapsViaReflection (Message *message)
 
void RemoveLastMapsViaReflection (Message *message)
 
void SetMapFieldsViaMapReflection (Message *message)
 
void SetMapFieldsViaReflection (Message *message)
 
void SwapMapsViaReflection (Message *message)
 

Private Member Functions

const FieldDescriptorF (const std::string &name)
 

Private Attributes

const Descriptorbase_descriptor_
 
const FieldDescriptorforeign_c_
 
const FieldDescriptormap_bool_bool_key_
 
const FieldDescriptormap_bool_bool_val_
 
const EnumValueDescriptormap_enum_bar_
 
const EnumValueDescriptormap_enum_baz_
 
const EnumValueDescriptormap_enum_foo_
 
const FieldDescriptormap_fixed32_fixed32_key_
 
const FieldDescriptormap_fixed32_fixed32_val_
 
const FieldDescriptormap_fixed64_fixed64_key_
 
const FieldDescriptormap_fixed64_fixed64_val_
 
const FieldDescriptormap_int32_bytes_key_
 
const FieldDescriptormap_int32_bytes_val_
 
const FieldDescriptormap_int32_double_key_
 
const FieldDescriptormap_int32_double_val_
 
const FieldDescriptormap_int32_enum_key_
 
const FieldDescriptormap_int32_enum_val_
 
const FieldDescriptormap_int32_float_key_
 
const FieldDescriptormap_int32_float_val_
 
const FieldDescriptormap_int32_foreign_message_key_
 
const FieldDescriptormap_int32_foreign_message_val_
 
const FieldDescriptormap_int32_int32_key_
 
const FieldDescriptormap_int32_int32_val_
 
const FieldDescriptormap_int64_int64_key_
 
const FieldDescriptormap_int64_int64_val_
 
const FieldDescriptormap_sfixed32_sfixed32_key_
 
const FieldDescriptormap_sfixed32_sfixed32_val_
 
const FieldDescriptormap_sfixed64_sfixed64_key_
 
const FieldDescriptormap_sfixed64_sfixed64_val_
 
const FieldDescriptormap_sint32_sint32_key_
 
const FieldDescriptormap_sint32_sint32_val_
 
const FieldDescriptormap_sint64_sint64_key_
 
const FieldDescriptormap_sint64_sint64_val_
 
const FieldDescriptormap_string_string_key_
 
const FieldDescriptormap_string_string_val_
 
const FieldDescriptormap_uint32_uint32_key_
 
const FieldDescriptormap_uint32_uint32_val_
 
const FieldDescriptormap_uint64_uint64_key_
 
const FieldDescriptormap_uint64_uint64_val_
 

Detailed Description

Definition at line 88 of file map_test_util.h.

Constructor & Destructor Documentation

◆ MapReflectionTester()

google::protobuf::MapReflectionTester::MapReflectionTester ( const Descriptor base_descriptor)
explicit

Definition at line 223 of file map_test_util.cc.

Member Function Documentation

◆ ClearMapFieldsViaReflection()

void google::protobuf::MapReflectionTester::ClearMapFieldsViaReflection ( Message message)

Definition at line 758 of file map_test_util.cc.

◆ ExpectClearViaReflection()

void google::protobuf::MapReflectionTester::ExpectClearViaReflection ( const Message message)

Definition at line 1540 of file map_test_util.cc.

◆ ExpectClearViaReflectionIterator()

void google::protobuf::MapReflectionTester::ExpectClearViaReflectionIterator ( Message message)

Definition at line 1564 of file map_test_util.cc.

◆ ExpectMapFieldsSetViaReflection()

void google::protobuf::MapReflectionTester::ExpectMapFieldsSetViaReflection ( const Message message)

Definition at line 973 of file map_test_util.cc.

◆ ExpectMapFieldsSetViaReflectionIterator()

void google::protobuf::MapReflectionTester::ExpectMapFieldsSetViaReflectionIterator ( Message message)

Definition at line 1313 of file map_test_util.cc.

◆ F()

const FieldDescriptor * google::protobuf::MapReflectionTester::F ( const std::string name)
private

Definition at line 341 of file map_test_util.cc.

◆ GetMapEntryViaReflection()

Message * google::protobuf::MapReflectionTester::GetMapEntryViaReflection ( Message message,
const std::string field_name,
int  index 
)

Definition at line 740 of file map_test_util.cc.

◆ GetMapValueViaMapReflection()

void google::protobuf::MapReflectionTester::GetMapValueViaMapReflection ( Message message,
const std::string field_name,
const MapKey map_key,
MapValueRef map_val 
)

Definition at line 732 of file map_test_util.cc.

◆ MapBegin()

MapIterator google::protobuf::MapReflectionTester::MapBegin ( Message message,
const std::string field_name 
)

Definition at line 746 of file map_test_util.cc.

◆ MapEnd()

MapIterator google::protobuf::MapReflectionTester::MapEnd ( Message message,
const std::string field_name 
)

Definition at line 752 of file map_test_util.cc.

◆ ModifyMapFieldsViaReflection()

void google::protobuf::MapReflectionTester::ModifyMapFieldsViaReflection ( Message message)

Definition at line 780 of file map_test_util.cc.

◆ MutableUnknownFieldsOfMapFieldsViaReflection()

void google::protobuf::MapReflectionTester::MutableUnknownFieldsOfMapFieldsViaReflection ( Message message)

Definition at line 915 of file map_test_util.cc.

◆ ReleaseLastMapsViaReflection()

void google::protobuf::MapReflectionTester::ReleaseLastMapsViaReflection ( Message message)

Definition at line 887 of file map_test_util.cc.

◆ RemoveLastMapsViaReflection()

void google::protobuf::MapReflectionTester::RemoveLastMapsViaReflection ( Message message)

Definition at line 875 of file map_test_util.cc.

◆ SetMapFieldsViaMapReflection()

void google::protobuf::MapReflectionTester::SetMapFieldsViaMapReflection ( Message message)

Definition at line 544 of file map_test_util.cc.

◆ SetMapFieldsViaReflection()

void google::protobuf::MapReflectionTester::SetMapFieldsViaReflection ( Message message)

Definition at line 348 of file map_test_util.cc.

◆ SwapMapsViaReflection()

void google::protobuf::MapReflectionTester::SwapMapsViaReflection ( Message message)

Definition at line 904 of file map_test_util.cc.

Member Data Documentation

◆ base_descriptor_

const Descriptor* google::protobuf::MapReflectionTester::base_descriptor_
private

Definition at line 118 of file map_test_util.h.

◆ foreign_c_

const FieldDescriptor* google::protobuf::MapReflectionTester::foreign_c_
private

Definition at line 124 of file map_test_util.h.

◆ map_bool_bool_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_bool_bool_key_
private

Definition at line 149 of file map_test_util.h.

◆ map_bool_bool_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_bool_bool_val_
private

Definition at line 150 of file map_test_util.h.

◆ map_enum_bar_

const EnumValueDescriptor* google::protobuf::MapReflectionTester::map_enum_bar_
private

Definition at line 120 of file map_test_util.h.

◆ map_enum_baz_

const EnumValueDescriptor* google::protobuf::MapReflectionTester::map_enum_baz_
private

Definition at line 121 of file map_test_util.h.

◆ map_enum_foo_

const EnumValueDescriptor* google::protobuf::MapReflectionTester::map_enum_foo_
private

Definition at line 122 of file map_test_util.h.

◆ map_fixed32_fixed32_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_fixed32_fixed32_key_
private

Definition at line 137 of file map_test_util.h.

◆ map_fixed32_fixed32_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_fixed32_fixed32_val_
private

Definition at line 138 of file map_test_util.h.

◆ map_fixed64_fixed64_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_fixed64_fixed64_key_
private

Definition at line 139 of file map_test_util.h.

◆ map_fixed64_fixed64_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_fixed64_fixed64_val_
private

Definition at line 140 of file map_test_util.h.

◆ map_int32_bytes_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_bytes_key_
private

Definition at line 153 of file map_test_util.h.

◆ map_int32_bytes_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_bytes_val_
private

Definition at line 154 of file map_test_util.h.

◆ map_int32_double_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_double_key_
private

Definition at line 147 of file map_test_util.h.

◆ map_int32_double_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_double_val_
private

Definition at line 148 of file map_test_util.h.

◆ map_int32_enum_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_enum_key_
private

Definition at line 155 of file map_test_util.h.

◆ map_int32_enum_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_enum_val_
private

Definition at line 156 of file map_test_util.h.

◆ map_int32_float_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_float_key_
private

Definition at line 145 of file map_test_util.h.

◆ map_int32_float_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_float_val_
private

Definition at line 146 of file map_test_util.h.

◆ map_int32_foreign_message_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_foreign_message_key_
private

Definition at line 157 of file map_test_util.h.

◆ map_int32_foreign_message_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_foreign_message_val_
private

Definition at line 158 of file map_test_util.h.

◆ map_int32_int32_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_int32_key_
private

Definition at line 125 of file map_test_util.h.

◆ map_int32_int32_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int32_int32_val_
private

Definition at line 126 of file map_test_util.h.

◆ map_int64_int64_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int64_int64_key_
private

Definition at line 127 of file map_test_util.h.

◆ map_int64_int64_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_int64_int64_val_
private

Definition at line 128 of file map_test_util.h.

◆ map_sfixed32_sfixed32_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sfixed32_sfixed32_key_
private

Definition at line 141 of file map_test_util.h.

◆ map_sfixed32_sfixed32_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sfixed32_sfixed32_val_
private

Definition at line 142 of file map_test_util.h.

◆ map_sfixed64_sfixed64_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sfixed64_sfixed64_key_
private

Definition at line 143 of file map_test_util.h.

◆ map_sfixed64_sfixed64_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sfixed64_sfixed64_val_
private

Definition at line 144 of file map_test_util.h.

◆ map_sint32_sint32_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sint32_sint32_key_
private

Definition at line 133 of file map_test_util.h.

◆ map_sint32_sint32_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sint32_sint32_val_
private

Definition at line 134 of file map_test_util.h.

◆ map_sint64_sint64_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sint64_sint64_key_
private

Definition at line 135 of file map_test_util.h.

◆ map_sint64_sint64_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_sint64_sint64_val_
private

Definition at line 136 of file map_test_util.h.

◆ map_string_string_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_string_string_key_
private

Definition at line 151 of file map_test_util.h.

◆ map_string_string_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_string_string_val_
private

Definition at line 152 of file map_test_util.h.

◆ map_uint32_uint32_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_uint32_uint32_key_
private

Definition at line 129 of file map_test_util.h.

◆ map_uint32_uint32_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_uint32_uint32_val_
private

Definition at line 130 of file map_test_util.h.

◆ map_uint64_uint64_key_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_uint64_uint64_key_
private

Definition at line 131 of file map_test_util.h.

◆ map_uint64_uint64_val_

const FieldDescriptor* google::protobuf::MapReflectionTester::map_uint64_uint64_val_
private

Definition at line 132 of file map_test_util.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08