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

#include <itemrepository.h>

Public Types

typedef vector< IntRangeIntRangeArray

Public Member Functions

 ItemFilter ()
 ItemFilter (const ASCString &_name, const IntRangeArray &unitsetIDs, bool _active)
bool isActive ()
void setActive (bool _active)
void runTextIO (PropertyContainer &pc)
void read (tnstream &stream)
void write (tnstream &stream)
bool isContained (ItemFiltrationSystem::Category cat, int id)

Public Attributes

ASCString name

Detailed Description

Definition at line 152 of file itemrepository.h.

Member Typedef Documentation

Definition at line 154 of file itemrepository.h.

Constructor & Destructor Documentation

ItemFiltrationSystem::ItemFilter::ItemFilter ( )

Definition at line 164 of file itemrepository.h.

ItemFiltrationSystem::ItemFilter::ItemFilter ( const ASCString _name,
const IntRangeArray unitsetIDs,
bool  _active 

Definition at line 429 of file itemrepository.cpp.

References name.

Member Function Documentation

bool ItemFiltrationSystem::ItemFilter::isActive ( )

Definition at line 167 of file itemrepository.h.

bool ItemFiltrationSystem::ItemFilter::isContained ( ItemFiltrationSystem::Category  cat,
int  id 

Definition at line 493 of file itemrepository.cpp.

References ItemFiltrationSystem::Terrain.

void ItemFiltrationSystem::ItemFilter::read ( tnstream stream)
void ItemFiltrationSystem::ItemFilter::runTextIO ( PropertyContainer pc)
void ItemFiltrationSystem::ItemFilter::setActive ( bool  _active)

Definition at line 168 of file itemrepository.h.

void ItemFiltrationSystem::ItemFilter::write ( tnstream stream)

Member Data Documentation

ASCString ItemFiltrationSystem::ItemFilter::name

Definition at line 166 of file itemrepository.h.

Referenced by ItemFilter().

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