struct Poco::UTF16CharTraits

#include <UTFString.h>

struct UTF16CharTraits
{
    // typedefs

    typedef std::fpos<mbstate_t> u16streampos;
    typedef UInt16 char_type;
    typedef int int_type;
    typedef std::streamoff off_type;
    typedef u16streampos pos_type;
    typedef mbstate_t state_type;

    // methods

    static
    void
    assign(
        char_type& c1,
        const char_type& c2
        );

    static
    bool
    eq(
        char_type c1,
        char_type c2
        );

    static
    bool
    lt(
        char_type c1,
        char_type c2
        );

    static
    int
    compare(
        const char_type* s1,
        const char_type* s2,
        size_t n
        );

    static
    size_t
    length(const char_type* s);

    static
    const char_type*
    find(
        const char_type* s,
        size_t n,
        const char_type& a
        );

    static
    char_type*
    move(
        char_type* s1,
        const char_type* s2,
        size_t n
        );

    static
    char_type*
    copy(
        char_type* s1,
        const char_type* s2,
        size_t n
        );

    static
    char_type*
    assign(
        char_type* s,
        size_t n,
        char_type a
        );

    static
    int_type
    not_eof(int_type c);

    static
    char_type
    to_char_type(int_type c);

    static
    int_type
    to_int_type(char_type c);

    static
    bool
    eq_int_type(
        int_type c1,
        int_type c2
        );

    static
    int_type
    eof();
};