Panda3D
Public Member Functions | Public Attributes

PyObjectTypeDescriptor Class Reference

Inheritance diagram for PyObjectTypeDescriptor:
BaseTypeDescriptor

List of all members.

Public Member Functions

def __init__
def generateGlobalCode
def generateReturnValueWrapper
def getFullNestedName
def isAtomic
def recordOverloadedMethods
def recursiveTypeDescriptor

Public Attributes

 atomicType
 comment
 foreignTypeName
 isNested
 moduleName
 outerType
 parentTypes
 prototype
 typeIndex

Detailed Description

This is a special type descriptor for a PyObject * parameter,
which means a natural Python object of any type, to be passed
through without molestation.

Constructor & Destructor Documentation

def __init__ (   self)

Reimplemented from BaseTypeDescriptor.


Member Function Documentation

def generateGlobalCode (   self,
  dir,
  extensionsDir 
) [inherited]

Reimplemented in EnumTypeDescriptor, and ClassTypeDescriptor.

def generateReturnValueWrapper (   self,
  classTypeDesc,
  file,
  userManagesMemory,
  needsDowncast,
  nesting 
)

Reimplemented from BaseTypeDescriptor.

def getFullNestedName (   self) [inherited]
If this type is nested, it will return the fully specified name
For example:  OuterClass.InnerClass.ReallyInnerClass
def isAtomic (   self) [inherited]
def recordOverloadedMethods (   self) [inherited]

Reimplemented in ClassTypeDescriptor.

def recursiveTypeDescriptor (   self) [inherited]
Attempt to get to the bottom of a type descriptor
Since we are at the bottom when we get here, just return self

Reimplemented in DerivedTypeDescriptor.


Member Data Documentation

atomicType [inherited]
comment [inherited]
foreignTypeName [inherited]

Reimplemented in ClassTypeDescriptor.

isNested [inherited]
moduleName [inherited]

Reimplemented in FunctionTypeDescriptor.

outerType [inherited]
parentTypes [inherited]

Reimplemented in EnumTypeDescriptor.

prototype [inherited]
typeIndex [inherited]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties