mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
ACP_GRAPH = 0x0100,
|
||||
ACP_PRINT = 0x0200
|
||||
};
|
||||
|
||||
|
||||
static int properties(int ch);
|
||||
/// Return the ASCII character properties for the
|
||||
/// character with the given ASCII value.
|
||||
@@ -65,44 +65,44 @@ public:
|
||||
|
||||
static bool hasSomeProperties(int ch, int properties);
|
||||
/// Returns true if the given character is
|
||||
/// within the ASCII range and has at least one of
|
||||
/// within the ASCII range and has at least one of
|
||||
/// the given properties.
|
||||
|
||||
static bool hasProperties(int ch, int properties);
|
||||
/// Returns true if the given character is
|
||||
/// within the ASCII range and has all of
|
||||
/// within the ASCII range and has all of
|
||||
/// the given properties.
|
||||
|
||||
static bool isAscii(int ch);
|
||||
/// Returns true iff the given character code is within
|
||||
/// the ASCII range (0 .. 127).
|
||||
|
||||
|
||||
static bool isSpace(int ch);
|
||||
/// Returns true iff the given character is a whitespace.
|
||||
|
||||
|
||||
static bool isDigit(int ch);
|
||||
/// Returns true iff the given character is a digit.
|
||||
|
||||
static bool isHexDigit(int ch);
|
||||
/// Returns true iff the given character is a hexadecimal digit.
|
||||
|
||||
|
||||
static bool isPunct(int ch);
|
||||
/// Returns true iff the given character is a punctuation character.
|
||||
|
||||
|
||||
static bool isAlpha(int ch);
|
||||
/// Returns true iff the given character is an alphabetic character.
|
||||
/// Returns true iff the given character is an alphabetic character.
|
||||
|
||||
static bool isAlphaNumeric(int ch);
|
||||
/// Returns true iff the given character is an alphabetic character.
|
||||
|
||||
/// Returns true iff the given character is an alphabetic character.
|
||||
|
||||
static bool isLower(int ch);
|
||||
/// Returns true iff the given character is a lowercase alphabetic
|
||||
/// character.
|
||||
|
||||
|
||||
static bool isUpper(int ch);
|
||||
/// Returns true iff the given character is an uppercase alphabetic
|
||||
/// character.
|
||||
|
||||
|
||||
static bool isPrintable(int ch);
|
||||
/// Returns true iff the given character is printable.
|
||||
|
||||
@@ -115,7 +115,7 @@ public:
|
||||
/// If the given character is a lowercase character,
|
||||
/// return its uppercase counterpart, otherwise return
|
||||
/// the character.
|
||||
|
||||
|
||||
private:
|
||||
static const int CHARACTER_PROPERTIES[128];
|
||||
};
|
||||
@@ -126,7 +126,7 @@ private:
|
||||
//
|
||||
inline int Ascii::properties(int ch)
|
||||
{
|
||||
if (isAscii(ch))
|
||||
if (isAscii(ch))
|
||||
return CHARACTER_PROPERTIES[ch];
|
||||
else
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user