Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Loader::Results Class Reference

#include <loader.h>

List of all members.

Public Member Functions

 Results ()
 Results (const Results &copy)
void operator= (const Results &copy)
 ~Results ()
void clear ()
 Removes all the files from the list.

int get_num_files () const
 Returns the number of files on the result list.

const Filenameget_file (int n) const
 Returns the nth file on the result list.

LoaderFileTypeget_file_type (int n) const
 Returns the file type of the nth file on the result list.

void add_file (const Filename &file, LoaderFileType *type)
 Adds a new file to the result list.


Private Types

typedef pvector< ConsiderFileFiles

Private Attributes

Files _files


Member Typedef Documentation

typedef pvector<ConsiderFile> Loader::Results::Files [private]
 

Definition at line 71 of file loader.h.


Constructor & Destructor Documentation

Loader::Results::Results  )  [inline]
 

Definition at line 31 of file loader.I.

References INLINE.

Loader::Results::Results const Results &  copy  )  [inline]
 

Definition at line 42 of file loader.I.

References _files, and INLINE.

Loader::Results::~Results  )  [inline]
 

Definition at line 67 of file loader.I.


Member Function Documentation

void Loader::Results::add_file const Filename file,
LoaderFileType type
[inline]
 

Adds a new file to the result list.

Definition at line 135 of file loader.I.

void Loader::Results::clear void   )  [inline]
 

Removes all the files from the list.

Definition at line 79 of file loader.I.

References _files, INLINE, and nassertr.

const Filename & Loader::Results::get_file int  n  )  const [inline]
 

Returns the nth file on the result list.

Definition at line 105 of file loader.I.

References _files, Loader::ConsiderFile::_path, Loader::ConsiderFile::_type, and INLINE.

LoaderFileType * Loader::Results::get_file_type int  n  )  const [inline]
 

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

Definition at line 121 of file loader.I.

References INLINE, Loader::load_file(), Loader::load_file_types(), and search().

int Loader::Results::get_num_files void   )  const [inline]
 

Returns the number of files on the result list.

Definition at line 92 of file loader.I.

References _files, INLINE, nassertr, and NULL.

void Loader::Results::operator= const Results &  copy  )  [inline]
 

Definition at line 55 of file loader.I.

References INLINE.


Member Data Documentation

Files Loader::Results::_files [private]
 

Definition at line 72 of file loader.h.

Referenced by clear(), get_file(), get_num_files(), and Results().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:52:01 2003 for Panda by doxygen1.3