#include <HTMLEscape.hpp>
Inheritance diagram for HTML::CharsetFunctions:

Inheritance criteria is based on charset
Public Member Functions | |
| virtual int | findAChar (const tchar *const input, const int length, const tchar ch) const=0 |
| Find the the position for the given char in the input string this function is charset and encoding independent. | |
| virtual int | findAttributeMark (const tchar *const input, const int length) const =0 |
| Find the first attribute marker from string (started by " or ' in ASCII) this function is charset and encoding independent. | |
| virtual int | findAttributeName (const tchar *const input, const int length, int &attributeStartPos) const=0 |
| Find the current attribute name this function is charset and encoding independent. | |
| virtual unsigned int | findLength (const tchar *const input) const =0 |
| Find the length of the input string this function is charset and encoding independent. | |
| virtual int | findNextAttribute (const tchar *const input, const int length, int &attribStartPos) const =0 |
| Find next attribute this function is charset and encoding independent. | |
| virtual int | findNextAttributeContent (const tchar *const input, const int length, int &attribStartPos) const =0 |
| Find next attribute content this function is charset and encoding independent. | |
| virtual int | findNextStartTag (const tchar *const input, const int length) const =0 |
| Find the next start tag (started by '<' in ASCII) this function is charset and encoding independent. | |
| virtual int | findNextTagEnd (const tchar *const input, const int length) const =0 |
| Find the current tag end (started by '>' in ASCII) this function is charset and encoding independent. | |
| virtual int | findSpecificTagEnd (const char *tagName, const unsigned int tagNameLen, const tchar *const input, const int length) const=0 |
| Find the a specific tag end (started by '</' in ASCII) this function is charset and encoding independent. | |
| virtual int | findTagName (const tchar *const input, const int length, int &tagStartPos) const =0 |
| Find the current tag name this function is charset and encoding independent. | |
| virtual char const *const | lastFoundAttributeName () const=0 |
| Get the last found attribute name. | |
| virtual const int & | lastFoundAttributeNameLength () const=0 |
| Get the last found attribute length. | |
| virtual char const *const | lastFoundTagName () const=0 |
| Get the last found tag name. | |
| virtual const int & | lastFoundTagNameLength () const=0 |
| Get the last found tag length. | |
| virtual int HTML::CharsetFunctions::findAChar | ( | const tchar *const | input, | |
| const int | length, | |||
| const tchar | ch | |||
| ) | const [pure virtual] |
Find the the position for the given char in the input string this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findAttributeMark | ( | const tchar *const | input, | |
| const int | length | |||
| ) | const [pure virtual] |
Find the first attribute marker from string (started by " or ' in ASCII) this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findAttributeName | ( | const tchar *const | input, | |
| const int | length, | |||
| int & | attributeStartPos | |||
| ) | const [pure virtual] |
Find the current attribute name this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte | |
| attributeStartPos | The position of the first char in the attribute name |
Implemented in HTML::CharsetASCII.
| virtual unsigned int HTML::CharsetFunctions::findLength | ( | const tchar *const | input | ) | const [pure virtual] |
Find the length of the input string this function is charset and encoding independent.
| input | The input string pointer |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findNextAttribute | ( | const tchar *const | input, | |
| const int | length, | |||
| int & | attribStartPos | |||
| ) | const [pure virtual] |
Find next attribute this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte | |
| attribStartPos | The found attribute position in the given stream |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findNextAttributeContent | ( | const tchar *const | input, | |
| const int | length, | |||
| int & | attribStartPos | |||
| ) | const [pure virtual] |
Find next attribute content this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte | |
| attribStartPos | The first found attribute content position in the given stream |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findNextStartTag | ( | const tchar *const | input, | |
| const int | length | |||
| ) | const [pure virtual] |
Find the next start tag (started by '<' in ASCII) this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findNextTagEnd | ( | const tchar *const | input, | |
| const int | length | |||
| ) | const [pure virtual] |
Find the current tag end (started by '>' in ASCII) this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findSpecificTagEnd | ( | const char * | tagName, | |
| const unsigned int | tagNameLen, | |||
| const tchar *const | input, | |||
| const int | length | |||
| ) | const [pure virtual] |
Find the a specific tag end (started by '</' in ASCII) this function is charset and encoding independent.
| tagName | The tagName to look for | |
| tagNameLen | The length of the provided tag name | |
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte |
Implemented in HTML::CharsetASCII.
| virtual int HTML::CharsetFunctions::findTagName | ( | const tchar *const | input, | |
| const int | length, | |||
| int & | tagStartPos | |||
| ) | const [pure virtual] |
Find the current tag name this function is charset and encoding independent.
| input | The input string pointer | |
| length | The input length (if not known, set it to zero, it will be calculated automatically) in byte | |
| tagStartPos | The position of the first char in the tag name |
Implemented in HTML::CharsetASCII.
| virtual char const* const HTML::CharsetFunctions::lastFoundAttributeName | ( | ) | const [pure virtual] |
Get the last found attribute name.
Implemented in HTML::CharsetASCII.
| virtual const int& HTML::CharsetFunctions::lastFoundAttributeNameLength | ( | ) | const [pure virtual] |
Get the last found attribute length.
Implemented in HTML::CharsetASCII.
| virtual char const* const HTML::CharsetFunctions::lastFoundTagName | ( | ) | const [pure virtual] |
Get the last found tag name.
Implemented in HTML::CharsetASCII.
| virtual const int& HTML::CharsetFunctions::lastFoundTagNameLength | ( | ) | const [pure virtual] |
Get the last found tag length.
Implemented in HTML::CharsetASCII.
