zValidatorOwnerTeam Class Reference

#include <zValidator.h>

Inheritance diagram for zValidatorOwnerTeam:

Inheritance graph
[legend]
Collaboration diagram for zValidatorOwnerTeam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

zValidatorOwnerTeam::zValidatorOwnerTeam ( Triad  _positive,
Triad  _marked 
)

Definition at line 187 of file zValidator.cpp.

Referenced by copy(), and create().

00187                                                                       :
00188         zValidator(_positive, _marked)
00189 { }

Here is the caller graph for this function:

zValidatorOwnerTeam::zValidatorOwnerTeam ( zValidatorOwnerTeam const &  other  ) 

Definition at line 191 of file zValidator.cpp.

00191                                                                         :
00192         zValidator(other)
00193 { }

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

Definition at line 135 of file zValidator.h.

00135 {};


Member Function Documentation

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

Reimplemented from zValidator.

Definition at line 182 of file zValidator.cpp.

References zValidatorOwnerTeam().

00183 {
00184     return new zValidatorOwnerTeam(_positive, _marked);
00185 }

Here is the call graph for this function:

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

overloaded assignment operator

Definition at line 195 of file zValidator.cpp.

References zValidator::operator=().

00196 {
00197     this->zValidator::operator=(other);
00198 }

Here is the call graph for this function:

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

Reimplemented from zValidator.

Definition at line 200 of file zValidator.cpp.

References zValidatorOwnerTeam().

00200                                                 {
00201     return new zValidatorOwnerTeam(*this);
00202 }

Here is the call graph for this function:

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

Reimplemented from zValidator.

Definition at line 205 of file zValidator.cpp.

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

00206 {
00207     return isTeamOwner(possibleUser->Player()->CurrentTeam(), teamOwners);
00208 }

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