|
| GeneratedMessageReflection (const Descriptor *descriptor, const Message *default_instance, const int offsets[], int has_bits_offset, int unknown_fields_offset, int extensions_offset, const DescriptorPool *pool, MessageFactory *factory, int object_size, int arena_offset, int is_default_instance_offset=-1) |
|
| GeneratedMessageReflection (const Descriptor *descriptor, const Message *default_instance, const int offsets[], int has_bits_offset, int unknown_fields_offset, int extensions_offset, const void *default_oneof_instance, int oneof_case_offset, const DescriptorPool *pool, MessageFactory *factory, int object_size, int arena_offset, int is_default_instance_offset=-1) |
|
| ~GeneratedMessageReflection () |
|
const UnknownFieldSet & | GetUnknownFields (const Message &message) const |
|
UnknownFieldSet * | MutableUnknownFields (Message *message) const |
|
int | SpaceUsed (const Message &message) const |
|
bool | HasField (const Message &message, const FieldDescriptor *field) const |
|
int | FieldSize (const Message &message, const FieldDescriptor *field) const |
|
void | ClearField (Message *message, const FieldDescriptor *field) const |
|
bool | HasOneof (const Message &message, const OneofDescriptor *oneof_descriptor) const |
|
void | ClearOneof (Message *message, const OneofDescriptor *field) const |
|
void | RemoveLast (Message *message, const FieldDescriptor *field) const |
|
Message * | ReleaseLast (Message *message, const FieldDescriptor *field) const |
|
void | Swap (Message *message1, Message *message2) const |
|
void | SwapFields (Message *message1, Message *message2, const vector< const FieldDescriptor *> &fields) const |
|
void | SwapElements (Message *message, const FieldDescriptor *field, int index1, int index2) const |
|
void | ListFields (const Message &message, vector< const FieldDescriptor *> *output) const |
|
int32 | GetInt32 (const Message &message, const FieldDescriptor *field) const |
|
int64 | GetInt64 (const Message &message, const FieldDescriptor *field) const |
|
uint32 | GetUInt32 (const Message &message, const FieldDescriptor *field) const |
|
uint64 | GetUInt64 (const Message &message, const FieldDescriptor *field) const |
|
float | GetFloat (const Message &message, const FieldDescriptor *field) const |
|
double | GetDouble (const Message &message, const FieldDescriptor *field) const |
|
bool | GetBool (const Message &message, const FieldDescriptor *field) const |
|
string | GetString (const Message &message, const FieldDescriptor *field) const |
|
const string & | GetStringReference (const Message &message, const FieldDescriptor *field, string *scratch) const |
|
const EnumValueDescriptor * | GetEnum (const Message &message, const FieldDescriptor *field) const |
|
int | GetEnumValue (const Message &message, const FieldDescriptor *field) const |
|
const Message & | GetMessage (const Message &message, const FieldDescriptor *field, MessageFactory *factory=NULL) const |
|
const FieldDescriptor * | GetOneofFieldDescriptor (const Message &message, const OneofDescriptor *oneof_descriptor) const |
|
void | SetInt32 (Message *message, const FieldDescriptor *field, int32 value) const |
|
void | SetInt64 (Message *message, const FieldDescriptor *field, int64 value) const |
|
void | SetUInt32 (Message *message, const FieldDescriptor *field, uint32 value) const |
|
void | SetUInt64 (Message *message, const FieldDescriptor *field, uint64 value) const |
|
void | SetFloat (Message *message, const FieldDescriptor *field, float value) const |
|
void | SetDouble (Message *message, const FieldDescriptor *field, double value) const |
|
void | SetBool (Message *message, const FieldDescriptor *field, bool value) const |
|
void | SetString (Message *message, const FieldDescriptor *field, const string &value) const |
|
void | SetEnum (Message *message, const FieldDescriptor *field, const EnumValueDescriptor *value) const |
|
void | SetEnumValue (Message *message, const FieldDescriptor *field, int value) const |
|
Message * | MutableMessage (Message *message, const FieldDescriptor *field, MessageFactory *factory=NULL) const |
|
void | SetAllocatedMessage (Message *message, Message *sub_message, const FieldDescriptor *field) const |
|
Message * | ReleaseMessage (Message *message, const FieldDescriptor *field, MessageFactory *factory=NULL) const |
|
int32 | GetRepeatedInt32 (const Message &message, const FieldDescriptor *field, int index) const |
|
int64 | GetRepeatedInt64 (const Message &message, const FieldDescriptor *field, int index) const |
|
uint32 | GetRepeatedUInt32 (const Message &message, const FieldDescriptor *field, int index) const |
|
uint64 | GetRepeatedUInt64 (const Message &message, const FieldDescriptor *field, int index) const |
|
float | GetRepeatedFloat (const Message &message, const FieldDescriptor *field, int index) const |
|
double | GetRepeatedDouble (const Message &message, const FieldDescriptor *field, int index) const |
|
bool | GetRepeatedBool (const Message &message, const FieldDescriptor *field, int index) const |
|
string | GetRepeatedString (const Message &message, const FieldDescriptor *field, int index) const |
|
const string & | GetRepeatedStringReference (const Message &message, const FieldDescriptor *field, int index, string *scratch) const |
|
const EnumValueDescriptor * | GetRepeatedEnum (const Message &message, const FieldDescriptor *field, int index) const |
|
int | GetRepeatedEnumValue (const Message &message, const FieldDescriptor *field, int index) const |
|
const Message & | GetRepeatedMessage (const Message &message, const FieldDescriptor *field, int index) const |
|
void | SetRepeatedInt32 (Message *message, const FieldDescriptor *field, int index, int32 value) const |
|
void | SetRepeatedInt64 (Message *message, const FieldDescriptor *field, int index, int64 value) const |
|
void | SetRepeatedUInt32 (Message *message, const FieldDescriptor *field, int index, uint32 value) const |
|
void | SetRepeatedUInt64 (Message *message, const FieldDescriptor *field, int index, uint64 value) const |
|
void | SetRepeatedFloat (Message *message, const FieldDescriptor *field, int index, float value) const |
|
void | SetRepeatedDouble (Message *message, const FieldDescriptor *field, int index, double value) const |
|
void | SetRepeatedBool (Message *message, const FieldDescriptor *field, int index, bool value) const |
|
void | SetRepeatedString (Message *message, const FieldDescriptor *field, int index, const string &value) const |
|
void | SetRepeatedEnum (Message *message, const FieldDescriptor *field, int index, const EnumValueDescriptor *value) const |
|
void | SetRepeatedEnumValue (Message *message, const FieldDescriptor *field, int index, int value) const |
|
Message * | MutableRepeatedMessage (Message *message, const FieldDescriptor *field, int index) const |
|
void | AddInt32 (Message *message, const FieldDescriptor *field, int32 value) const |
|
void | AddInt64 (Message *message, const FieldDescriptor *field, int64 value) const |
|
void | AddUInt32 (Message *message, const FieldDescriptor *field, uint32 value) const |
|
void | AddUInt64 (Message *message, const FieldDescriptor *field, uint64 value) const |
|
void | AddFloat (Message *message, const FieldDescriptor *field, float value) const |
|
void | AddDouble (Message *message, const FieldDescriptor *field, double value) const |
|
void | AddBool (Message *message, const FieldDescriptor *field, bool value) const |
|
void | AddString (Message *message, const FieldDescriptor *field, const string &value) const |
|
void | AddEnum (Message *message, const FieldDescriptor *field, const EnumValueDescriptor *value) const |
|
void | AddEnumValue (Message *message, const FieldDescriptor *field, int value) const |
|
Message * | AddMessage (Message *message, const FieldDescriptor *field, MessageFactory *factory=NULL) const |
|
void | AddAllocatedMessage (Message *message, const FieldDescriptor *field, Message *new_entry) const |
|
const FieldDescriptor * | FindKnownExtensionByName (const string &name) const |
|
const FieldDescriptor * | FindKnownExtensionByNumber (int number) const |
|
bool | SupportsUnknownEnumValues () const |
|
| Reflection () |
|
virtual | ~Reflection () |
|
template<typename T > |
RepeatedFieldRef< T > | GetRepeatedFieldRef (const Message &message, const FieldDescriptor *field) const |
|
template<typename T > |
MutableRepeatedFieldRef< T > | GetMutableRepeatedFieldRef (Message *message, const FieldDescriptor *field) const |
|
template<typename T > |
const RepeatedField< T > & | GetRepeatedField (const Message &, const FieldDescriptor *) const |
|
template<typename T > |
RepeatedField< T > * | MutableRepeatedField (Message *, const FieldDescriptor *) const |
|
template<typename T > |
const RepeatedPtrField< T > & | GetRepeatedPtrField (const Message &, const FieldDescriptor *) const |
|
template<typename T > |
RepeatedPtrField< T > * | MutableRepeatedPtrField (Message *, const FieldDescriptor *) const |
|
template<> |
const RepeatedPtrField< string > & | GetRepeatedPtrField (const Message &message, const FieldDescriptor *field) const |
|
template<> |
RepeatedPtrField< string > * | MutableRepeatedPtrField (Message *message, const FieldDescriptor *field) const |
|
template<> |
const RepeatedPtrField< Message > & | GetRepeatedPtrField (const Message &message, const FieldDescriptor *field) const |
|
template<> |
RepeatedPtrField< Message > * | MutableRepeatedPtrField (Message *message, const FieldDescriptor *field) const |
|
template<typename PB > |
const RepeatedPtrField< PB > & | GetRepeatedPtrField (const Message &message, const FieldDescriptor *field) const |
|
template<typename PB > |
RepeatedPtrField< PB > * | MutableRepeatedPtrField (Message *message, const FieldDescriptor *field) const |
|