BanList Class Reference

#include <banList.h>

Inheritance diagram for BanList:

Inheritance graph
[legend]
List of all members.

Detailed Description

Helper class to keep track of bans.


Public Member Functions

 BanList ()
 ~BanList ()
void addBan (S32 uniqueId, const char *TA, S32 banTime)
void addBanRelative (S32 uniqueId, const char *TA, S32 numSeconds)
void removeBan (S32 uniqueId, const char *TA)
bool isBanned (S32 uniqueId, const char *TA)
bool isTAEq (const char *bannedTA, const char *TA)
void exportToFile (const char *fileName)
 DECLARE_CONOBJECT (BanList)

Public Attributes

Vector< BanInfolist

Private Types

typedef SimObject Parent

Classes

struct  BanInfo


Member Typedef Documentation

typedef SimObject BanList::Parent [private]

Reimplemented from SimObject.


Constructor & Destructor Documentation

BanList::BanList (  )  [inline]

BanList::~BanList (  )  [inline]


Member Function Documentation

void BanList::addBan ( S32  uniqueId,
const char *  TA,
S32  banTime 
)

void BanList::addBanRelative ( S32  uniqueId,
const char *  TA,
S32  numSeconds 
)

void BanList::removeBan ( S32  uniqueId,
const char *  TA 
)

bool BanList::isBanned ( S32  uniqueId,
const char *  TA 
)

bool BanList::isTAEq ( const char *  bannedTA,
const char *  TA 
)

void BanList::exportToFile ( const char *  fileName  ) 

BanList::DECLARE_CONOBJECT ( BanList   ) 


Member Data Documentation