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

Public Member Functions

def __init__ (self, dir_path, vfile, filename, desc, packagePath=None)
 
def get_code (self, fullname)
 
def get_filename (self, fullname)
 
def get_source (self, fullname)
 
def getdata (self, path)
 
def is_package (self, fullname)
 
def load_module (self, fullname, loadingShared=False)
 

Public Attributes

 desc
 
 dir_path
 
 filename
 
 packagePath
 
 timestamp
 

Detailed Description

The second part of VFSImporter, this is created for a
particular .py file or directory. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  dir_path,
  vfile,
  filename,
  desc,
  packagePath = None 
)

Member Function Documentation

◆ get_code()

def get_code (   self,
  fullname 
)

◆ get_filename()

def get_filename (   self,
  fullname 
)

◆ get_source()

def get_source (   self,
  fullname 
)

◆ getdata()

def getdata (   self,
  path 
)

◆ is_package()

def is_package (   self,
  fullname 
)

◆ load_module()

def load_module (   self,
  fullname,
  loadingShared = False 
)

Member Data Documentation

◆ desc

desc

◆ dir_path

dir_path

◆ filename

filename

◆ packagePath

packagePath

◆ timestamp

timestamp