Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

MatchLiteral Class Reference

#include <P:/Dev2/freelibs/b64/1.4/src/shwild/matches.hpp>

Inheritance diagram for MatchLiteral:

Match

List of all members.


Detailed Description

Matches a literal string; INTERNAL CLASS.


Public Member Functions

virtual void setNext (Match *next)
 Sets the next Match in the series.
virtual bool match (char const *first, char const *last) const
 Attempt full match of the given string range.
virtual char const * nextSub (char const *first, char const *last, size_t *nextLen) const
 Attempt partial match of the given string range.


Member Function Documentation

virtual void setNext ( Match next  )  [virtual]

Sets the next Match in the series.

Implements Match.

virtual bool match ( char const *  first,
char const *  last 
) const [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

Implements Match.

virtual char const* nextSub ( char const *  first,
char const *  last,
size_t *  nextLen 
) const [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

Implements Match.


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

b64 Library documentation © Synesis Software Pty Ltd, 2004-2007