Advanced Strategic Command
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ItemFiltrationSystem Class Reference

#include <itemrepository.h>

Classes

class  DataLoader
 
class  ItemFilter
 

Public Types

enum  Category {
  Building, Vehicle, Object, Terrain,
  Technology
}
 

Static Public Member Functions

static bool isFiltered (Category cat, int id)
 
static bool isFiltered (const VehicleType *item)
 
static bool isFiltered (const BuildingType *item)
 
static bool isFiltered (const ObjectType *item)
 
static bool isFiltered (const TerrainType *item)
 
static bool isFiltered (const MineType *item)
 

Static Public Attributes

static deallocating_vector
< ItemFilter * > 
itemFilters
 

Detailed Description

Definition at line 148 of file itemrepository.h.

Member Enumeration Documentation

Enumerator
Building 
Vehicle 
Object 
Terrain 
Technology 

Definition at line 150 of file itemrepository.h.

Member Function Documentation

bool ItemFiltrationSystem::isFiltered ( ItemFiltrationSystem::Category  cat,
int  id 
)
static
bool ItemFiltrationSystem::isFiltered ( const VehicleType item)
static

Definition at line 516 of file itemrepository.cpp.

References ContainerBaseType::id, and isFiltered().

bool ItemFiltrationSystem::isFiltered ( const BuildingType item)
static

Definition at line 521 of file itemrepository.cpp.

References ContainerBaseType::id, and isFiltered().

bool ItemFiltrationSystem::isFiltered ( const ObjectType item)
static

Definition at line 526 of file itemrepository.cpp.

References ObjectType::id, and isFiltered().

bool ItemFiltrationSystem::isFiltered ( const TerrainType item)
static

Definition at line 531 of file itemrepository.cpp.

References TerrainType::id, isFiltered(), and Terrain.

bool ItemFiltrationSystem::isFiltered ( const MineType item)
static

Definition at line 536 of file itemrepository.cpp.

Member Data Documentation

deallocating_vector< ItemFiltrationSystem::ItemFilter * > ItemFiltrationSystem::itemFilters
static

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