Public Member Functions | Static Public Attributes

_GetPyobjWrapper Class Reference

Public Member Functions

def RegisterBuiltin
def RegisterAnyElement
def WrapImmutable
def RegisterBuiltin
def RegisterAnyElement
def WrapImmutable

Static Public Attributes

tuple types_dict = dict()
tuple RegisterBuiltin = classmethod(RegisterBuiltin)
tuple RegisterAnyElement = classmethod(RegisterAnyElement)
tuple WrapImmutable = classmethod(WrapImmutable)

Detailed Description

Get a python object that wraps data and typecode.  Used by
<any> parse routine, so that typecode information discovered
during parsing is retained in the pyobj representation
and thus can be serialized.

Definition at line 368 of file schema.py.


Member Function Documentation

def RegisterAnyElement (   cls )
If find registered TypeCode instance, add Wrapper class 
to TypeCode class serialmap and Re-RegisterType.  Provides
Any serialzation of any instances of the Wrapper.

Definition at line 387 of file schema.py.

def RegisterAnyElement (   cls )
If find registered TypeCode instance, add Wrapper class 
to TypeCode class serialmap and Re-RegisterType.  Provides
Any serialzation of any instances of the Wrapper.

Definition at line 387 of file schema.py.

def RegisterBuiltin (   cls,
  arg 
)
register a builtin, create a new wrapper.

Definition at line 376 of file schema.py.

def RegisterBuiltin (   cls,
  arg 
)
register a builtin, create a new wrapper.

Definition at line 376 of file schema.py.

def WrapImmutable (   cls,
  pyobj,
  what 
)
return a wrapper for pyobj, with typecode attribute set.
Parameters:
    pyobj -- instance of builtin type (immutable)
    what -- typecode describing the data

Definition at line 400 of file schema.py.

def WrapImmutable (   cls,
  pyobj,
  what 
)
return a wrapper for pyobj, with typecode attribute set.
Parameters:
    pyobj -- instance of builtin type (immutable)
    what -- typecode describing the data

Definition at line 400 of file schema.py.


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