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

Public Member Functions

 __init__ ()
 
 __init__ (const DSearchPath::Results copy)
 
 __init__ ()
 
 __init__ (const Loader::Results copy)
 
 clear ()
 Removes all the files from the list. More...
 
 clear ()
 Removes all the files from the list. More...
 
const Filename getFile (int n)
 Returns the nth file on the result list. More...
 
const Filename getFile (int n)
 Returns the nth file on the result list. More...
 
list getFiles ()
 
LoaderFileType getFileType (int n)
 Returns the file type of the nth file on the result list. More...
 
list getFileTypes ()
 
int getNumFiles ()
 Returns the number of files on the result list. More...
 
int getNumFiles ()
 Returns the number of files on the result list. More...
 
Filename operator [] (int n)
 
DSearchPath::Results operator= (const DSearchPath::Results copy)
 
Loader::Results operator= (const Loader::Results copy)
 
 output (Ostream out)
 
int size ()
 Returns the num of filenames in the set. More...
 
 write (Ostream out, int indent_level)
 

Member Function Documentation

◆ __init__() [1/4]

__init__ ( )

◆ __init__() [2/4]

__init__ ( const DSearchPath::Results  copy)

◆ __init__() [3/4]

__init__ ( )

◆ __init__() [4/4]

__init__ ( const Loader::Results  copy)

◆ clear() [1/2]

clear ( )

Removes all the files from the list.

◆ clear() [2/2]

clear ( )

Removes all the files from the list.

◆ getFile() [1/2]

const Filename getFile ( int  n)

Returns the nth file on the result list.

◆ getFile() [2/2]

const Filename getFile ( int  n)

Returns the nth file on the result list.

◆ getFiles()

list getFiles ( )

◆ getFileType()

LoaderFileType getFileType ( int  n)

Returns the file type of the nth file on the result list.

◆ getFileTypes()

list getFileTypes ( )

◆ getNumFiles() [1/2]

int getNumFiles ( )

Returns the number of files on the result list.

◆ getNumFiles() [2/2]

int getNumFiles ( )

Returns the number of files on the result list.

◆ operator []()

Filename operator [] ( int  n)

◆ operator=() [1/2]

DSearchPath::Results operator= ( const DSearchPath::Results  copy)

◆ operator=() [2/2]

Loader::Results operator= ( const Loader::Results  copy)

◆ output()

output ( Ostream  out)

◆ size()

int size ( )

Returns the num of filenames in the set.

This method is defined to make the Results object appear to be a list in Python.

◆ write()

write ( Ostream  out,
int  indent_level 
)