doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idDEntry Class Reference
Inheritance diagram for idDEntry:
idList< idStr >

Public Member Functions

 idDEntry ()
 
virtual ~idDEntry ()
 
bool Matches (const char *directory, const char *extension) const
 
void Init (const char *directory, const char *extension, const idStrList &list)
 
void Clear (void)
 
- Public Member Functions inherited from idList< idStr >
 idList (int newgranularity=16)
 
 idList (const idList< idStr > &other)
 
 ~idList (void)
 
void Clear (void)
 
int Num (void) const
 
int NumAllocated (void) const
 
void SetGranularity (int newgranularity)
 
int GetGranularity (void) const
 
size_t Allocated (void) const
 
size_t Size (void) const
 
size_t MemoryUsed (void) const
 
idList< idStr > & operator= (const idList< idStr > &other)
 
const idStroperator[] (int index) const
 
idStroperator[] (int index)
 
void Condense (void)
 
void Resize (int newsize)
 
void Resize (int newsize, int newgranularity)
 
void SetNum (int newnum, bool resize=true)
 
void AssureSize (int newSize)
 
void AssureSize (int newSize, const idStr &initValue)
 
void AssureSizeAlloc (int newSize, new_t *allocator)
 
idStrPtr (void)
 
const idStrPtr (void) const
 
idStrAlloc (void)
 
int Append (const idStr &obj)
 
int Append (const idList< idStr > &other)
 
int AddUnique (const idStr &obj)
 
int Insert (const idStr &obj, int index=0)
 
int FindIndex (const idStr &obj) const
 
idStrFind (idStrconst &obj) const
 
int FindNull (void) const
 
int IndexOf (const idStr *obj) const
 
bool RemoveIndex (int index)
 
bool Remove (const idStr &obj)
 
void Sort (cmp_t *compare=(cmp_t *)&idListSortCompare< idStr >)
 
void SortSubSection (int startIndex, int endIndex, cmp_t *compare=(cmp_t *)&idListSortCompare< idStr >)
 
void Swap (idList< idStr > &other)
 
void DeleteContents (bool clear)
 

Private Attributes

idStr directory
 
idStr extension
 

Additional Inherited Members

- Public Types inherited from idList< idStr >
typedef int cmp_t (const idStr *, const idStr *)
 
typedef idStr new_t (void)
 

Detailed Description

Definition at line 326 of file FileSystem.cpp.

Constructor & Destructor Documentation

idDEntry::idDEntry ( )
inline

Definition at line 328 of file FileSystem.cpp.

virtual idDEntry::~idDEntry ( )
inlinevirtual

Definition at line 329 of file FileSystem.cpp.

Member Function Documentation

void idDEntry::Clear ( void  )

Definition at line 1826 of file FileSystem.cpp.

void idDEntry::Init ( const char *  directory,
const char *  extension,
const idStrList list 
)

Definition at line 1815 of file FileSystem.cpp.

bool idDEntry::Matches ( const char *  directory,
const char *  extension 
) const

Definition at line 1803 of file FileSystem.cpp.

Member Data Documentation

idStr idDEntry::directory
private

Definition at line 336 of file FileSystem.cpp.

idStr idDEntry::extension
private

Definition at line 337 of file FileSystem.cpp.


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