#include <itemrepository.h>
Public Types | |
| typedef vector< IntRange > | IntRangeArray |
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 |
Definition at line 152 of file itemrepository.h.
Definition at line 154 of file itemrepository.h.
| ItemFiltrationSystem::ItemFilter::ItemFilter | ( | ) | [inline] |
Definition at line 164 of file itemrepository.h.
| ItemFiltrationSystem::ItemFilter::ItemFilter | ( | const ASCString & | _name, | |
| const IntRangeArray & | unitsetIDs, | |||
| bool | _active | |||
| ) |
| bool ItemFiltrationSystem::ItemFilter::isActive | ( | ) | [inline] |
Definition at line 167 of file itemrepository.h.
| void ItemFiltrationSystem::ItemFilter::setActive | ( | bool | _active | ) | [inline] |
Definition at line 168 of file itemrepository.h.
| void ItemFiltrationSystem::ItemFilter::runTextIO | ( | PropertyContainer & | pc | ) |
Definition at line 437 of file itemrepository.cpp.
References PropertyContainer::addBool(), PropertyContainer::addIntRangeArray(), PropertyContainer::addString(), PropertyContainer::find(), and name.
Referenced by ItemFiltrationSystem::DataLoader::readTextFiles().
| void ItemFiltrationSystem::ItemFilter::read | ( | tnstream & | stream | ) |
Definition at line 453 of file itemrepository.cpp.
References tnstream::getDeviceName(), name, readClassContainer(), tnstream::readInt(), and tnstream::readString().
| void ItemFiltrationSystem::ItemFilter::write | ( | tnstream & | stream | ) |
Definition at line 469 of file itemrepository.cpp.
References name, writeClassContainer(), tnstream::writeInt(), and tnstream::writeString().
| bool ItemFiltrationSystem::ItemFilter::isContained | ( | ItemFiltrationSystem::Category | cat, | |
| int | id | |||
| ) |
Definition at line 166 of file itemrepository.h.
Referenced by ItemFilter(), read(), runTextIO(), and write().
1.5.1