zValidatorAllButTeamOwner Class Reference

#include <zValidator.h>

Inheritance diagram for zValidatorAllButTeamOwner:

Inheritance graph
[legend]
Collaboration diagram for zValidatorAllButTeamOwner:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zValidatorAllButTeamOwner (Triad _positive, Triad _marked)
 zValidatorAllButTeamOwner (zValidatorAllButTeamOwner const &other)
void operator= (zValidatorAllButTeamOwner const &other)
 overloaded assignment operator
virtual ~zValidatorAllButTeamOwner ()
zValidatorcopy (void) const

Static Public Member Functions

static zValidatorcreate (Triad _positive, Triad _marked)

Protected Member Functions

bool isValid (gVectorExtra< nNetObjectID > &owners, gVectorExtra< nNetObjectID > &teamOwners, gCycle *possibleUser)


Detailed Description

Definition at line 154 of file zValidator.h.


Constructor & Destructor Documentation

zValidatorAllButTeamOwner::zValidatorAllButTeamOwner ( Triad  _positive,
Triad  _marked 
)

Definition at line 249 of file zValidator.cpp.

Referenced by copy(), and create().

00249                                                                                   :
00250         zValidator(_positive, _marked)
00251 { }

Here is the caller graph for this function:

zValidatorAllButTeamOwner::zValidatorAllButTeamOwner ( zValidatorAllButTeamOwner const &  other  ) 

Definition at line 253 of file zValidator.cpp.

00253                                                                                           :
00254         zValidator(other)
00255 { }

virtual zValidatorAllButTeamOwner::~zValidatorAllButTeamOwner (  )  [inline, virtual]

Definition at line 161 of file zValidator.h.

00161 {};


Member Function Documentation

zValidator * zValidatorAllButTeamOwner::create ( Triad  _positive,
Triad  _marked 
) [static]

Reimplemented from zValidator.

Definition at line 244 of file zValidator.cpp.

References zValidatorAllButTeamOwner().

00245 {
00246     return new zValidatorAllButTeamOwner(_positive, _marked);
00247 }

Here is the call graph for this function:

void zValidatorAllButTeamOwner::operator= ( zValidatorAllButTeamOwner const &  other  ) 

overloaded assignment operator

Definition at line 257 of file zValidator.cpp.

References zValidator::operator=().

00258 {
00259     this->zValidator::operator=(other);
00260 }

Here is the call graph for this function:

zValidator * zValidatorAllButTeamOwner::copy ( void   )  const [virtual]

Reimplemented from zValidator.

Definition at line 262 of file zValidator.cpp.

References zValidatorAllButTeamOwner().

00262                                                       {
00263     return new zValidatorAllButTeamOwner(*this);
00264 }

Here is the call graph for this function:

bool zValidatorAllButTeamOwner::isValid ( gVectorExtra< nNetObjectID > &  owners,
gVectorExtra< nNetObjectID > &  teamOwners,
gCycle possibleUser 
) [protected, virtual]

Reimplemented from zValidator.

Definition at line 267 of file zValidator.cpp.

References ePlayerNetID::CurrentTeam(), zValidator::isTeamOwner(), and eNetGameObject::Player().

00268 {
00269     return !isTeamOwner(possibleUser->Player()->CurrentTeam(), teamOwners);
00270 }

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:02:28 2008 for Armagetron Advanced by  doxygen 1.5.4