Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions
22.locale.money.get.cpp File Reference
#include <ios>
#include <locale>
#include <cstdio>
#include <rw_cmdopt.h>
#include <rw_driver.h>
#include <rw_char.h>
#include <rw_valcmp.h>
Include dependency graph for 22.locale.money.get.cpp:

Go to the source code of this file.

Data Structures

struct  Ctype< charT >
 
struct  PunctData< charT >
 
struct  Punct< charT, Intl >
 
struct  Ios< charT >
 
struct  MoneyGet< charT >
 

Macros

#define LongDouble   long double
 
#define boolalpha   std::ios_base::boolalpha
 
#define dec   std::ios_base::dec
 
#define fixed   std::ios_base::fixed
 
#define hex   std::ios_base::hex
 
#define internal   std::ios_base::internal
 
#define left   std::ios_base::left
 
#define oct   std::ios_base::oct
 
#define right   std::ios_base::right
 
#define scientific   std::ios_base::scientific
 
#define showbase   std::ios_base::showbase
 
#define showpoint   std::ios_base::showpoint
 
#define showpos   std::ios_base::showpos
 
#define skipws   std::ios_base::skipws
 
#define unitbuf   std::ios_base::unitbuf
 
#define uppercase   std::ios_base::uppercase
 
#define bin   std::ios_base::bin
 
#define adjustfield   std::ios_base::adjustfield
 
#define basefield   std::ios_base::basefield
 
#define floatfield   std::ios_base::floatfield
 
#define nolock   std::ios_base::nolock
 
#define nolockbuf   std::ios_base::nolockbuf
 
#define badbit   std::ios_base::badbit
 
#define eofbit   std::ios_base::eofbit
 
#define failbit   std::ios_base::failbit
 
#define goodbit   std::ios_base::goodbit
 
#define T   intl, opt, cname, tname, __LINE__
 
#define TEST   do_test
 
#define LDBL(x)   x ## L
 

Functions

int foo ()
 
std::money_base::pattern set_pattern (const char *format)
 
template<class charT >
void do_test (bool intl, charT which, const char *cname, const char *tname, int lineno, LongDouble val, const char *str, int consumed=-1, int flags=0, int err_expect=-1, int frac_digits=0, const char *fmat=0, const char *cursym=0, const char *grouping="")
 
template<class charT >
void test_get (charT opt, const char *cname, const char *tname, bool intl)
 
template<class charT >
void test_get (charT opt, const char *cname, const char *tname)
 
template<class charT >
void test_long_double (charT, const char *cname)
 
template<class charT >
void test_string (charT, const char *cname)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ adjustfield

#define adjustfield   std::ios_base::adjustfield

Definition at line 461 of file 22.locale.money.get.cpp.

◆ badbit

#define badbit   std::ios_base::badbit

Definition at line 467 of file 22.locale.money.get.cpp.

◆ basefield

#define basefield   std::ios_base::basefield

Definition at line 462 of file 22.locale.money.get.cpp.

◆ bin

#define bin   std::ios_base::bin

Definition at line 460 of file 22.locale.money.get.cpp.

◆ boolalpha

#define boolalpha   std::ios_base::boolalpha

Definition at line 445 of file 22.locale.money.get.cpp.

◆ dec

#define dec   std::ios_base::dec

Definition at line 446 of file 22.locale.money.get.cpp.

◆ eofbit

#define eofbit   std::ios_base::eofbit

Definition at line 468 of file 22.locale.money.get.cpp.

◆ failbit

#define failbit   std::ios_base::failbit

Definition at line 469 of file 22.locale.money.get.cpp.

◆ fixed

#define fixed   std::ios_base::fixed

Definition at line 447 of file 22.locale.money.get.cpp.

◆ floatfield

#define floatfield   std::ios_base::floatfield

Definition at line 463 of file 22.locale.money.get.cpp.

◆ goodbit

#define goodbit   std::ios_base::goodbit

Definition at line 470 of file 22.locale.money.get.cpp.

◆ hex

#define hex   std::ios_base::hex

Definition at line 448 of file 22.locale.money.get.cpp.

◆ internal

#define internal   std::ios_base::internal

Definition at line 449 of file 22.locale.money.get.cpp.

◆ LDBL

#define LDBL (   x)    x ## L

◆ left

#define left   std::ios_base::left

Definition at line 450 of file 22.locale.money.get.cpp.

◆ LongDouble

#define LongDouble   long double

22.locale.money.get.cpp

$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 2001-2006 Rogue Wave Software.

Definition at line 41 of file 22.locale.money.get.cpp.

◆ nolock

#define nolock   std::ios_base::nolock

Definition at line 464 of file 22.locale.money.get.cpp.

◆ nolockbuf

#define nolockbuf   std::ios_base::nolockbuf

Definition at line 465 of file 22.locale.money.get.cpp.

◆ oct

#define oct   std::ios_base::oct

Definition at line 451 of file 22.locale.money.get.cpp.

◆ right

#define right   std::ios_base::right

Definition at line 452 of file 22.locale.money.get.cpp.

◆ scientific

#define scientific   std::ios_base::scientific

Definition at line 453 of file 22.locale.money.get.cpp.

◆ showbase

#define showbase   std::ios_base::showbase

Definition at line 454 of file 22.locale.money.get.cpp.

◆ showpoint

#define showpoint   std::ios_base::showpoint

Definition at line 455 of file 22.locale.money.get.cpp.

◆ showpos

#define showpos   std::ios_base::showpos

Definition at line 456 of file 22.locale.money.get.cpp.

◆ skipws

#define skipws   std::ios_base::skipws

Definition at line 457 of file 22.locale.money.get.cpp.

◆ T

#define T   intl, opt, cname, tname, __LINE__

◆ TEST

#define TEST   do_test

◆ unitbuf

#define unitbuf   std::ios_base::unitbuf

Definition at line 458 of file 22.locale.money.get.cpp.

◆ uppercase

#define uppercase   std::ios_base::uppercase

Definition at line 459 of file 22.locale.money.get.cpp.

Function Documentation

◆ do_test()

template<class charT >
void do_test ( bool  intl,
charT  which,
const char *  cname,
const char *  tname,
int  lineno,
LongDouble  val,
const char *  str,
int  consumed = -1,
int  flags = 0,
int  err_expect = -1,
int  frac_digits = 0,
const char *  fmat = 0,
const char *  cursym = 0,
const char *  grouping = "" 
)

Definition at line 266 of file 22.locale.money.get.cpp.

◆ foo()

int foo ( )

Definition at line 97 of file 22.locale.money.get.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 1057 of file 22.locale.money.get.cpp.

◆ set_pattern()

std::money_base::pattern set_pattern ( const char *  format)

Definition at line 245 of file 22.locale.money.get.cpp.

◆ test_get() [1/2]

template<class charT >
void test_get ( charT  opt,
const char *  cname,
const char *  tname 
)

Definition at line 977 of file 22.locale.money.get.cpp.

◆ test_get() [2/2]

template<class charT >
void test_get ( charT  opt,
const char *  cname,
const char *  tname,
bool  intl 
)

Definition at line 474 of file 22.locale.money.get.cpp.

◆ test_long_double()

template<class charT >
void test_long_double ( charT  ,
const char *  cname 
)

Definition at line 990 of file 22.locale.money.get.cpp.

◆ test_string()

template<class charT >
void test_string ( charT  ,
const char *  cname 
)

Definition at line 1003 of file 22.locale.money.get.cpp.