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

#include <pandadoc.hpp>

Public Member Functions

 __init__ ()
 
 __init__ (const DSearchPath::Results copy)
 
 clear ()
 Removes all the files from the list. More...
 
const Filename getFile (int n)
 Returns the nth file on the result list. More...
 
int getNumFiles ()
 Returns the number of files on the result list. More...
 
DSearchPath::Results operator= (const DSearchPath::Results copy)
 
Filename operator[] (int n)
 
 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/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const DSearchPath::Results  copy)

◆ clear()

clear ( )

Removes all the files from the list.

◆ getFile()

const Filename getFile ( int  n)

Returns the nth file on the result list.

◆ getNumFiles()

int getNumFiles ( )

Returns the number of files on the result list.

◆ operator=()

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

◆ operator[]()

Filename operator[] ( int  n)

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