Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
W3DExclusionListClass Class Reference

#include <w3dexclusionlist.h>

Public Member Functions

 W3DExclusionListClass (const DynamicVectorClass< StringClass > &names)
 
 ~W3DExclusionListClass (void)
 
bool Is_Excluded (PrototypeClass *proto) const
 
bool Is_Excluded (HTreeClass *htree) const
 
bool Is_Excluded (HAnimClass *hanim) const
 
bool Is_Excluded (const char *root_name) const
 

Protected Attributes

const DynamicVectorClass< StringClass > & Names
 
HashTemplateClass< StringClass, int > NameHash
 

Detailed Description

W3DExclusionListClass This class ecapsulates an "exclusion list" which the asset manager and related classes use to filter what resources get released. This is useful between level loads for example.
The Is_Excluded function uses w3d naming convention assumptions to determine whether the given asset name is in the list or is a child of something in the list.

Definition at line 63 of file w3dexclusionlist.h.

Constructor & Destructor Documentation

◆ W3DExclusionListClass()

W3DExclusionListClass::W3DExclusionListClass ( const DynamicVectorClass< StringClass > & names)

Definition at line 45 of file w3dexclusionlist.cpp.

◆ ~W3DExclusionListClass()

W3DExclusionListClass::~W3DExclusionListClass ( void )

Definition at line 53 of file w3dexclusionlist.cpp.

Member Function Documentation

◆ Is_Excluded() [1/4]

bool W3DExclusionListClass::Is_Excluded ( const char * root_name) const

Definition at line 100 of file w3dexclusionlist.cpp.

◆ Is_Excluded() [2/4]

bool W3DExclusionListClass::Is_Excluded ( HAnimClass * hanim) const

Definition at line 85 of file w3dexclusionlist.cpp.

◆ Is_Excluded() [3/4]

bool W3DExclusionListClass::Is_Excluded ( HTreeClass * htree) const

Definition at line 78 of file w3dexclusionlist.cpp.

◆ Is_Excluded() [4/4]

bool W3DExclusionListClass::Is_Excluded ( PrototypeClass * proto) const

Definition at line 58 of file w3dexclusionlist.cpp.

Member Data Documentation

◆ NameHash

HashTemplateClass<StringClass,int> W3DExclusionListClass::NameHash
protected

Definition at line 79 of file w3dexclusionlist.h.

◆ Names

const DynamicVectorClass<StringClass>& W3DExclusionListClass::Names
protected

Definition at line 78 of file w3dexclusionlist.h.


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