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

Public Member Functions

def __init__ (self, pathname, ignoreUsageXml=False)
 
def extractSubdir (self, pathname)
 
def getTotalSize (self)
 

Public Attributes

 filenames
 
 fileSize
 
 nested
 
 nestedSize
 
 pathname
 

Detailed Description

This class is used to scan a list of files on disk. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  pathname,
  ignoreUsageXml = False 
)

Member Function Documentation

◆ extractSubdir()

def extractSubdir (   self,
  pathname 
)
Finds the ScanDirectoryNode within this node that
corresponds to the indicated full pathname.  If it is found,
removes it from its parent, and returns it.  If it is not
found, returns None. 

◆ getTotalSize()

def getTotalSize (   self)

Member Data Documentation

◆ filenames

filenames

◆ fileSize

fileSize

◆ nested

nested

◆ nestedSize

nestedSize

◆ pathname

pathname