Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 364 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 376 of file HttpTokens.d.

References match, and tokens.

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

Iterate over all tokens matching the given name

Definition at line 388 of file HttpTokens.d.

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


Member Data Documentation

char [] match [private]
 

Definition at line 366 of file HttpTokens.d.

Referenced by opApply(), and this().

HttpTokens tokens [private]
 

Definition at line 367 of file HttpTokens.d.

Referenced by opApply(), and this().


The documentation for this class was generated from the following file:
Generated on Fri Nov 11 18:44:37 2005 for Mango by  doxygen 1.4.0