Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

HttpTokens::FilteredTokens Class Reference

List of all members.

Public Member Functions

 this (HttpTokens tokens, char[] match)
int opApply (int(*dg)(inout HttpToken))

Private Attributes

char[] match
HttpTokens tokens

Detailed Description

Implements a filter for iterating over tokens matching a particular name. We do it like this because there's no means of passing additional information to an opApply() method.

Definition at line 343 of file HttpTokens.d.


Member Function Documentation

this HttpTokens  tokens,
char[]  match
[inline]
 

Construct this filter upon the given tokens, and set the pattern to match against.

Definition at line 355 of file HttpTokens.d.

References match, and tokens.

int opApply int(*  dg)(inout HttpToken)  )  [inline]
 

Iterate over all tokens matching the given name

Definition at line 367 of file HttpTokens.d.

References TokenStack::isMatch(), match, HttpTokens::split(), HttpTokens::stack, and tokens.


Member Data Documentation

char [] match [private]
 

Definition at line 345 of file HttpTokens.d.

Referenced by opApply(), and this().

HttpTokens tokens [private]
 

Definition at line 346 of file HttpTokens.d.

Referenced by opApply(), and this().


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:04 2004 for Mango by doxygen 1.3.6