11 inline bool IsCharWhitespace(
char ch)
32 inline bool IsCharDelimiter(
char ch)
61 inline bool IsCharTokenDelimiter(
char ch, PdfTokenType& tokenType)
66 tokenType = PdfTokenType::ParenthesisLeft;
69 tokenType = PdfTokenType::ParenthesisRight;
72 tokenType = PdfTokenType::SquareBracketLeft;
75 tokenType = PdfTokenType::SquareBracketRight;
78 tokenType = PdfTokenType::BraceLeft;
81 tokenType = PdfTokenType::BraceRight;
84 tokenType = PdfTokenType::Slash;
87 tokenType = PdfTokenType::Unknown;
95 return !(IsCharWhitespace(
ch) || IsCharDelimiter(
ch));
102 return ch > 32 &&
ch < 127;
This file should be included as the FIRST file in every header of PoDoFo lib.
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
bool IsCharASCIIPrintable(char ch)
Check if the character is within the range of non control code ASCII characters.
Definition PdfUtils.h:100
bool IsCharRegular(char ch)
Checks if a character is neither whitespace or delimiter.
Definition PdfUtils.h:93