|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <rw/_defs.h>#include <clocale>#include <cstdio>#include <cstdlib>#include <cstring>#include <locale>#include <rw_driver.h>#include <rw_environ.h>#include <rw_locale.h>
Go to the source code of this file.
Functions | |
| template<class charT > | |
| void | run_test (charT *) |
| template<class charT > | |
| void | check_decimal_point (charT, const char *, const std::locale *) |
| template<class charT > | |
| void | check_thousands_sep (charT, const char *, const std::locale *) |
| template<class charT > | |
| void | check_grouping (charT, const char *, const std::string &, const std::locale *) |
| template<class charT > | |
| void | check_falsename (const std::basic_string< charT > &, const char *, const std::locale *) |
| template<class charT > | |
| void | check_truename (const std::basic_string< charT > &, const char *, const std::locale *) |
| template<class charT > | |
| bool | check_numpunct (charT, const char *, const char *, const std::locale *) |
| template<class charT > | |
| void | run_test (charT, const char *tname) |
| char | widen (char, const char *s) |
| wchar_t | widen (wchar_t, const char *s) |
| int | main (int argc, char *argv[]) |
| void check_decimal_point | ( | charT | expect, |
| const char * | tname, | ||
| const std::locale * | loc | ||
| ) |
Definition at line 258 of file 22.locale.numpunct.cpp.
| void check_falsename | ( | const std::basic_string< charT > & | expect, |
| const char * | tname, | ||
| const std::locale * | loc | ||
| ) |
Definition at line 337 of file 22.locale.numpunct.cpp.
| void check_grouping | ( | charT | , |
| const char * | tname, | ||
| const std::string & | expect, | ||
| const std::locale * | loc | ||
| ) |
Definition at line 297 of file 22.locale.numpunct.cpp.
| bool check_numpunct | ( | charT | , |
| const char * | tname, | ||
| const char * | locname, | ||
| const std::locale * | loc | ||
| ) |
Definition at line 177 of file 22.locale.numpunct.cpp.
| void check_thousands_sep | ( | charT | expect, |
| const char * | tname, | ||
| const std::locale * | loc | ||
| ) |
Definition at line 278 of file 22.locale.numpunct.cpp.
| void check_truename | ( | const std::basic_string< charT > & | expect, |
| const char * | tname, | ||
| const std::locale * | loc | ||
| ) |
Definition at line 357 of file 22.locale.numpunct.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 392 of file 22.locale.numpunct.cpp.
test exercising the std::numpunct 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.
Definition at line 78 of file 22.locale.numpunct.cpp.
| char widen | ( | char | , |
| const char * | s | ||
| ) |
Definition at line 147 of file 22.locale.numpunct.cpp.
Definition at line 154 of file 22.locale.numpunct.cpp.