Public Types | Public Member Functions | Public Attributes | List of all members
google::protobuf::python::CMessage Struct Reference

#include <message.h>

Inheritance diagram for google::protobuf::python::CMessage:
Inheritance graph
[legend]

Public Types

typedef std::unordered_map< const FieldDescriptor *, ContainerBase * > CompositeFieldsMap
 
typedef std::unordered_map< const Message *, CMessage * > SubMessagesMap
 

Public Member Functions

CMessageBuildSubMessageFromPointer (const FieldDescriptor *field_descriptor, Message *sub_message, CMessageClass *message_class)
 
CMessageClassGetMessageClass ()
 
CMessageMaybeReleaseSubMessage (Message *sub_message)
 
- Public Member Functions inherited from google::protobuf::python::ContainerBase
PyObject * AsPyObject ()
 
PyObject * DeepCopy ()
 
void RemoveFromParentCache ()
 

Public Attributes

SubMessagesMapchild_submessages
 
CompositeFieldsMapcomposite_fields
 
Messagemessage
 
bool read_only
 
PyObject * unknown_field_set
 
PyObject * weakreflist
 
- Public Attributes inherited from google::protobuf::python::ContainerBase
struct CMessageparent
 
const FieldDescriptorparent_field_descriptor
 
 PyObject_HEAD
 

Detailed Description

Definition at line 100 of file python/google/protobuf/pyext/message.h.

Member Typedef Documentation

◆ CompositeFieldsMap

Definition at line 116 of file python/google/protobuf/pyext/message.h.

◆ SubMessagesMap

Definition at line 122 of file python/google/protobuf/pyext/message.h.

Member Function Documentation

◆ BuildSubMessageFromPointer()

CMessage * google::protobuf::python::CMessage::BuildSubMessageFromPointer ( const FieldDescriptor field_descriptor,
Message sub_message,
CMessageClass message_class 
)

Definition at line 2752 of file python/google/protobuf/pyext/message.cc.

◆ GetMessageClass()

CMessageClass* google::protobuf::python::CMessage::GetMessageClass ( )
inline

Definition at line 132 of file python/google/protobuf/pyext/message.h.

◆ MaybeReleaseSubMessage()

CMessage * google::protobuf::python::CMessage::MaybeReleaseSubMessage ( Message sub_message)

Definition at line 2777 of file python/google/protobuf/pyext/message.cc.

Member Data Documentation

◆ child_submessages

SubMessagesMap* google::protobuf::python::CMessage::child_submessages

Definition at line 123 of file python/google/protobuf/pyext/message.h.

◆ composite_fields

CompositeFieldsMap* google::protobuf::python::CMessage::composite_fields

Definition at line 117 of file python/google/protobuf/pyext/message.h.

◆ message

Message* google::protobuf::python::CMessage::message

Definition at line 104 of file python/google/protobuf/pyext/message.h.

◆ read_only

bool google::protobuf::python::CMessage::read_only

Definition at line 109 of file python/google/protobuf/pyext/message.h.

◆ unknown_field_set

PyObject* google::protobuf::python::CMessage::unknown_field_set

Definition at line 126 of file python/google/protobuf/pyext/message.h.

◆ weakreflist

PyObject* google::protobuf::python::CMessage::weakreflist

Definition at line 129 of file python/google/protobuf/pyext/message.h.


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


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