![]() |
![]() |
|
#include <P:/Dev2/freelibs/b64/1.4/src/shwild/matches.hpp>
Public Member Functions | |
virtual void | setNext (Match *next)=0 |
Sets the next Match in the series. | |
virtual bool | match (char const *first, char const *last) const =0 |
Attempt full match of the given string range. | |
virtual char const * | nextSub (char const *first, char const *last, size_t *nextLen) const =0 |
Attempt partial match of the given string range. |
virtual void setNext | ( | Match * | next | ) | [pure virtual] |
Sets the next Match in the series.
Implemented in MatchWild, MatchWild1, MatchRange, MatchEnd, and MatchLiteral.
virtual bool match | ( | char const * | first, | |
char const * | last | |||
) | const [pure virtual] |
Attempt full match of the given string range.
The instance matches the given string range against its criteria, and the criteria of all its down-the-line peers
Implemented in MatchWild, MatchWild1, MatchRange, MatchNotRange, MatchEnd, and MatchLiteral.
virtual char const* nextSub | ( | char const * | first, | |
char const * | last, | |||
size_t * | nextLen | |||
) | const [pure virtual] |
Attempt partial match of the given string range.
The instance matches the given string range against its own criteria. If the match is successful, *nextLen is set to the matched length, and the return value is first + *nextLen
Implemented in MatchWild, MatchWild1, MatchRange, MatchEnd, and MatchLiteral.
|
b64 Library documentation © Synesis Software Pty Ltd, 2004-2012 |