A list of VirtualFiles, as returned by VirtualFile::scan_directory(). More...
#include "virtualFileList.h"
 
  
| Public Member Functions | |
| void | add_file (VirtualFile *file) | 
| Adds a new file to the list.  More... | |
| VirtualFile * | get_file (size_t n) const | 
| size_t | get_num_files () const | 
| VirtualFile * | operator [] (size_t n) const | 
| Returns the nth file in the list.  More... | |
| VirtualFileList | operator+ (const VirtualFileList &other) const | 
| Returns a VirtualFileList representing the concatenation of the two lists.  More... | |
| void | operator+= (const VirtualFileList &other) | 
| Appends the other list onto the end of this one.  More... | |
| size_t | size () const | 
| Returns the number of files in the list.  More... | |
|  Public Member Functions inherited from ReferenceCount | |
| int | get_ref_count () const | 
| WeakReferenceList * | get_weak_list () const | 
| Returns the WeakReferenceList associated with this ReferenceCount object.  More... | |
| bool | has_weak_list () const | 
| Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise.  More... | |
| void | local_object () | 
| This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack.  More... | |
| void | ref () const | 
| Explicitly increments the reference count.  More... | |
| bool | ref_if_nonzero () const | 
| Atomically increases the reference count of this object if it is not zero.  More... | |
| bool | test_ref_count_integrity () const | 
| Does some easy checks to make sure that the reference count isn't completely bogus.  More... | |
| bool | test_ref_count_nonzero () const | 
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus.  More... | |
| virtual bool | unref () const | 
| Explicitly decrements the reference count.  More... | |
| WeakReferenceList * | weak_ref () | 
| Adds the indicated PointerToVoid as a weak reference to this object.  More... | |
| void | weak_unref () | 
| Removes the indicated PointerToVoid as a weak reference to this object.  More... | |
| Public Attributes | |
| get_file | |
| Returns the nth file in the list.  More... | |
| get_num_files | |
| Returns the number of files in the list.  More... | |
|  Public Attributes inherited from ReferenceCount | |
| get_ref_count | |
| Returns the current reference count.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ReferenceCount | |
| static TypeHandle | get_class_type () | 
| static void | init_type () | 
A list of VirtualFiles, as returned by VirtualFile::scan_directory().
Definition at line 25 of file virtualFileList.h.
| 
 | inline | 
Adds a new file to the list.
Definition at line 32 of file virtualFileList.I.
| 
 | inline | 
Returns the nth file in the list.
Definition at line 57 of file virtualFileList.I.
| 
 | inline | 
Returns a VirtualFileList representing the concatenation of the two lists.
Definition at line 82 of file virtualFileList.I.
| 
 | inline | 
Appends the other list onto the end of this one.
Definition at line 74 of file virtualFileList.I.
| 
 | inline | 
Returns the number of files in the list.
Definition at line 66 of file virtualFileList.I.
| 
 | inline | 
Returns the nth file in the list.
Definition at line 38 of file virtualFileList.h.
| 
 | inline | 
Returns the number of files in the list.
Definition at line 38 of file virtualFileList.h.
 1.8.15
 1.8.15