PrevUpHomeNext

Struct hangul_composer

boost::unicode::hangul_composer

Synopsis

// In header: <boost/unicode/hangul.hpp>


struct hangul_composer {
  // types
  typedef char32         input_type; 
  typedef char32         output_type;
  typedef mpl::int_< 1 > max_output; 

  // public member functions
  template<typename In, typename Out> Out ltr(In &, In, Out);
  template<typename In, typename Out> Out rtl(In, In &, Out);

  // private static functions
  static bool is_l(char32);
  static bool is_v(char32);
  static char32 combine_l_v(char32, char32);
  static bool is_lv(char32);
  static bool is_t(char32);
  static char32 combine_lv_t(char32, char32);
};

Description

Converter that transforms <L, V>, <L, V, T> and <LV, T> Hangul code points sequences into the LV and LVT Hangul syllables, since those compositions are not part of the UCD. Other code points are left unchanged.

hangul_composer public member functions

  1. template<typename In, typename Out> Out ltr(In & begin, In end, Out out);
  2. template<typename In, typename Out> Out rtl(In begin, In & end, Out out);

hangul_composer private static functions

  1. static bool is_l(char32 ch);
  2. static bool is_v(char32 ch);
  3. static char32 combine_l_v(char32 l, char32 v);
  4. static bool is_lv(char32 ch);
  5. static bool is_t(char32 ch);
  6. static char32 combine_lv_t(char32 lv, char32 t);

PrevUpHomeNext