|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <stlsoft_string_tokeniser.h>
Public Types | |
| typedef string_tokeniser< S, D, B, V, T, P > | class_type |
| The current parameterisation of the type. | |
| typedef string_tokeniser< S, D, B, V, T, P > | tokeniser_type |
| This tokeniser parameterisation. | |
| typedef S | string_type |
| The sequence string type. | |
| typedef D | delimiter_type |
| The delimiter type. | |
| typedef B | ignore_blanks_type |
| The ignore-blanks type. | |
| typedef V | value_type |
| The value type. | |
| typedef T | traits_type |
| The traits type. | |
| typedef P | comparator_type |
| The tokeniser comparator type. | |
| typedef traits_type::value_type | char_type |
| The char type. | |
| typedef traits_type::size_type | size_type |
| The size type. | |
| typedef traits_type::difference_type | difference_type |
| The difference type. | |
| typedef const value_type | const_reference |
| The const_reference type. | |
Public Methods | |
| string_tokeniser (string_type const &str, delimiter_type const &delimiter) | |
| Tokenise the given string with the given delimiter. | |
| string_tokeniser (char_type const *psz, delimiter_type const &delimiter) | |
| Tokenise the given string with the given delimiter. | |
| template<typename S1> | string_tokeniser (S1 const &s, delimiter_type const &delimiter) |
Commence a search according to the given search pattern and flags, relative to directory. | |
| string_tokeniser (char_type const *psz, size_type cch, delimiter_type const &delimiter) | |
| Tokenise the specified length of the given string with the given delimiter. | |
| string_tokeniser (char_type const *from, char_type const *to, delimiter_type const &delimiter) | |
| Tokenise the given range with the given delimiter. | |
| template<typename I> | string_tokeniser (I from, I to, delimiter_type const &delimiter) |
| Tokenise the given range with the given delimiter. | |
| const_iterator | begin () const |
| Begins the iteration. | |
| const_iterator | end () const |
| Ends the iteration. | |
| size_type | size () const |
| Returns the number of elements in the sequence. | |
| ss_bool_t | empty () const |
| Indicates whether the search sequence is empty. | |
This class takes a string, and a delimiter, and fashions a sequence from the given string, with each element determined with respect to the delimiter
| S | The string type |
| D | The delimiter type (can be a string type or a character type) |
| B | The ignore-blanks type |
| T | The string type traits type |
| P | The tokeniser comparator type |
| V | The value type (the string type that will be used for the values) |
|
|
The char type.
|
|
|
The current parameterisation of the type.
|
|
|
The tokeniser comparator type.
|
|
|
The const_reference type.
|
|
|
The delimiter type.
|
|
|
The difference type.
|
|
|
The ignore-blanks type.
|
|
|
The size type.
|
|
|
The sequence string type.
|
|
|
This tokeniser parameterisation.
|
|
|
The traits type.
|
|
|
The value type.
|
|
||||||||||||
|
Tokenise the given string with the given delimiter.
|
|
||||||||||||
|
Tokenise the given string with the given delimiter.
|
|
||||||||||||
|
Commence a search according to the given search pattern and flags, relative to
|
|
||||||||||||||||
|
Tokenise the specified length of the given string with the given delimiter.
|
|
||||||||||||||||
|
Tokenise the given range with the given delimiter.
|
|
||||||||||||||||
|
Tokenise the given range with the given delimiter.
|
|
|
Begins the iteration.
|
|
|
Indicates whether the search sequence is empty.
|
|
|
Ends the iteration.
|
|
|
Returns the number of elements in the sequence.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |