Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FindMatch Class Reference

`#include <findMatch.h>`

## Public Member Functions
| FindMatch (U32 _maxMatches=256)
| FindMatch (const 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)

## Public Attributes
Vector< char * > | matchList

## Constructor & Destructor Documentation

FindMatch | ( | U32 | _maxMatches = `256` | ) |

FindMatch | ( | const char * | _expression,
|  | U32 | _maxMatches = `256`
| ) |  |

~FindMatch | ( |  | ) |

## Member Function Documentation

void clear | ( |  | ) |
| inline

bool findMatch | ( | const char * | string,
|  | bool | caseSensitive = `false`
| ) |  |

bool isFull | ( |  | ) | const
| inline

bool isMatch | ( | const char * | exp,
|  | const char * | string,
|  | bool | caseSensitive = `false`
| ) |  |
| static

bool isMatchMultipleExprs | ( | const char * | exps,
|  | const char * | str,
|  | bool | caseSensitive
| ) |  |
| static

S32 numMatches | ( |  | ) | const
| inline

void setExpression | ( | const char * | _expression | ) |

## Member Data Documentation

Vector<char *> matchList

The documentation for this class was generated from the following files:

- string/findMatch.h
- string/findMatch.cc