Panda3D
Public Member Functions | Public Attributes | List of all members
FFIInterrogateDatabase Class Reference

Public Member Functions

def __init__ (self, etcPath=[])
 
def addEnvironmentTypes (self)
 
def addGlobalFunctions (self, CModuleName)
 
def addGlobalValues (self, CModuleName)
 
def addManifestSymbols (self)
 
def addTypes (self, CModuleName)
 
def constructClassTypeDescriptor (self, typeIndex)
 
def constructConstructorSpecifications (self, typeIndex)
 
def constructConstTypeDescriptor (self, typeIndex)
 
def constructDescriptor (self, typeIndex)
 
def constructDestructorSpecification (self, typeIndex)
 
def constructDowncastFunctionSpecifications (self, typeIndex)
 
def constructEnumTypeDescriptor (self, typeIndex)
 
def constructFunctionArgumentTypes (self, functionIndex)
 
def constructFunctionTypeDescriptors (self, functionIndex)
 
def constructGlobal (self, globalIndex, CModuleName)
 
def constructGlobalFunction (self, globalIndex)
 
def constructManifest (self, manifestIndex)
 
def constructMemberFunctionSpecifications (self, typeIndex)
 
def constructNestedTypeDescriptors (self, typeIndex)
 
def constructParentTypeDescriptors (self, typeIndex)
 
def constructPointerTypeDescriptor (self, typeIndex)
 
def constructPrimitiveTypeDescriptor (self, typeIndex)
 
def constructUpcastFunctionSpecifications (self, typeIndex)
 
def functionInCModule (self, funcIndex, CModuleName)
 
def generateCode (self, codeDir, extensionsDir)
 
def generateCodeLib (self, codeDir, extensionsDir, CModuleName)
 
def isDefinedType (self, typeIndex)
 
def squeezeGeneratedCode (self, outputDir, deleteSource=True)
 
def typeInCModule (self, typeIndex, CModuleName)
 
def updateBindings (self, CModuleName)
 

Public Attributes

 environment
 
 typeIndexMap
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  etcPath = [] 
)

Member Function Documentation

◆ addEnvironmentTypes()

def addEnvironmentTypes (   self)

◆ addGlobalFunctions()

def addGlobalFunctions (   self,
  CModuleName 
)

◆ addGlobalValues()

def addGlobalValues (   self,
  CModuleName 
)

◆ addManifestSymbols()

def addManifestSymbols (   self)

◆ addTypes()

def addTypes (   self,
  CModuleName 
)

◆ constructClassTypeDescriptor()

def constructClassTypeDescriptor (   self,
  typeIndex 
)

◆ constructConstructorSpecifications()

def constructConstructorSpecifications (   self,
  typeIndex 
)

◆ constructConstTypeDescriptor()

def constructConstTypeDescriptor (   self,
  typeIndex 
)

◆ constructDescriptor()

def constructDescriptor (   self,
  typeIndex 
)

◆ constructDestructorSpecification()

def constructDestructorSpecification (   self,
  typeIndex 
)

◆ constructDowncastFunctionSpecifications()

def constructDowncastFunctionSpecifications (   self,
  typeIndex 
)
The strange thing about downcast functions is that they appear in the
class they are being downcast TO, not downcast FROM. But they should be
built into the class they are being downcast from. For instance, a method
downcastToNode(ptrBoundedObject) will appear in Node's list of methods
but should be compiled into BoundedObject's class
UPDATE: These are no longer compiled into the from-class. That was
preventing the libraries from being independent since the from class
now had knowledge of the to class which is potentially in a library
downstream. Now these functions are just global functions

◆ constructEnumTypeDescriptor()

def constructEnumTypeDescriptor (   self,
  typeIndex 
)

◆ constructFunctionArgumentTypes()

def constructFunctionArgumentTypes (   self,
  functionIndex 
)

◆ constructFunctionTypeDescriptors()

def constructFunctionTypeDescriptors (   self,
  functionIndex 
)

◆ constructGlobal()

def constructGlobal (   self,
  globalIndex,
  CModuleName 
)

◆ constructGlobalFunction()

def constructGlobalFunction (   self,
  globalIndex 
)

◆ constructManifest()

def constructManifest (   self,
  manifestIndex 
)

◆ constructMemberFunctionSpecifications()

def constructMemberFunctionSpecifications (   self,
  typeIndex 
)

◆ constructNestedTypeDescriptors()

def constructNestedTypeDescriptors (   self,
  typeIndex 
)

◆ constructParentTypeDescriptors()

def constructParentTypeDescriptors (   self,
  typeIndex 
)

◆ constructPointerTypeDescriptor()

def constructPointerTypeDescriptor (   self,
  typeIndex 
)

◆ constructPrimitiveTypeDescriptor()

def constructPrimitiveTypeDescriptor (   self,
  typeIndex 
)

◆ constructUpcastFunctionSpecifications()

def constructUpcastFunctionSpecifications (   self,
  typeIndex 
)

◆ functionInCModule()

def functionInCModule (   self,
  funcIndex,
  CModuleName 
)

◆ generateCode()

def generateCode (   self,
  codeDir,
  extensionsDir 
)

◆ generateCodeLib()

def generateCodeLib (   self,
  codeDir,
  extensionsDir,
  CModuleName 
)

◆ isDefinedType()

def isDefinedType (   self,
  typeIndex 
)

◆ squeezeGeneratedCode()

def squeezeGeneratedCode (   self,
  outputDir,
  deleteSource = True 
)

◆ typeInCModule()

def typeInCModule (   self,
  typeIndex,
  CModuleName 
)

◆ updateBindings()

def updateBindings (   self,
  CModuleName 
)

Member Data Documentation

◆ environment

environment

◆ typeIndexMap

typeIndexMap