Class representing a tokenizer for parsing PDF documenst.
More...
#include <pdfparser.h>
List of all members.
Static Public Member Functions |
static bool | IsWhitespace (int ch) |
| Check byte whether it represents a white space character.
|
static bool | IsDelimiter (int ch) |
| Check byte whether it is a delimiter.
|
static bool | IsDelimiterOrWhitespace (int ch) |
| Check byte whether it is a delimiter or a whitespace character.
|
static int | GetHex (int v) |
| Get hexadecimal character.
|
Detailed Description
Class representing a tokenizer for parsing PDF documenst.
Constructor & Destructor Documentation
wxPdfTokenizer::wxPdfTokenizer |
( |
wxInputStream * |
inputStream | ) |
|
virtual wxPdfTokenizer::~wxPdfTokenizer |
( |
| ) |
|
|
virtual |
Member Function Documentation
void wxPdfTokenizer::BackOnePosition |
( |
int |
ch | ) |
|
Go back one position in the stream.
wxString wxPdfTokenizer::CheckPdfHeader |
( |
| ) |
|
Check the header of the document stream.
int wxPdfTokenizer::GetGeneration |
( |
| ) |
|
static int wxPdfTokenizer::GetHex |
( |
int |
v | ) |
|
|
static |
Get hexadecimal character.
int wxPdfTokenizer::GetIntValue |
( |
| ) |
|
Get the token value as an integer.
off_t wxPdfTokenizer::GetLength |
( |
| ) |
|
int wxPdfTokenizer::GetReference |
( |
| ) |
|
off_t wxPdfTokenizer::GetStartXRef |
( |
| ) |
|
Find the offset of the startxref tag.
wxString wxPdfTokenizer::GetStringValue |
( |
| ) |
|
Get the token value as a string.
int wxPdfTokenizer::GetTokenType |
( |
| ) |
|
Get the type of the last token.
static bool wxPdfTokenizer::IsDelimiter |
( |
int |
ch | ) |
|
|
static |
Check byte whether it is a delimiter.
static bool wxPdfTokenizer::IsDelimiterOrWhitespace |
( |
int |
ch | ) |
|
|
static |
Check byte whether it is a delimiter or a whitespace character.
bool wxPdfTokenizer::IsHexString |
( |
| ) |
|
|
inline |
Check whether the token is a hexadecimal string.
static bool wxPdfTokenizer::IsWhitespace |
( |
int |
ch | ) |
|
|
static |
Check byte whether it represents a white space character.
bool wxPdfTokenizer::NextToken |
( |
| ) |
|
void wxPdfTokenizer::NextValidToken |
( |
| ) |
|
Get the next valid token.
wxMemoryOutputStream* wxPdfTokenizer::ReadBuffer |
( |
size_t |
size | ) |
|
Read size bytes from stream.
int wxPdfTokenizer::ReadChar |
( |
| ) |
|
Read one byte from stream.
wxString wxPdfTokenizer::ReadString |
( |
int |
size | ) |
|
off_t wxPdfTokenizer::Seek |
( |
off_t |
pos | ) |
|
Set current offset position in stream.
off_t wxPdfTokenizer::Tell |
( |
| ) |
|
Get current offset position in stream.
The documentation for this class was generated from the following file: