Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
ScanDirectoryNode Class Reference

Public Member Functions

def __init__
 
def extractSubdir
 
def getTotalSize
 

Public Attributes

 filenames
 
 fileSize
 
 nested
 
 nestedSize
 
 pathname
 

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self,
  pathname,
  ignoreUsageXml = False 
)

Member Function Documentation

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. 
def getTotalSize (   self)

Member Data Documentation

filenames
fileSize
nested
nestedSize
pathname