Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Namespaces | Enumerations | Functions
unicode.hh File Reference
#include <rcore/utilities.hh>

Go to the source code of this file.

Namespaces

namespace  Rapicorn
 

The Rapicorn namespace encompasses core utilities and toolkit functionality.


namespace  Rapicorn::Unicode
 

The Unicode namespace provides support for the Unicode standard and UTF-8 encoding.


Enumerations

enum  Type {
  CONTROL, FORMAT, UNASSIGNED, PRIVATE_USE,
  SURROGATE, LOWERCASE_LETTER, MODIFIER_LETTER, OTHER_LETTER,
  TITLECASE_LETTER, UPPERCASE_LETTER, COMBINING_MARK, ENCLOSING_MARK,
  NON_SPACING_MARK, DECIMAL_NUMBER, LETTER_NUMBER, OTHER_NUMBER,
  CONNECT_PUNCTUATION, DASH_PUNCTUATION, CLOSE_PUNCTUATION, FINAL_PUNCTUATION,
  INITIAL_PUNCTUATION, OTHER_PUNCTUATION, OPEN_PUNCTUATION, CURRENCY_SYMBOL,
  MODIFIER_SYMBOL, MATH_SYMBOL, OTHER_SYMBOL, LINE_SEPARATOR,
  PARAGRAPH_SEPARATOR, SPACE_SEPARATOR
}
enum  BreakType {
  BREAK_MANDATORY, BREAK_CARRIAGE_RETURN, BREAK_LINE_FEED, BREAK_COMBINING_MARK,
  BREAK_SURROGATE, BREAK_ZERO_WIDTH_SPACE, BREAK_INSEPARABLE, BREAK_NON_BREAKING_GLUE,
  BREAK_CONTINGENT, BREAK_SPACE, BREAK_AFTER, BREAK_BEFORE,
  BREAK_BEFORE_AND_AFTER, BREAK_HYPHEN, BREAK_NON_STARTER, BREAK_OPEN_PUNCTUATION,
  BREAK_CLOSE_PUNCTUATION, BREAK_QUOTATION, BREAK_EXCLAMATION, BREAK_IDEOGRAPHIC,
  BREAK_NUMERIC, BREAK_INFIX_SEPARATOR, BREAK_SYMBOL, BREAK_ALPHABETIC,
  BREAK_PREFIX, BREAK_POSTFIX, BREAK_COMPLEX_CONTEXT, BREAK_AMBIGUOUS,
  BREAK_UNKNOWN, BREAK_NEXT_LINE, BREAK_WORD_JOINER, BREAK_HANGUL_L_JAMO,
  BREAK_HANGUL_V_JAMO, BREAK_HANGUL_T_JAMO, BREAK_HANGUL_LV_SYLLABLE, BREAK_HANGUL_LVT_SYLLABLE
}

Functions

bool Rapicorn::Unicode::isvalid (unichar uc)
bool Rapicorn::Unicode::isalnum (unichar uc)
bool Rapicorn::Unicode::isalpha (unichar uc)
bool Rapicorn::Unicode::iscntrl (unichar uc)
bool Rapicorn::Unicode::isdigit (unichar uc)
int Rapicorn::Unicode::digit_value (unichar uc)
bool Rapicorn::Unicode::isgraph (unichar uc)
bool Rapicorn::Unicode::islower (unichar uc)
unichar Rapicorn::Unicode::tolower (unichar uc)
bool Rapicorn::Unicode::isprint (unichar uc)
bool Rapicorn::Unicode::ispunct (unichar uc)
bool Rapicorn::Unicode::isspace (unichar uc)
bool Rapicorn::Unicode::isupper (unichar uc)
unichar Rapicorn::Unicode::toupper (unichar uc)
bool Rapicorn::Unicode::isxdigit (unichar uc)
int Rapicorn::Unicode::xdigit_value (unichar uc)
bool Rapicorn::Unicode::istitle (unichar uc)
unichar Rapicorn::Unicode::totitle (unichar uc)
bool Rapicorn::Unicode::isdefined (unichar uc)
bool Rapicorn::Unicode::iswide (unichar uc)
bool Rapicorn::Unicode::iswide_cjk (unichar uc)
Type Rapicorn::Unicode::get_type (unichar uc)
BreakType Rapicorn::Unicode::get_break (unichar uc)
const charRapicorn::utf8_next (const char *c)
charRapicorn::utf8_next (char *c)
const charRapicorn::utf8_prev (const char *c)
charRapicorn::utf8_prev (char *c)
const charRapicorn::utf8_find_next (const char *c, const char *bound=NULL)
charRapicorn::utf8_find_next (char *current, const char *bound=NULL)
const charRapicorn::utf8_find_prev (const char *start, const char *current)
charRapicorn::utf8_find_prev (const char *start, char *currrent)
const charRapicorn::utf8_align (const char *start, const char *current)
charRapicorn::utf8_align (const char *start, char *current)
bool Rapicorn::utf8_aligned (const char *c)
unichar Rapicorn::utf8_to_unichar (const char *str)
int Rapicorn::utf8_from_unichar (unichar uc, char str[8])
bool Rapicorn::utf8_validate (const String &strng, int *bound)

Detailed Description

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines