#include <HTMLTokenizer.h>

Public Member Functions | |
| HTMLToken | GetNextToken () |
| bool | HasNextToken () const |
| HTMLTokenizer (URLInputStream *input) | |
| HTMLTokenizer (const std::string &htmlCode) | |
| virtual | ~HTMLTokenizer () |
Friends | |
| class | HTMLTokenizerTester |
Definition at line 19 of file HTMLTokenizer.h.
| HTMLTokenizer::HTMLTokenizer | ( | const std::string & | htmlCode | ) |
Initialize the HTMLTokenizer with an html string that you have already downloaded.
Definition at line 5 of file HTMLTokenizer.cpp.
| HTMLTokenizer::HTMLTokenizer | ( | URLInputStream * | input | ) |
Initialize the HTMLTokenizer with an InputStream that the HTMLTokenizer will then retrieve all of the HTML code from. When the constructor is finished, the InputStream that you pass in should be done and should be closed.
Definition at line 10 of file HTMLTokenizer.cpp.
References URLInputStream::IsDone(), URLInputStream::IsOpen(), and URLInputStream::Read().
| HTMLTokenizer::~HTMLTokenizer | ( | ) | [virtual] |
Destructor that cleans up any memory needing to be deleted by this tokenizer.
Definition at line 19 of file HTMLTokenizer.cpp.
| HTMLToken HTMLTokenizer::GetNextToken | ( | ) |
| bool HTMLTokenizer::HasNextToken | ( | ) | const |
Return whether the tokenizer has another token to return.
Definition at line 44 of file HTMLTokenizer.cpp.
friend class HTMLTokenizerTester [friend] |
Definition at line 22 of file HTMLTokenizer.h.
1.5.8