{
//TODO: Move the below defined characters to "defined-characters.h"
constexpr unsigned int WHITE_SPACE_THRESHOLD = 0x21; ///< All characters below 0x21 are considered white spaces.
+constexpr unsigned int CHAR_SPACE = 0x20; ///< Space.
constexpr unsigned int CHAR_LF = 0x000A; ///< NL Line feed, new line.
constexpr unsigned int CHAR_VT = 0x000B; ///< Vertical tab.
constexpr unsigned int CHAR_FF = 0x000C; ///< NP Form feed, new page.
return character < WHITE_SPACE_THRESHOLD;
}
+bool IsSpace(Character character)
+{
+ return CHAR_SPACE == character;
+}
+
bool IsNewParagraph(Character character)
{
return ((CHAR_LF == character) ||
DALI_ADAPTOR_API bool IsWhiteSpace(Character character);
/**
+ * @brief Whether the character is a space.
+ *
+ * @param[in] character The character.
+ *
+ * @return @e true if the character is a space.
+ */
+DALI_ADAPTOR_API bool IsSpace(Character character);
+
+/**
* @brief Whether the character is a new paragraph character.
*
* @param[in] character The character.