#include <zValidator.h>
Public Member Functions | |
zValidatorOwner (Triad _positive, Triad _marked) | |
zValidatorOwner (zValidatorOwner const &other) | |
void | operator= (zValidatorOwner const &other) |
overloaded assignment operator | |
virtual | ~zValidatorOwner () |
zValidator * | copy (void) const |
Static Public Member Functions | |
static zValidator * | create (Triad _positive, Triad _marked) |
Protected Member Functions | |
bool | isValid (gVectorExtra< nNetObjectID > &owners, gVectorExtra< nNetObjectID > &teamOwners, gCycle *possibleUser) |
Definition at line 115 of file zValidator.h.
Definition at line 156 of file zValidator.cpp.
Referenced by copy(), and create().
00156 : 00157 zValidator(_positive, _marked) 00158 { }
zValidatorOwner::zValidatorOwner | ( | zValidatorOwner const & | other | ) |
virtual zValidatorOwner::~zValidatorOwner | ( | ) | [inline, virtual] |
zValidator * zValidatorOwner::create | ( | Triad | _positive, | |
Triad | _marked | |||
) | [static] |
Reimplemented from zValidator.
Definition at line 151 of file zValidator.cpp.
References zValidatorOwner().
00152 { 00153 return new zValidatorOwner(_positive, _marked); 00154 }
void zValidatorOwner::operator= | ( | zValidatorOwner const & | other | ) |
overloaded assignment operator
Definition at line 164 of file zValidator.cpp.
References zValidator::operator=().
00165 { 00166 this->zValidator::operator=(other); 00167 }
zValidator * zValidatorOwner::copy | ( | void | ) | const [virtual] |
Reimplemented from zValidator.
Definition at line 169 of file zValidator.cpp.
References zValidatorOwner().
00169 { 00170 return new zValidatorOwner(*this); 00171 }
bool zValidatorOwner::isValid | ( | gVectorExtra< nNetObjectID > & | owners, | |
gVectorExtra< nNetObjectID > & | teamOwners, | |||
gCycle * | possibleUser | |||
) | [protected, virtual] |
Reimplemented from zValidator.
Definition at line 174 of file zValidator.cpp.
References zValidator::isOwner(), and eNetGameObject::Player().