unicode.hpp
Go to the documentation of this file.
7 /*************************************************************************************************/
12 /*************************************************************************************************/
25 /*************************************************************************************************/
29 /*************************************************************************************************/
33 /*************************************************************************************************/
39 /*************************************************************************************************/
45 /*************************************************************************************************/
51 /*************************************************************************************************/
57 /*************************************************************************************************/
63 /*************************************************************************************************/
69 /*************************************************************************************************/
73 /*************************************************************************************************/
97 /*************************************************************************************************/
113 /*************************************************************************************************/
130 /*************************************************************************************************/
140 /*************************************************************************************************/
153 /*************************************************************************************************/
173 /*************************************************************************************************/
202 /*************************************************************************************************/
242 /*************************************************************************************************/
281 /*************************************************************************************************/
312 /*************************************************************************************************/
326 /*************************************************************************************************/
330 /*************************************************************************************************/
334 /*************************************************************************************************/
362 /*************************************************************************************************/
377 /*************************************************************************************************/
394 /*************************************************************************************************/
418 /*************************************************************************************************/
434 adobe::for_each(first, last, boost::bind(&value_to_utf8<value_type, O>, _1, boost::ref(output)));
439 /*************************************************************************************************/
454 /*************************************************************************************************/
472 *output = static_cast<boost::uint16_t>((code - 0x10000) / 0x400 + implementation::utf16_high_surrogate_front_k);
476 *output = static_cast<boost::uint16_t>((code - 0x10000) % 0x400 + implementation::utf16_low_surrogate_front_k);
482 /*************************************************************************************************/
505 /*************************************************************************************************/
519 /*************************************************************************************************/
535 /*************************************************************************************************/
564 /*************************************************************************************************/
579 /*************************************************************************************************/
583 /*************************************************************************************************/
587 /*************************************************************************************************/
boost::enable_if< is_utf32_type< T >, O >::type value_to_utf16(T code, O output) Definition: unicode.hpp:464 boost::enable_if< is_utf16_iterator_type< I >, O >::type to_utf8(I first, I last, O output) Definition: unicode.hpp:404 OutputIterator copy(const InputRange &range, OutputIterator result) copy implementation Definition: copy.hpp:43 void for_each(InputIterator first, InputIterator last, UnaryFunction f) for_each implementation Definition: for_each.hpp:41 boost::enable_if< is_utf8_iterator_type< I >, O >::type to_utf16(I first, I last, O output) Definition: unicode.hpp:491 Definition: functional.hpp:26 boost::enable_if< is_utf32_type< T >, O >::type value_to_utf8(T code, O output) Definition: unicode.hpp:344 |