Panda3D
Loading...
Searching...
No Matches
ScanDirectoryNode Class Reference

Public Member Functions

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

Public Attributes

list filenames = []
 
int fileSize = 0
 
list nested = []
 
int nestedSize = 0
 
 pathname = pathname
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
pathname,
ignoreUsageXml = False )

Member Function Documentation

◆ extractSubdir()

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()

getTotalSize ( self)

Member Data Documentation

◆ filenames

list filenames = []

◆ fileSize

int fileSize = 0

◆ nested

list nested = []

◆ nestedSize

int nestedSize = 0

◆ pathname

pathname = pathname