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

Public Member Functions

 Results (const Results &copy)
 
void add_file (const Filename &file, LoaderFileType *type)
 Adds a new file to the result list. More...
 
void clear ()
 Removes all the files from the list. More...
 
const Filenameget_file (int n) const
 
LoaderFileTypeget_file_type (int n) const
 
int get_num_files () const
 
void operator= (const Results &copy)
 

Public Attributes

 get_file
 Returns the nth file on the result list. More...
 
 get_file_type
 Returns the file type of the nth file on the result list. More...
 
 get_num_files
 Returns the number of files on the result list. More...
 

Detailed Description

Definition at line 51 of file loader.h.

Member Function Documentation

◆ add_file()

void Loader::Results::add_file ( const Filename file,
LoaderFileType type 
)
inline

Adds a new file to the result list.

Definition at line 83 of file loader.I.

◆ clear()

void Loader::Results::clear ( )
inline

Removes all the files from the list.

Definition at line 49 of file loader.I.

Member Data Documentation

◆ get_file

const Filename & Loader::Results::get_file
inline

Returns the nth file on the result list.

Definition at line 61 of file loader.h.

◆ get_file_type

LoaderFileType * Loader::Results::get_file_type
inline

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

Definition at line 63 of file loader.h.

◆ get_num_files

int Loader::Results::get_num_files
inline

Returns the number of files on the result list.

Definition at line 61 of file loader.h.


The documentation for this class was generated from the following files: