codecvt< wchar_t, char, mbstate_t > Class Template Reference
template <> |
class codecvt< wchar_t, char, mbstate_t > : public locale::facet |
Inherits from
- codecvt< wchar_t, char, mbstate_t >
Public Member Functions |
---|
| codecvt(size_t) |
bool | always_noconv() |
int | encoding() |
result | in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&) |
int | length(const mbstate_t &, const char *, const char *, size_t) |
int | max_length() |
result | out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&) |
result | unshift(mbstate_t &, char *, char *, char *&) |
Protected Member Functions |
---|
| ~codecvt() |
_STLP_DECLSPEC bool | do_always_noconv() |
_STLP_DECLSPEC int | do_encoding() |
_STLP_DECLSPEC result | do_in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&) |
_STLP_DECLSPEC int | do_length(const mbstate_t &, const char *, const char *, size_t) |
_STLP_DECLSPEC int | do_max_length() |
_STLP_DECLSPEC result | do_out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&) |
_STLP_DECLSPEC result | do_unshift(mbstate_t &, char *, char *, char *&) |
Constructor & Destructor Documentation
codecvt(size_t)
codecvt | ( | size_t | __refs = 0 | ) | [inline, explicit] |
codecvt(const codecvt< wchar_t, char, mbstate_t > &)
codecvt | ( | const codecvt< wchar_t, char, mbstate_t > & | | ) | [private] |
Parameters
const codecvt< wchar_t, char, mbstate_t > & | |
~codecvt()
_STLP_DECLSPEC | ~codecvt | ( | ) | [protected] |
Member Functions Documentation
always_noconv()
bool | always_noconv | ( | ) | const [inline] |
do_always_noconv()
_STLP_DECLSPEC bool | do_always_noconv | ( | ) | const [protected, virtual] |
do_encoding()
_STLP_DECLSPEC int | do_encoding | ( | ) | const [protected, virtual] |
do_in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)
_STLP_DECLSPEC result | do_in | ( | mbstate_t & | __state, |
| const char * | __from, |
| const char * | __from_end, |
| const char *& | __from_next, |
| wchar_t * | __to, |
| wchar_t * | __to_limit, |
| wchar_t *& | __to_next |
| ) | const [protected, virtual] |
Parameters
mbstate_t & __state | |
const char * __from | |
const char * __from_end | |
const char *& __from_next | |
wchar_t * __to | |
wchar_t * __to_limit | |
wchar_t *& __to_next | |
do_length(const mbstate_t &, const char *, const char *, size_t)
_STLP_DECLSPEC int | do_length | ( | const mbstate_t & | __state, |
| const char * | __from, |
| const char * | __end, |
| size_t | __max |
| ) | const [protected, virtual] |
Parameters
const mbstate_t & __state | |
const char * __from | |
const char * __end | |
size_t __max | |
do_max_length()
_STLP_DECLSPEC int | do_max_length | ( | ) | const [protected, virtual] |
do_out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)
_STLP_DECLSPEC result | do_out | ( | mbstate_t & | __state, |
| const wchar_t * | __from, |
| const wchar_t * | __from_end, |
| const wchar_t *& | __from_next, |
| char * | __to, |
| char * | __to_limit, |
| char *& | __to_next |
| ) | const [protected, virtual] |
Parameters
mbstate_t & __state | |
const wchar_t * __from | |
const wchar_t * __from_end | |
const wchar_t *& __from_next | |
char * __to | |
char * __to_limit | |
char *& __to_next | |
do_unshift(mbstate_t &, char *, char *, char *&)
_STLP_DECLSPEC result | do_unshift | ( | mbstate_t & | __state, |
| char * | __to, |
| char * | __to_limit, |
| char *& | __to_next |
| ) | const [protected, virtual] |
Parameters
mbstate_t & __state | |
char * __to | |
char * __to_limit | |
char *& __to_next | |
encoding()
int | encoding | ( | ) | const [inline] |
in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)
result | in | ( | mbstate_t & | __state, |
| const char * | __from, |
| const char * | __from_end, |
| const char *& | __from_next, |
| wchar_t * | __to, |
| wchar_t * | __to_limit, |
| wchar_t *& | __to_next |
| ) | const [inline] |
Parameters
mbstate_t & __state | |
const char * __from | |
const char * __from_end | |
const char *& __from_next | |
wchar_t * __to | |
wchar_t * __to_limit | |
wchar_t *& __to_next | |
length(const mbstate_t &, const char *, const char *, size_t)
int | length | ( | const mbstate_t & | __state, |
| const char * | __from, |
| const char * | __end, |
| size_t | __max |
| ) | const [inline] |
Parameters
const mbstate_t & __state | |
const char * __from | |
const char * __end | |
size_t __max | |
max_length()
int | max_length | ( | ) | const [inline] |
operator=(const codecvt< wchar_t, char, mbstate_t > &)
codecvt< wchar_t, char, mbstate_t > & | operator= | ( | const codecvt< wchar_t, char, mbstate_t > & | | ) | [private] |
Parameters
const codecvt< wchar_t, char, mbstate_t > & | |
out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)
result | out | ( | mbstate_t & | __state, |
| const wchar_t * | __from, |
| const wchar_t * | __from_end, |
| const wchar_t *& | __from_next, |
| char * | __to, |
| char * | __to_limit, |
| char *& | __to_next |
| ) | const [inline] |
Parameters
mbstate_t & __state | |
const wchar_t * __from | |
const wchar_t * __from_end | |
const wchar_t *& __from_next | |
char * __to | |
char * __to_limit | |
char *& __to_next | |
unshift(mbstate_t &, char *, char *, char *&)
result | unshift | ( | mbstate_t & | __state, |
| char * | __to, |
| char * | __to_limit, |
| char *& | __to_next |
| ) | const [inline] |
Parameters
mbstate_t & __state | |
char * __to | |
char * __to_limit | |
char *& __to_next | |
Member Type Definitions Documentation
Typedef intern_type
typedef wchar_t | intern_type |
Typedef state_type
typedef mbstate_t | state_type |
Member Data Documentation
_STLP_STATIC_MEMBER_DECLSPEC locale::id id
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.