Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ScanDirectoryNode Class Reference

Public Member Functions

 __init__ (self, pathname, ignoreUsageXml=False)
 
 extractSubdir (self, pathname)
 
 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__()

__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

filenames

◆ fileSize

fileSize

◆ nested

nested

◆ nestedSize

nestedSize

◆ pathname

pathname