utf_decoder< Traits, opt_swap > Struct Template Reference

List of all members.

Static Public Member Functions

static Traits::value_type decode_utf8_block (const uint8_t *data, size_t size, typename Traits::value_type result)
static Traits::value_type decode_utf16_block (const uint16_t *data, size_t size, typename Traits::value_type result)
static Traits::value_type decode_utf32_block (const uint32_t *data, size_t size, typename Traits::value_type result)
static Traits::value_type decode_latin1_block (const uint8_t *data, size_t size, typename Traits::value_type result)
static Traits::value_type decode_wchar_block_impl (const uint16_t *data, size_t size, typename Traits::value_type result)
static Traits::value_type decode_wchar_block_impl (const uint32_t *data, size_t size, typename Traits::value_type result)
static Traits::value_type decode_wchar_block (const wchar_t *data, size_t size, typename Traits::value_type result)


Detailed Description

template<typename Traits, typename opt_swap = opt_false>
struct utf_decoder< Traits, opt_swap >

Definition at line 777 of file pugixml.cpp.


Member Function Documentation

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_latin1_block ( const uint8_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 886 of file pugixml.cpp.

Referenced by convert_buffer_latin1().

Here is the caller graph for this function:

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_utf16_block ( const uint16_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 831 of file pugixml.cpp.

References end, endian_swap(), and sapt::next().

Referenced by convert_buffer_utf16(), and utf_decoder< Traits, opt_swap >::decode_wchar_block_impl().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_utf32_block ( const uint32_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 865 of file pugixml.cpp.

References end, and endian_swap().

Referenced by convert_buffer_utf32(), and utf_decoder< Traits, opt_swap >::decode_wchar_block_impl().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_utf8_block ( const uint8_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 778 of file pugixml.cpp.

Referenced by as_wide_impl(), and convert_buffer().

Here is the caller graph for this function:

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_wchar_block ( const wchar_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 902 of file pugixml.cpp.

References utf_decoder< Traits, opt_swap >::decode_wchar_block_impl().

Referenced by as_utf8_begin(), and as_utf8_end().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_wchar_block_impl ( const uint32_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 898 of file pugixml.cpp.

References utf_decoder< Traits, opt_swap >::decode_utf32_block().

Here is the call graph for this function:

template<typename Traits , typename opt_swap = opt_false>
static Traits::value_type utf_decoder< Traits, opt_swap >::decode_wchar_block_impl ( const uint16_t *  data,
size_t  size,
typename Traits::value_type  result 
) [inline, static]

Definition at line 894 of file pugixml.cpp.

References utf_decoder< Traits, opt_swap >::decode_utf16_block().

Referenced by utf_decoder< Traits, opt_swap >::decode_wchar_block().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following file:

Generated on Thu Jul 6 00:32:02 2017 for Moses by  doxygen 1.5.9