zValidatorAllButOwner Class Reference

#include <zValidator.h>

Inheritance diagram for zValidatorAllButOwner:

Inheritance graph
[legend]
Collaboration diagram for zValidatorAllButOwner:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zValidatorAllButOwner (Triad _positive, Triad _marked)
 zValidatorAllButOwner (zValidatorAllButOwner const &other)
void operator= (zValidatorAllButOwner const &other)
 overloaded assignment operator
virtual ~zValidatorAllButOwner ()
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 141 of file zValidator.h.


Constructor & Destructor Documentation

zValidatorAllButOwner::zValidatorAllButOwner ( Triad  _positive,
Triad  _marked 
)

Definition at line 218 of file zValidator.cpp.

Referenced by copy(), and create().

00218                                                                           :
00219         zValidator(_positive, _marked)
00220 { }

Here is the caller graph for this function:

zValidatorAllButOwner::zValidatorAllButOwner ( zValidatorAllButOwner const &  other  ) 

Definition at line 222 of file zValidator.cpp.

00222                                                                               :
00223         zValidator(other)
00224 { }

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

Definition at line 148 of file zValidator.h.

00148 {};


Member Function Documentation

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

Reimplemented from zValidator.

Definition at line 213 of file zValidator.cpp.

References zValidatorAllButOwner().

00214 {
00215     return new zValidatorAllButOwner(_positive, _marked);
00216 }

Here is the call graph for this function:

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

overloaded assignment operator

Definition at line 226 of file zValidator.cpp.

References zValidator::operator=().

00227 {
00228     this->zValidator::operator=(other);
00229 }

Here is the call graph for this function:

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

Reimplemented from zValidator.

Definition at line 231 of file zValidator.cpp.

References zValidatorAllButOwner().

00231                                                   {
00232     return new zValidatorAllButOwner(*this);
00233 }

Here is the call graph for this function:

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

Reimplemented from zValidator.

Definition at line 236 of file zValidator.cpp.

References zValidator::isOwner(), and eNetGameObject::Player().

00237 {
00238     return !isOwner(possibleUser->Player(), owners);
00239 }

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:27 2008 for Armagetron Advanced by  doxygen 1.5.4