BloombergLP::bdlb::Tokenizer::Tokenizer

Constructors

Synopses

Declared in <bdlb_tokenizer.h>

Create a Tokenizer bound to input using the specified soft delimiters.

Tokenizer(
    std::string_view const& input,
    std::string_view const& soft);
» more...

Create a Tokenizer bound to input using the specified soft delimiters.

Tokenizer(
    char const* input,
    std::string_view const& soft);
» more...

Create a Tokenizer bound to input using soft and hard delimiters.

Tokenizer(
    std::string_view const& input,
    std::string_view const& soft,
    std::string_view const& hard);
» more...

Create a Tokenizer bound to input using soft and hard delimiters.

Tokenizer(
    char const* input,
    std::string_view const& soft,
    std::string_view const& hard);
» more...

Parameters

NameDescription
inputcharacter sequence to tokenize
softset of unique soft delimiter characters
hardset of unique hard delimiter characters