a token descriptor (string is not contained inside)
More...
#include <apriltokenizer.h>
Public Types |
enum | Flags {
HasSpaces = 0x0001,
HasTabs = 0x0002,
HasNewLine = 0x0004,
HasLineFeed = HasNewLine,
HasCR = 0x0008,
HasWhites = HasSpaces | HasTabs | HasNewLine | HasCR,
HasDigits = 0x0010,
HasLetters = 0x0020,
OnlyHex = 0x0040,
HasComma = 0x0080,
HasDot = 0x0100,
WasQuoted = 0x0200,
HasLeadingWhites = 0x0400,
HasTrailingWhites = 0x0800,
HasMiddleWhites = 0x1000,
IsAllWhites = 0x2000 | HasLeadingWhites | HasMiddleWhites | HasTrailingWhites,
HasLowCodes = 0x4000,
UpperCaseLetters = 0x8000
} |
| properties of a token More...
|
Public Attributes |
int | i_start |
| the offset from the start of the string to the start of the token
|
int | i_end |
| the offset from the start of the string to the end of the token
|
int | flags |
| a combination of flags from Flags enum
|
Detailed Description
a token descriptor (string is not contained inside)
Member Enumeration Documentation
properties of a token
- Enumerator:
OnlyHex |
set for [A-Fa-f] letters and [0-9] digits
|
HasLowCodes |
characters lower than space excluding previous
|
Member Function Documentation
bool april::AaToken::hasComma |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasDigits |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasDot |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasLetters |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasLowCodes |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasLowerCaseLetters |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasUpperCaseLetters |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::hasWhiteSpaces |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::isAllWhite |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::isHexInteger |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::isInteger |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::leadingWhite |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::middleWhite |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::trailingWhite |
( |
void |
| ) |
const |
|
inline |
bool april::AaToken::wasQuoted |
( |
void |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: