|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <exception>#include <ostream>#include <climits>#include <cstddef>#include <cstring>#include <rw_any.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | test_streambuf< charT > |
| struct | test_num_put< charT > |
| struct | DtorChek< charT > |
Enumerations | |
| enum | streambuf_failure { Setbuf = 1 , Seekoff , Seekpos , Shwomanyc , Xsgetn , Underflow , Uflow , Overflow , Pbackfail , Xsputn , Sync } |
| enum | num_put_overload { Bool = Sync + 1 , Long , ULong , Dbl , LDbl , PVoid , LLong , ULLong } |
Functions | |
| num_put_overload | select_overload (bool) |
| template<class T > | |
| num_put_overload | select_overload (T) |
| num_put_overload | select_overload (short) |
| num_put_overload | select_overload (unsigned short) |
| num_put_overload | select_overload (int) |
| num_put_overload | select_overload (unsigned int) |
| num_put_overload | select_overload (long) |
| num_put_overload | select_overload (unsigned long) |
| num_put_overload | select_overload (float) |
| num_put_overload | select_overload (double) |
| num_put_overload | select_overload (long double) |
| num_put_overload | select_overload (const void *) |
| template<class charT > | |
| void | test_sentry (charT) |
| template<class charT , class T > | |
| void | test_formatted (charT, int line1, int line2, T val, const char *str, int fmtflags, int width, int fill, int rdstate, int exceptions, int failure=0, int fail_when=1) |
| template<class charT > | |
| bool | is_char (charT) |
| bool | is_char (char) |
| bool | is_char (signed char) |
| bool | is_char (unsigned char) |
| bool | is_char (const char *) |
| bool | is_char (const signed char *) |
| bool | is_char (const unsigned char *) |
| template<class charT > | |
| bool | is_wchar_t (charT) |
| bool | is_wchar_t (wchar_t) |
| bool | is_wchar_t (const wchar_t *) |
| template<class charT , class T > | |
| void | test_formatted (charT, int line, T val, int flags, int width, const char *str, int fill=-1) |
| template<class charT > | |
| void | test_formatted (charT) |
| template<class charT > | |
| void | test_flush (charT) |
| template<class charT > | |
| void | run_test (charT) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_sentry |
| int | rw_opt_formatted |
| int | rw_opt_unformatted |
| int | rw_opt_flush |
| int | rw_opt_exceptions |
| bool | uncaught = false |
| const int | Throw = 1 << 16 |
| #define Adjustfield std::ios_base::adjustfield |
Definition at line 666 of file 27.ostream.cpp.
| #define Bad std::ios_base::badbit |
Definition at line 672 of file 27.ostream.cpp.
| #define Basefield std::ios_base::basefield |
Definition at line 667 of file 27.ostream.cpp.
| #define Bin std::ios_base::bin |
Definition at line 665 of file 27.ostream.cpp.
| #define Boolalpha std::ios_base::boolalpha |
Definition at line 650 of file 27.ostream.cpp.
| #define Dec std::ios_base::dec |
Definition at line 651 of file 27.ostream.cpp.
| #define Eof std::ios_base::eofbit |
Definition at line 673 of file 27.ostream.cpp.
| #define Fail std::ios_base::failbit |
Definition at line 674 of file 27.ostream.cpp.
| #define Fixed std::ios_base::fixed |
Definition at line 652 of file 27.ostream.cpp.
| #define Floatfield std::ios_base::floatfield |
Definition at line 668 of file 27.ostream.cpp.
| #define Good std::ios_base::goodbit |
Definition at line 675 of file 27.ostream.cpp.
| #define Hex std::ios_base::hex |
Definition at line 653 of file 27.ostream.cpp.
| #define Internal std::ios_base::internal |
Definition at line 654 of file 27.ostream.cpp.
| #define Left std::ios_base::left |
Definition at line 655 of file 27.ostream.cpp.
| #define Nolock std::ios_base::nolock |
Definition at line 669 of file 27.ostream.cpp.
| #define Nolockbuf std::ios_base::nolockbuf |
Definition at line 670 of file 27.ostream.cpp.
| #define Oct std::ios_base::oct |
Definition at line 656 of file 27.ostream.cpp.
| #define Right std::ios_base::right |
Definition at line 657 of file 27.ostream.cpp.
| #define Scientific std::ios_base::scientific |
Definition at line 658 of file 27.ostream.cpp.
| #define Showbase std::ios_base::showbase |
Definition at line 659 of file 27.ostream.cpp.
| #define Showpoint std::ios_base::showpoint |
Definition at line 660 of file 27.ostream.cpp.
| #define Showpos std::ios_base::showpos |
Definition at line 661 of file 27.ostream.cpp.
| #define Skipws std::ios_base::skipws |
Definition at line 662 of file 27.ostream.cpp.
| #define TEST | ( | it, | |
| val | |||
| ) | test (it, select_overload (val)) |
Definition at line 257 of file 27.ostream.cpp.
| #define TEST test_formatted |
Definition at line 257 of file 27.ostream.cpp.
| #define TEST test_formatted |
Definition at line 257 of file 27.ostream.cpp.
| #define Unitbuf std::ios_base::unitbuf |
Definition at line 663 of file 27.ostream.cpp.
| #define Uppercase std::ios_base::uppercase |
Definition at line 664 of file 27.ostream.cpp.
| enum num_put_overload |
| Enumerator | |
|---|---|
| Bool | |
| Long | |
| ULong | |
| Dbl | |
| LDbl | |
| PVoid | |
| LLong | |
| ULLong | |
Definition at line 200 of file 27.ostream.cpp.
| enum streambuf_failure |
| Enumerator | |
|---|---|
| Setbuf | |
| Seekoff | |
| Seekpos | |
| Shwomanyc | |
| Xsgetn | |
| Underflow | |
| Uflow | |
| Overflow | |
| Pbackfail | |
| Xsputn | |
| Sync | |
Definition at line 49 of file 27.ostream.cpp.
Definition at line 856 of file 27.ostream.cpp.
Definition at line 860 of file 27.ostream.cpp.
Definition at line 861 of file 27.ostream.cpp.
Definition at line 862 of file 27.ostream.cpp.
Definition at line 857 of file 27.ostream.cpp.
Definition at line 858 of file 27.ostream.cpp.
Definition at line 865 of file 27.ostream.cpp.
Definition at line 870 of file 27.ostream.cpp.
Definition at line 869 of file 27.ostream.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 1489 of file 27.ostream.cpp.
Definition at line 1442 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | bool | ) |
Definition at line 207 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | const void * | ) |
Definition at line 237 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | double | ) |
Definition at line 229 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | float | ) |
Definition at line 228 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | int | ) |
Definition at line 216 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | long double | ) |
Definition at line 233 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | long | ) |
Definition at line 218 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | short | ) |
Definition at line 214 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | T | ) |
Definition at line 212 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | unsigned int | ) |
Definition at line 217 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | unsigned long | ) |
Definition at line 219 of file 27.ostream.cpp.
| num_put_overload select_overload | ( | unsigned short | ) |
Definition at line 215 of file 27.ostream.cpp.
Definition at line 1368 of file 27.ostream.cpp.
Definition at line 957 of file 27.ostream.cpp.
| void test_formatted | ( | charT | , |
| int | line, | ||
| T | val, | ||
| int | flags, | ||
| int | width, | ||
| const char * | str, | ||
| int | fill = -1 |
||
| ) |
Definition at line 876 of file 27.ostream.cpp.
| void test_formatted | ( | charT | , |
| int | line1, | ||
| int | line2, | ||
| T | val, | ||
| const char * | str, | ||
| int | fmtflags, | ||
| int | width, | ||
| int | fill, | ||
| int | rdstate, | ||
| int | exceptions, | ||
| int | failure = 0, |
||
| int | fail_when = 1 |
||
| ) |
Definition at line 682 of file 27.ostream.cpp.
Definition at line 369 of file 27.ostream.cpp.
| int rw_opt_exceptions |
Definition at line 45 of file 27.ostream.cpp.
| int rw_opt_flush |
Definition at line 44 of file 27.ostream.cpp.
| int rw_opt_formatted |
Definition at line 42 of file 27.ostream.cpp.
| int rw_opt_sentry |
27.ostream.cpp - test exercising class template basic_ostream
$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 2002-2006 Rogue Wave Software.
Definition at line 41 of file 27.ostream.cpp.
| int rw_opt_unformatted |
Definition at line 43 of file 27.ostream.cpp.
| const int Throw = 1 << 16 |
Definition at line 678 of file 27.ostream.cpp.
Definition at line 344 of file 27.ostream.cpp.