Classes | |
struct | CMessage |
struct | CMessageClass |
struct | ContainerBase |
struct | DescriptorContainerDef |
struct | ExtensionDict |
struct | IsValidNumericCastImpl |
struct | MapContainer |
struct | MapIterator |
class | MapReflectionFriend |
struct | MessageMapContainer |
struct | PyBaseDescriptor |
struct | PyContainer |
struct | PyContainerIterator |
class | PyDescriptorDatabase |
struct | PyDescriptorPool |
struct | PyFileDescriptor |
struct | PyMessageFactory |
struct | PyMessageFieldProperty |
struct | PyProto_API |
struct | PyUnknownFieldRef |
struct | PyUnknownFields |
struct | RepeatedCompositeContainer |
struct | RepeatedScalarContainer |
class | ScopedPythonPtr |
Typedefs | |
typedef google::protobuf::python::CMessage | CMessage |
typedef int(* | CountMethod) (PyContainer *self) |
typedef struct google::protobuf::python::ExtensionDict | ExtensionDict |
typedef int(* | GetItemIndexMethod) (const void *descriptor) |
typedef int(* | GetItemNumberMethod) (const void *descriptor) |
typedef PyObject *(* | NewObjectFromItemMethod) (const void *descriptor) |
typedef struct google::protobuf::python::PyBaseDescriptor | PyBaseDescriptor |
typedef struct google::protobuf::python::PyDescriptorPool | PyDescriptorPool |
typedef struct google::protobuf::python::PyFileDescriptor | PyFileDescriptor |
typedef struct google::protobuf::python::PyUnknownFields | PyUnknownFields |
typedef google::protobuf::python::RepeatedCompositeContainer | RepeatedCompositeContainer |
typedef google::protobuf::python::RepeatedScalarContainer | RepeatedScalarContainer |
typedef ScopedPythonPtr< PyObject > | ScopedPyObjectPtr |
typedef struct google::protobuf::python::PyUnknownFieldRef | UknownFieldRef |
typedef int(* google::protobuf::python::CountMethod) (PyContainer *self) |
Definition at line 81 of file descriptor_containers.cc.
typedef int(* google::protobuf::python::GetItemIndexMethod) (const void *descriptor) |
Definition at line 91 of file descriptor_containers.cc.
typedef int(* google::protobuf::python::GetItemNumberMethod) (const void *descriptor) |
Definition at line 90 of file descriptor_containers.cc.
typedef PyObject*(* google::protobuf::python::NewObjectFromItemMethod) (const void *descriptor) |
Definition at line 87 of file descriptor_containers.cc.
typedef struct google::protobuf::python::PyBaseDescriptor google::protobuf::python::PyBaseDescriptor |
typedef struct google::protobuf::python::PyDescriptorPool google::protobuf::python::PyDescriptorPool |
typedef struct google::protobuf::python::PyFileDescriptor google::protobuf::python::PyFileDescriptor |
typedef google::protobuf::python::RepeatedCompositeContainer google::protobuf::python::RepeatedCompositeContainer |
typedef google::protobuf::python::RepeatedScalarContainer google::protobuf::python::RepeatedScalarContainer |
typedef ScopedPythonPtr<PyObject> google::protobuf::python::ScopedPyObjectPtr |
Definition at line 95 of file scoped_pyobject_ptr.h.
bool google::protobuf::python::_CalledFromGeneratedFile | ( | int | stacklevel | ) |
Definition at line 99 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 1884 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 1900 of file python/google/protobuf/pyext/descriptor.cc.
bool google::protobuf::python::AllowInvalidUTF8 | ( | const FieldDescriptor * | field | ) |
Definition at line 725 of file python/google/protobuf/pyext/message.cc.
google::protobuf::python::BASE_NUMERIC_CAST_CASE_SAME_SIZE | ( | true | , |
false | , | ||
source<=static_cast< Source > | max | ||
) |
google::protobuf::python::BASE_NUMERIC_CAST_CASE_SOURCE_LARGER | ( | false | , |
true | , | ||
source >=0 &&source<= | max | ||
) |
google::protobuf::python::BASE_NUMERIC_CAST_CASE_SOURCE_LARGER | ( | true | , |
false | , | ||
source<=static_cast< Source > | max | ||
) |
google::protobuf::python::BASE_NUMERIC_CAST_CASE_SOURCE_LARGER | ( | true | , |
true | , | ||
source >=min &&source<= | max | ||
) |
bool google::protobuf::python::CheckAndGetBool | ( | PyObject * | arg, |
bool * | value | ||
) |
Definition at line 693 of file python/google/protobuf/pyext/message.cc.
bool google::protobuf::python::CheckAndGetDouble | ( | PyObject * | arg, |
double * | value | ||
) |
Definition at line 675 of file python/google/protobuf/pyext/message.cc.
bool google::protobuf::python::CheckAndGetFloat | ( | PyObject * | arg, |
float * | value | ||
) |
Definition at line 684 of file python/google/protobuf/pyext/message.cc.
bool google::protobuf::python::CheckAndGetInteger | ( | PyObject * | arg, |
T * | value | ||
) |
Definition at line 590 of file python/google/protobuf/pyext/message.cc.
template bool google::protobuf::python::CheckAndGetInteger< int32 > | ( | PyObject * | , |
int32 * | |||
) |
template bool google::protobuf::python::CheckAndGetInteger< int64 > | ( | PyObject * | , |
int64 * | |||
) |
template bool google::protobuf::python::CheckAndGetInteger< uint32 > | ( | PyObject * | , |
uint32 * | |||
) |
template bool google::protobuf::python::CheckAndGetInteger< uint64 > | ( | PyObject * | , |
uint64 * | |||
) |
bool google::protobuf::python::CheckAndSetString | ( | PyObject * | arg, |
Message * | message, | ||
const FieldDescriptor * | descriptor, | ||
const Reflection * | reflection, | ||
bool | append, | ||
int | index | ||
) |
Definition at line 769 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 150 of file python/google/protobuf/pyext/descriptor.cc.
|
inline |
Definition at line 155 of file safe_numerics.h.
bool google::protobuf::python::CheckFieldBelongsToMessage | ( | const FieldDescriptor * | field_descriptor, |
const Message * | message | ||
) |
Definition at line 816 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 515 of file python/google/protobuf/pyext/message.cc.
PyObject * google::protobuf::python::CheckString | ( | PyObject * | arg, |
const FieldDescriptor * | descriptor | ||
) |
Definition at line 727 of file python/google/protobuf/pyext/message.cc.
PyObject* google::protobuf::python::Clear | ( | PyObject * | _self | ) |
Definition at line 318 of file map_container.cc.
|
static |
Definition at line 287 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 973 of file map_container.cc.
void google::protobuf::python::FormatTypeError | ( | PyObject * | arg, |
char * | expected_types | ||
) |
Definition at line 546 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 631 of file map_container.cc.
const Message * google::protobuf::python::GetCProtoInsidePyProto | ( | PyObject * | msg | ) |
Definition at line 50 of file python_protobuf.cc.
|
static |
Definition at line 2843 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 39 of file python_protobuf.cc.
PyDescriptorPool * google::protobuf::python::GetDefaultDescriptorPool | ( | ) |
Definition at line 751 of file descriptor_pool.cc.
PyDescriptorPool * google::protobuf::python::GetDescriptorPool_FromPool | ( | const DescriptorPool * | pool | ) |
Definition at line 755 of file descriptor_pool.cc.
PyObject* google::protobuf::python::GetEntryClass | ( | PyObject * | _self | ) |
Definition at line 328 of file map_container.cc.
const FileDescriptor* google::protobuf::python::GetFileDescriptor | ( | const DescriptorClass * | descriptor | ) |
Definition at line 172 of file python/google/protobuf/pyext/descriptor.cc.
const FileDescriptor* google::protobuf::python::GetFileDescriptor | ( | const EnumValueDescriptor * | descriptor | ) |
Definition at line 180 of file python/google/protobuf/pyext/descriptor.cc.
const FileDescriptor* google::protobuf::python::GetFileDescriptor | ( | const FileDescriptor * | descriptor | ) |
Definition at line 176 of file python/google/protobuf/pyext/descriptor.cc.
const FileDescriptor* google::protobuf::python::GetFileDescriptor | ( | const MethodDescriptor * | descriptor | ) |
Definition at line 188 of file python/google/protobuf/pyext/descriptor.cc.
const FileDescriptor* google::protobuf::python::GetFileDescriptor | ( | const OneofDescriptor * | descriptor | ) |
Definition at line 184 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 55 of file python/google/protobuf/pyext/descriptor_database.cc.
|
static |
Definition at line 908 of file map_container.cc.
|
static |
Definition at line 307 of file map_container.cc.
|
static |
Definition at line 523 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 627 of file map_container.cc.
|
static |
Definition at line 215 of file python/google/protobuf/pyext/descriptor.cc.
bool google::protobuf::python::InitDescriptor | ( | ) |
Definition at line 1909 of file python/google/protobuf/pyext/descriptor.cc.
bool google::protobuf::python::InitDescriptorMappingTypes | ( | ) |
Definition at line 1778 of file descriptor_containers.cc.
bool google::protobuf::python::InitDescriptorPool | ( | ) |
Definition at line 723 of file descriptor_pool.cc.
PyMODINIT_FUNC google::protobuf::python::INITFUNC | ( | ) |
Definition at line 98 of file api_implementation.cc.
void google::protobuf::python::InitGlobals | ( | ) |
Definition at line 2921 of file python/google/protobuf/pyext/message.cc.
bool google::protobuf::python::InitMapContainers | ( | ) |
Definition at line 1020 of file map_container.cc.
bool google::protobuf::python::InitMessageFactory | ( | ) |
Definition at line 293 of file message_factory.cc.
bool google::protobuf::python::InitProto2MessageModule | ( | PyObject * | m | ) |
Definition at line 2932 of file python/google/protobuf/pyext/message.cc.
|
inline |
Definition at line 132 of file safe_numerics.h.
bool google::protobuf::python::IsValidUTF8 | ( | PyObject * | obj | ) |
Definition at line 706 of file python/google/protobuf/pyext/message.cc.
PyObject* google::protobuf::python::IterNext | ( | PyObject * | _self | ) |
Definition at line 406 of file extension_dict.cc.
|
static |
Definition at line 174 of file map_container.cc.
PyObject* google::protobuf::python::MapValueRefToPython | ( | const FieldDescriptor * | field_descriptor, |
const MapValueRef & | value | ||
) |
Definition at line 199 of file map_container.cc.
|
static |
Definition at line 805 of file map_container.cc.
PyObject* google::protobuf::python::MessageMapGet | ( | PyObject * | self, |
PyObject * | args, | ||
PyObject * | kwargs | ||
) |
Definition at line 779 of file map_container.cc.
Message * google::protobuf::python::MutableCProtoInsidePyProto | ( | PyObject * | msg | ) |
Definition at line 53 of file python_protobuf.cc.
|
static |
Definition at line 2852 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 40 of file python_protobuf.cc.
PyObject * google::protobuf::python::NewFieldProperty | ( | const FieldDescriptor * | field_descriptor | ) |
MessageMapContainer * google::protobuf::python::NewMessageMapContainer | ( | CMessage * | parent, |
const google::protobuf::FieldDescriptor * | parent_field_descriptor, | ||
CMessageClass * | message_class | ||
) |
Definition at line 639 of file map_container.cc.
MapContainer * google::protobuf::python::NewScalarMapContainer | ( | CMessage * | parent, |
const google::protobuf::FieldDescriptor * | parent_field_descriptor | ||
) |
Definition at line 375 of file map_container.cc.
void google::protobuf::python::OutOfRangeError | ( | PyObject * | arg | ) |
Definition at line 561 of file python/google/protobuf/pyext/message.cc.
const void * google::protobuf::python::PyDescriptor_AsVoidPtr | ( | PyObject * | obj | ) |
Definition at line 456 of file python/google/protobuf/pyext/descriptor.cc.
const EnumDescriptor * google::protobuf::python::PyEnumDescriptor_AsDescriptor | ( | PyObject * | obj | ) |
Definition at line 1198 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyEnumDescriptor_FromDescriptor | ( | const EnumDescriptor * | enum_descriptor | ) |
Definition at line 1192 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyEnumValueDescriptor_FromDescriptor | ( | const EnumValueDescriptor * | enumvalue_descriptor | ) |
Definition at line 1312 of file python/google/protobuf/pyext/descriptor.cc.
const FieldDescriptor * google::protobuf::python::PyFieldDescriptor_AsDescriptor | ( | PyObject * | obj | ) |
Definition at line 1043 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyFieldDescriptor_FromDescriptor | ( | const FieldDescriptor * | field_descriptor | ) |
Definition at line 1037 of file python/google/protobuf/pyext/descriptor.cc.
const FileDescriptor * google::protobuf::python::PyFileDescriptor_AsDescriptor | ( | PyObject * | obj | ) |
Definition at line 1522 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyFileDescriptor_FromDescriptor | ( | const FileDescriptor * | file_descriptor | ) |
Definition at line 1496 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyFileDescriptor_FromDescriptorWithSerializedPb | ( | const FileDescriptor * | file_descriptor, |
PyObject * | serialized_pb | ||
) |
Definition at line 1502 of file python/google/protobuf/pyext/descriptor.cc.
const Message * google::protobuf::python::PyMessage_GetMessagePointer | ( | PyObject * | msg | ) |
Definition at line 2861 of file python/google/protobuf/pyext/message.cc.
Message * google::protobuf::python::PyMessage_GetMutableMessagePointer | ( | PyObject * | msg | ) |
Definition at line 2870 of file python/google/protobuf/pyext/message.cc.
PyObject * google::protobuf::python::PyMessage_NewMessageOwnedExternally | ( | Message * | message, |
PyObject * | message_factory | ||
) |
Definition at line 2893 of file python/google/protobuf/pyext/message.cc.
const Descriptor * google::protobuf::python::PyMessageDescriptor_AsDescriptor | ( | PyObject * | obj | ) |
Definition at line 728 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyMessageDescriptor_FromDescriptor | ( | const Descriptor * | message_descriptor | ) |
Definition at line 722 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyMethodDescriptor_FromDescriptor | ( | const MethodDescriptor * | method_descriptor | ) |
Definition at line 1877 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyOneofDescriptor_FromDescriptor | ( | const OneofDescriptor * | oneof_descriptor | ) |
Definition at line 1647 of file python/google/protobuf/pyext/descriptor.cc.
|
inline |
Definition at line 87 of file proto_api.h.
const ServiceDescriptor * google::protobuf::python::PyServiceDescriptor_AsDescriptor | ( | PyObject * | obj | ) |
Definition at line 1771 of file python/google/protobuf/pyext/descriptor.cc.
PyObject * google::protobuf::python::PyServiceDescriptor_FromDescriptor | ( | const ServiceDescriptor * | service_descriptor | ) |
Definition at line 1765 of file python/google/protobuf/pyext/descriptor.cc.
PyObject* google::protobuf::python::PyString_FromCppString | ( | const string & | str | ) |
Definition at line 78 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 111 of file map_container.cc.
|
static |
Definition at line 128 of file map_container.cc.
|
static |
Definition at line 230 of file map_container.cc.
bool google::protobuf::python::Reparse | ( | PyMessageFactory * | message_factory, |
const Message & | from, | ||
Message * | to | ||
) |
Definition at line 192 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 526 of file map_container.cc.
|
static |
Definition at line 467 of file map_container.cc.
PyObject * google::protobuf::python::ToStringObject | ( | const FieldDescriptor * | descriptor, |
const string & | value | ||
) |
Definition at line 798 of file python/google/protobuf/pyext/message.cc.
bool google::protobuf::python::VerifyIntegerCastAndRange | ( | PyObject * | arg, |
ValueType | value | ||
) |
Definition at line 572 of file python/google/protobuf/pyext/message.cc.
|
static |
|
static |
Definition at line 2795 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 473 of file python/google/protobuf/pyext/message.cc.
PyTypeObject google::protobuf::python::_MessageMapContainer_Type |
Definition at line 866 of file map_container.cc.
PyTypeObject google::protobuf::python::_ScalarMapContainer_Type |
Definition at line 584 of file map_container.cc.
PyTypeObject * google::protobuf::python::CFieldProperty_Type = &_CFieldProperty_Type |
PyTypeObject * google::protobuf::python::CMessage_Type = &_CMessage_Type.super.ht_type |
Definition at line 2836 of file python/google/protobuf/pyext/message.cc.
PyTypeObject * google::protobuf::python::CMessageClass_Type = &_CMessageClass_Type |
Definition at line 513 of file python/google/protobuf/pyext/message.cc.
PyObject* google::protobuf::python::DecodeError_class |
Definition at line 541 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 66 of file descriptor_pool.cc.
PyObject* google::protobuf::python::EncodeError_class |
Definition at line 540 of file python/google/protobuf/pyext/message.cc.
PyObject* google::protobuf::python::EnumTypeWrapper_class |
Definition at line 102 of file python/google/protobuf/pyext/message.cc.
PyTypeObject google::protobuf::python::ExtensionDict_Type |
Definition at line 367 of file extension_dict.cc.
PyTypeObject google::protobuf::python::ExtensionIterator_Type |
Definition at line 434 of file extension_dict.cc.
const typedef void*(* google::protobuf::python::GetByCamelcaseNameMethod) (PyContainer *self, const string &name) |
Definition at line 84 of file descriptor_containers.cc.
const typedef void*(* google::protobuf::python::GetByIndexMethod) (PyContainer *self, int index) |
Definition at line 82 of file descriptor_containers.cc.
const typedef void*(* google::protobuf::python::GetByNameMethod) (PyContainer *self, const string &name) |
Definition at line 83 of file descriptor_containers.cc.
const typedef void*(* google::protobuf::python::GetByNumberMethod) (PyContainer *self, int index) |
Definition at line 86 of file descriptor_containers.cc.
const Message *(* google::protobuf::python::GetCProtoInsidePyProtoPtr)(PyObject *msg) |
Definition at line 45 of file python_protobuf.cc.
const typedef string&(* google::protobuf::python::GetItemCamelcaseNameMethod) (const void *descriptor) |
Definition at line 89 of file descriptor_containers.cc.
const typedef string&(* google::protobuf::python::GetItemNameMethod) (const void *descriptor) |
Definition at line 88 of file descriptor_containers.cc.
std::unordered_map<const void*, PyObject*>* google::protobuf::python::interned_descriptors |
Definition at line 76 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 101 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 104 of file python/google/protobuf/pyext/message.cc.
|
static |
Definition at line 62 of file api_implementation.cc.
|
static |
Definition at line 68 of file api_implementation.cc.
|
static |
Definition at line 71 of file api_implementation.cc.
|
static |
Definition at line 70 of file api_implementation.cc.
PyTypeObject google::protobuf::python::MapIterator_Type |
Definition at line 981 of file map_container.cc.
PyTypeObject * google::protobuf::python::MessageMapContainer_Type |
Definition at line 839 of file map_container.cc.
|
static |
Definition at line 860 of file map_container.cc.
|
static |
Definition at line 817 of file map_container.cc.
Message *(* google::protobuf::python::MutableCProtoInsidePyProtoPtr)(PyObject *msg) |
Definition at line 47 of file python_protobuf.cc.
PyObject * google::protobuf::python::PickleError_class |
Definition at line 542 of file python/google/protobuf/pyext/message.cc.
PyTypeObject google::protobuf::python::PyDescriptorPool_Type |
Definition at line 677 of file descriptor_pool.cc.
PyTypeObject google::protobuf::python::PyEnumDescriptor_Type |
Definition at line 1158 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyEnumValueDescriptor_Type |
Definition at line 1278 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyFieldDescriptor_Type |
Definition at line 1003 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyFileDescriptor_Type |
Definition at line 1454 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyMessageDescriptor_Type |
Definition at line 688 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyMessageFactory_Type |
Definition at line 251 of file message_factory.cc.
PyTypeObject google::protobuf::python::PyMethodDescriptor_Type |
Definition at line 1843 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyOneofDescriptor_Type |
Definition at line 1613 of file python/google/protobuf/pyext/descriptor.cc.
PyTypeObject google::protobuf::python::PyServiceDescriptor_Type |
Definition at line 1731 of file python/google/protobuf/pyext/descriptor.cc.
|
static |
Definition at line 721 of file descriptor_pool.cc.
|
static |
Definition at line 103 of file python/google/protobuf/pyext/message.cc.
PyTypeObject google::protobuf::python::PyUnknownFieldRef_Type |
Definition at line 315 of file unknown_fields.cc.
PyTypeObject google::protobuf::python::PyUnknownFields_Type |
Definition at line 158 of file unknown_fields.cc.
PyTypeObject google::protobuf::python::RepeatedCompositeContainer_Type |
Definition at line 539 of file repeated_composite_container.cc.
PyTypeObject google::protobuf::python::RepeatedScalarContainer_Type |
Definition at line 737 of file repeated_scalar_container.cc.
PyTypeObject * google::protobuf::python::ScalarMapContainer_Type |
Definition at line 557 of file map_container.cc.
|
static |
Definition at line 578 of file map_container.cc.
|
static |
Definition at line 537 of file map_container.cc.
|
static |
Definition at line 105 of file python/google/protobuf/pyext/message.cc.