torque Torque Game Engine Documentation
TGE Version 1.5.2

FindMatch Class Reference

#include <findMatch.h>


Public Member Functions

 FindMatch (U32 _maxMatches=256)
 FindMatch (char *_expression, U32 _maxMatches=256)
 ~FindMatch ()
bool findMatch (const char *string, bool caseSensitive=false)
void setExpression (const char *_expression)
S32 numMatches () const
bool isFull () const
void clear ()

Static Public Member Functions

static bool isMatch (const char *exp, const char *string, bool caseSensitive=false)
static bool isMatchMultipleExprs (const char *exps, const char *str, bool caseSensitive)

Data Fields

Vector< char * > matchList

Private Attributes

char * expression
U32 maxMatches


Constructor & Destructor Documentation

FindMatch::FindMatch ( U32  _maxMatches = 256  ) 

FindMatch::FindMatch ( char *  _expression,
U32  _maxMatches = 256 
)

FindMatch::~FindMatch (  ) 


Member Function Documentation

static bool FindMatch::isMatch ( const char *  exp,
const char *  string,
bool  caseSensitive = false 
) [static]

static bool FindMatch::isMatchMultipleExprs ( const char *  exps,
const char *  str,
bool  caseSensitive 
) [static]

bool FindMatch::findMatch ( const char *  string,
bool  caseSensitive = false 
)

void FindMatch::setExpression ( const char *  _expression  ) 

S32 FindMatch::numMatches (  )  const [inline]

bool FindMatch::isFull (  )  const [inline]

void FindMatch::clear (  )  [inline]


Field Documentation

char* FindMatch::expression [private]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen