Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::Tokenizer Class Referencefinal

#include <Tokenizer.h>

Public Member Functions

 Tokenizer (const std::vector< char > &separators)
 
 Tokenizer (const std::vector< std::pair< char, char > > &enclosures)
 
 Tokenizer (const std::vector< char > &separators, const std::vector< std::pair< char, char > > &enclosures)
 
void tokenize (const std::string &source, std::vector< std::string > &out_results) const
 

Constructor & Destructor Documentation

◆ Tokenizer() [1/3]

ph::Tokenizer::Tokenizer ( const std::vector< char > & separators)
explicit

◆ Tokenizer() [2/3]

ph::Tokenizer::Tokenizer ( const std::vector< std::pair< char, char > > & enclosures)
explicit

◆ Tokenizer() [3/3]

ph::Tokenizer::Tokenizer ( const std::vector< char > & separators,
const std::vector< std::pair< char, char > > & enclosures )

Member Function Documentation

◆ tokenize()

void ph::Tokenizer::tokenize ( const std::string & source,
std::vector< std::string > & out_results ) const

The documentation for this class was generated from the following files: