Provides sequential read‐only access to tokens with soft and hard delimiters.
Synopsis
Declared in <bdlb_tokenizer.h>
class Tokenizer;
Description
This class provides (read‐only) sequential access to tokens delimited by two user‐supplied character sets consisting, respectively, of soft and hard delimiters characters. Access to the previous and current (trailing) delimiter, as well as to the current token itself, is provided efficiently via bslstl::StringRef.
Type Aliases
Name |
Description |
Input‐iterator type over tokens in the bound input string. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Return an iterator referring to the first token in the input string. |
|
Return an iterator referring past the last token in the input string. |
|
Return |
|
Return |
|
Return |
|
Return |
|
Return |
|
Advance to the next token and return a reference to this object. |
|
Return a reference to the non‐modifiable previous delimiter. |
|
Rebind this object to refer to the specified sequence of |
|
Return a reference to the non‐modifiable current token. |
|
Return a reference to the non‐modifiable current trailing delimiter. |
Created with MrDocs