|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <fstream>#include <iostream>#include <iomanip>#include <locale>#include <numeric>#include <cstring>#include <cwchar>#include <examples.h>
Go to the source code of this file.
Macros | |
| #define | TMP_BUFFER_SIZE 1024 |
Functions | |
| void | do_roundtrip_conversion (const char *locname, const char *buffer) |
| void | do_diff_conversion () |
| int | main () |
Variables | ||
| const char | wd_eucjp [] | |
| const char | wd_sjis [] | |
| const char | wd_utf8 [] | |
| struct { | ||
| const char * name | ||
| const char * buffer | ||
| } | locales [] | |
| std::mbstate_t | init = std::mbstate_t () | |
| #define TMP_BUFFER_SIZE 1024 |
codecvt1.cpp - Example program of codecvt facet.
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 1994-2006 Rogue Wave Software.
Definition at line 41 of file codecvt1.cpp.
| void do_diff_conversion | ( | ) |
Definition at line 137 of file codecvt1.cpp.
| void do_roundtrip_conversion | ( | const char * | locname, |
| const char * | buffer | ||
| ) |
Definition at line 85 of file codecvt1.cpp.
| int main | ( | void | ) |
Definition at line 205 of file codecvt1.cpp.
| const char* buffer |
Definition at line 73 of file codecvt1.cpp.
| std::mbstate_t init = std::mbstate_t () |
Definition at line 80 of file codecvt1.cpp.
| const struct { ... } locales[] |
| const char* name |
Definition at line 72 of file codecvt1.cpp.
| const char wd_eucjp[] |
Definition at line 45 of file codecvt1.cpp.
| const char wd_sjis[] |
Definition at line 53 of file codecvt1.cpp.
| const char wd_utf8[] |
Definition at line 61 of file codecvt1.cpp.