Panda3D
Public Member Functions

PrimitiveTypeDescriptor Class Reference

Inheritance diagram for PrimitiveTypeDescriptor:
BaseTypeDescriptor EnumTypeDescriptor

List of all members.

Public Member Functions

def __init__
def generateReturnValueWrapper

Detailed Description

Primitive type descriptors include int, float, char, etc.
These get mapped to Python types like IntType, FloatType, StringType

Constructor & Destructor Documentation

def __init__ (   self)

Reimplemented from BaseTypeDescriptor.

Reimplemented in EnumTypeDescriptor.


Member Function Documentation

def generateReturnValueWrapper (   self,
  classTypeDesc,
  file,
  userManagesMemory,
  needsDowncast,
  nesting 
)
Write code to the file that will return a primitive to the caller.
Pretty simple since there is no extra work needed here

Reimplemented from BaseTypeDescriptor.

 All Classes Namespaces Functions Variables Properties