|
| Reflection () |
|
virtual | ~Reflection () |
|
virtual const UnknownFieldSet & | GetUnknownFields (const Message &message) const =0 |
|
virtual UnknownFieldSet * | MutableUnknownFields (Message *message) const =0 |
|
virtual size_t | SpaceUsedLong (const Message &message) const =0 |
|
int | SpaceUsed (const Message &message) const |
|
virtual bool | HasField (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual int | FieldSize (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual void | ClearField (Message *message, const FieldDescriptor *field) const =0 |
|
virtual bool | HasOneof (const Message &, const OneofDescriptor *) const |
|
virtual void | ClearOneof (Message *, const OneofDescriptor *) const |
|
virtual const FieldDescriptor * | GetOneofFieldDescriptor (const Message &, const OneofDescriptor *) const |
|
virtual void | RemoveLast (Message *message, const FieldDescriptor *field) const =0 |
|
virtual Message * | ReleaseLast (Message *message, const FieldDescriptor *field) const =0 |
|
virtual void | Swap (Message *message1, Message *message2) const =0 |
|
virtual void | SwapFields (Message *message1, Message *message2, const std::vector< const FieldDescriptor * > &fields) const =0 |
|
virtual void | SwapElements (Message *message, const FieldDescriptor *field, int index1, int index2) const =0 |
|
virtual void | ListFields (const Message &message, std::vector< const FieldDescriptor * > *output) const =0 |
|
virtual int32 | GetInt32 (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual int64 | GetInt64 (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual uint32 | GetUInt32 (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual uint64 | GetUInt64 (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual float | GetFloat (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual double | GetDouble (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual bool | GetBool (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual string | GetString (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual const EnumValueDescriptor * | GetEnum (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual int | GetEnumValue (const Message &message, const FieldDescriptor *field) const =0 |
|
virtual const Message & | GetMessage (const Message &message, const FieldDescriptor *field, MessageFactory *factory=NULL) const =0 |
|
virtual const string & | GetStringReference (const Message &message, const FieldDescriptor *field, string *scratch) const =0 |
|
virtual void | SetInt32 (Message *message, const FieldDescriptor *field, int32 value) const =0 |
|
virtual void | SetInt64 (Message *message, const FieldDescriptor *field, int64 value) const =0 |
|
virtual void | SetUInt32 (Message *message, const FieldDescriptor *field, uint32 value) const =0 |
|
virtual void | SetUInt64 (Message *message, const FieldDescriptor *field, uint64 value) const =0 |
|
virtual void | SetFloat (Message *message, const FieldDescriptor *field, float value) const =0 |
|
virtual void | SetDouble (Message *message, const FieldDescriptor *field, double value) const =0 |
|
virtual void | SetBool (Message *message, const FieldDescriptor *field, bool value) const =0 |
|
virtual void | SetString (Message *message, const FieldDescriptor *field, const string &value) const =0 |
|
virtual void | SetEnum (Message *message, const FieldDescriptor *field, const EnumValueDescriptor *value) const =0 |
|
virtual void | SetEnumValue (Message *message, const FieldDescriptor *field, int value) const =0 |
|
virtual Message * | MutableMessage (Message *message, const FieldDescriptor *field, MessageFactory *factory=NULL) const =0 |
|
virtual void | SetAllocatedMessage (Message *message, Message *sub_message, const FieldDescriptor *field) const =0 |
|
virtual Message * | ReleaseMessage (Message *message, const FieldDescriptor *field, MessageFactory *factory=NULL) const =0 |
|
virtual int32 | GetRepeatedInt32 (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual int64 | GetRepeatedInt64 (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual uint32 | GetRepeatedUInt32 (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual uint64 | GetRepeatedUInt64 (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual float | GetRepeatedFloat (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual double | GetRepeatedDouble (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual bool | GetRepeatedBool (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual string | GetRepeatedString (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual const EnumValueDescriptor * | GetRepeatedEnum (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual int | GetRepeatedEnumValue (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual const Message & | GetRepeatedMessage (const Message &message, const FieldDescriptor *field, int index) const =0 |
|
virtual const string & | GetRepeatedStringReference (const Message &message, const FieldDescriptor *field, int index, string *scratch) const =0 |
|
virtual void | SetRepeatedInt32 (Message *message, const FieldDescriptor *field, int index, int32 value) const =0 |
|
virtual void | SetRepeatedInt64 (Message *message, const FieldDescriptor *field, int index, int64 value) const =0 |
|
virtual void | SetRepeatedUInt32 (Message *message, const FieldDescriptor *field, int index, uint32 value) const =0 |
|
virtual void | SetRepeatedUInt64 (Message *message, const FieldDescriptor *field, int index, uint64 value) const =0 |
|
virtual void | SetRepeatedFloat (Message *message, const FieldDescriptor *field, int index, float value) const =0 |
|
virtual void | SetRepeatedDouble (Message *message, const FieldDescriptor *field, int index, double value) const =0 |
|
virtual void | SetRepeatedBool (Message *message, const FieldDescriptor *field, int index, bool value) const =0 |
|
virtual void | SetRepeatedString (Message *message, const FieldDescriptor *field, int index, const string &value) const =0 |
|
virtual void | SetRepeatedEnum (Message *message, const FieldDescriptor *field, int index, const EnumValueDescriptor *value) const =0 |
|
virtual void | SetRepeatedEnumValue (Message *message, const FieldDescriptor *field, int index, int value) const =0 |
|
virtual Message * | MutableRepeatedMessage (Message *message, const FieldDescriptor *field, int index) const =0 |
|
virtual void | AddInt32 (Message *message, const FieldDescriptor *field, int32 value) const =0 |
|
virtual void | AddInt64 (Message *message, const FieldDescriptor *field, int64 value) const =0 |
|
virtual void | AddUInt32 (Message *message, const FieldDescriptor *field, uint32 value) const =0 |
|
virtual void | AddUInt64 (Message *message, const FieldDescriptor *field, uint64 value) const =0 |
|
virtual void | AddFloat (Message *message, const FieldDescriptor *field, float value) const =0 |
|
virtual void | AddDouble (Message *message, const FieldDescriptor *field, double value) const =0 |
|
virtual void | AddBool (Message *message, const FieldDescriptor *field, bool value) const =0 |
|
virtual void | AddString (Message *message, const FieldDescriptor *field, const string &value) const =0 |
|
virtual void | AddEnum (Message *message, const FieldDescriptor *field, const EnumValueDescriptor *value) const =0 |
|
virtual void | AddEnumValue (Message *message, const FieldDescriptor *field, int value) const =0 |
|
virtual Message * | AddMessage (Message *message, const FieldDescriptor *field, MessageFactory *factory=NULL) const =0 |
|
virtual void | AddAllocatedMessage (Message *message, const FieldDescriptor *field, Message *new_entry) const |
|
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 |
|
virtual const FieldDescriptor * | FindKnownExtensionByName (const string &name) const =0 |
|
virtual const FieldDescriptor * | FindKnownExtensionByNumber (int number) const =0 |
|
virtual bool | SupportsUnknownEnumValues () const |
|
virtual MessageFactory * | GetMessageFactory () const |
|
template<> |
const RepeatedPtrField< string > & | GetRepeatedPtrField (const Message &message, const FieldDescriptor *field) const |
|
template<> |
RepeatedPtrField< string > * | MutableRepeatedPtrField (Message *message, const FieldDescriptor *field) const |
|