AlkantarClanX12

Your IP : 18.118.162.8


Current Path : /usr/lib/python2.7/site-packages/google/protobuf/pyext/
Upload File :
Current File : //usr/lib/python2.7/site-packages/google/protobuf/pyext/cpp_message.pyc

�
Du�ac@s9dZdZddlmZdejfd��YZdS(s�Protocol message implementation hooks for C++ implementation.

Contains helper functions used to create protocol message classes from
Descriptor objects at runtime backed by the protocol buffer C++ API.
s tibell@google.com (Johan Tibell)i����(t_messagetGeneratedProtocolMessageTypecBseZdZdZRS(s�Metaclass for protocol message classes created at runtime from Descriptors.

  The protocol compiler currently uses this metaclass to create protocol
  message classes at runtime.  Clients can also manually create their own
  classes at runtime, as in this example:

  mydescriptor = Descriptor(.....)
  factory = symbol_database.Default()
  factory.pool.AddDescriptor(mydescriptor)
  MyProtoClass = factory.GetPrototype(mydescriptor)
  myproto_instance = MyProtoClass()
  myproto.foo_field = 23
  ...

  The above example will not work for nested types. If you wish to include them,
  use reflection.MakeClass() instead of manually instantiating the class in
  order to create the appropriate class structure.
  t
DESCRIPTOR(t__name__t
__module__t__doc__t_DESCRIPTOR_KEY(((sE/usr/lib/python2.7/site-packages/google/protobuf/pyext/cpp_message.pyR*sN(Rt
__author__tgoogle.protobuf.pyextRtMessageMetaR(((sE/usr/lib/python2.7/site-packages/google/protobuf/pyext/cpp_message.pyt<module>#s