Files Classes Functions Hierarchy
#include <tokenizerfind.h>
Public Member Functions | |
| tokenizerfind (tokenizer &ref_) | |
| Constructor. | |
| tokenizerfind (tokenizer &ref_, stringc &atom_) | |
| Constructor. | |
| boolc | find (stringc &atom1) |
| From current find the next atom1. | |
| boolc | find (stringc &atom1, stringc &atom2) |
| boolc | find (stringc &atom1, stringc &atom2, stringc &atom3) |
| boolc | find (stringc &atom1, stringc &atom2, stringc &atom3, stringc &atom4) |
| boolc | find (stringc &atom1, stringc &atom2, stringc &atom3, stringc &atom4, stringc &atom5) |
| boolc | find (stringc &atom1, stringc &atom2, stringc &atom3, stringc &atom4, stringc &atom5, stringc &atom6) |
| boolc | reset () |
| Resets token iteration. | |
| boolc | operator! () |
| Can the stream be read? | |
| void | operator++ () |
| Increment the stream's index. | |
| stringc & | operator() () const |
| Access the current token in the stream. | |
| string & | operator* () |
Public Attributes | |
| tokenizer & | ref |
| Reference. | |
| string::size_type | index |
| Index into the string pointed to by ref.current. | |
| string | atom |
| Immediate target string. | |
Excludes tokenizer::current. Compare this with tokenizer::atomize_next which tokenizes the finds.
Definition at line 13 of file tokenizerfind.h.
| tokenizerfind::tokenizerfind | ( | tokenizer & | ref_ | ) | [inline] |
| boolc tokenizerfind::operator! | ( | ) |
Can the stream be read?
Definition at line 8 of file tokenizerfind.cpp.
References ref.
00009 { 00010 return !ref; 00011 }
| stringc & tokenizerfind::operator() | ( | ) | const |
Access the current token in the stream.
Definition at line 19 of file tokenizerfind.cpp.
References ref.
00020 { 00021 return ref(); 00022 }
| string & tokenizerfind::operator* | ( | ) |
| void tokenizerfind::operator++ | ( | ) |
| boolc tokenizerfind::reset | ( | ) |
| string tokenizerfind::atom |
Immediate target string.
Definition at line 23 of file tokenizerfind.h.
Referenced by find(), operator++(), and reset().
| string::size_type tokenizerfind::index |
Index into the string pointed to by ref.current.
Definition at line 21 of file tokenizerfind.h.
Referenced by find(), operator++(), and reset().
Reference.
Definition at line 18 of file tokenizerfind.h.
Referenced by operator!(), operator()(), operator*(), operator++(), and reset().
1.5.8