Panda3D
Public Member Functions | List of all members
VirtualFileList Class Reference

A list of VirtualFiles, as returned by VirtualFile::scan_directory(). More...

Inheritance diagram for VirtualFileList:
ReferenceCount

Public Member Functions

 __init__ (const VirtualFileList)
 
VirtualFile getFile (int n)
 Returns the nth file in the list. More...
 
list getFiles ()
 
int getNumFiles ()
 Returns the number of files in the list. More...
 
VirtualFile operator [] (int n)
 Returns the nth file in the list. More...
 
VirtualFileList operator+ (const VirtualFileList other)
 
VirtualFileList operator+= (const VirtualFileList other)
 
int size ()
 Returns the number of files in the list. More...
 
- Public Member Functions inherited from ReferenceCount
int getRefCount ()
 Returns the current reference count. More...
 
 ref ()
 Explicitly increments the reference count. More...
 
bool testRefCountIntegrity ()
 Does some easy checks to make sure that the reference count isn't completely bogus. More...
 
bool testRefCountNonzero ()
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
 
bool unref ()
 Explicitly decrements the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCount
static TypeHandle getClassType ()
 
- Public Attributes inherited from ReferenceCount
int ref_count
 The current reference count. More...
 

Detailed Description

A list of VirtualFiles, as returned by VirtualFile::scan_directory().

Member Function Documentation

◆ __init__()

__init__ ( const  VirtualFileList)

◆ getFile()

VirtualFile getFile ( int  n)

Returns the nth file in the list.

◆ getFiles()

list getFiles ( )

◆ getNumFiles()

int getNumFiles ( )

Returns the number of files in the list.

◆ operator []()

VirtualFile operator [] ( int  n)

Returns the nth file in the list.

◆ operator+()

VirtualFileList operator+ ( const VirtualFileList  other)

◆ operator+=()

VirtualFileList operator+= ( const VirtualFileList  other)

◆ size()

int size ( )

Returns the number of files in the list.