|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <sstream>#include <iterator>#include <cstddef>#include <rw_char.h>#include <rw_printf.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | ParamNames |
| struct | TempParams< T, CharT, Traits, Dist > |
Macros | |
| #define | TEST(input, expect, is_eos, state) test_ops (params, __LINE__, input, T (expect), is_eos, state) |
| #define | TEST(T, fmt) |
Enumerations | |
| enum | TestId { TestCtors , TestOps } |
Functions | |
| void | fmtnam (const ParamNames &pn) |
| template<class T , class CharT , class Traits , class Dist > | |
| void | test_ctors (const TempParams< T, CharT, Traits, Dist > ¶ms) |
| template<class T , class CharT , class Traits , class Dist > | |
| void | test_ops (const TempParams< T, CharT, Traits, Dist > ¶ms, int line, const char *input, T expect, bool is_eos, int state) |
| template<class T , class CharT , class Traits , class Dist > | |
| void | test_ops (const TempParams< T, CharT, Traits, Dist > ¶ms) |
| template<class T , class CharT , class Traits , class Dist > | |
| void | do_test (TestId id, const char *tname, const char *tfmt, const char *cname, const char *trname, const char *dname) |
| template<class CharT , class Traits , class Dist > | |
| void | do_test (TestId id, const char *cname, const char *trname, const char *dname) |
| template<class CharT , class Traits > | |
| void | do_test (TestId id, const char *cname, const char *trname) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | opt_char |
| int | opt_wchar_t |
| int | opt_UserTraits |
| int | opt_short |
| int | opt_int |
| int | opt_long |
| int | opt_double |
| #define TEST | ( | input, | |
| expect, | |||
| is_eos, | |||
| state | |||
| ) | test_ops (params, __LINE__, input, T (expect), is_eos, state) |
| #define TEST | ( | T, | |
| fmt | |||
| ) |
| enum TestId |
| Enumerator | |
|---|---|
| TestCtors | |
| TestOps | |
Definition at line 299 of file 24.istream.iterator.cpp.
| void do_test | ( | TestId | id, |
| const char * | cname, | ||
| const char * | trname | ||
| ) |
Definition at line 359 of file 24.istream.iterator.cpp.
| void do_test | ( | TestId | id, |
| const char * | cname, | ||
| const char * | trname, | ||
| const char * | dname | ||
| ) |
Definition at line 334 of file 24.istream.iterator.cpp.
| void do_test | ( | TestId | id, |
| const char * | tname, | ||
| const char * | tfmt, | ||
| const char * | cname, | ||
| const char * | trname, | ||
| const char * | dname | ||
| ) |
Definition at line 303 of file 24.istream.iterator.cpp.
| void fmtnam | ( | const ParamNames & | pn | ) |
Definition at line 49 of file 24.istream.iterator.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 431 of file 24.istream.iterator.cpp.
| void test_ctors | ( | const TempParams< T, CharT, Traits, Dist > & | params | ) |
Definition at line 69 of file 24.istream.iterator.cpp.
| void test_ops | ( | const TempParams< T, CharT, Traits, Dist > & | params | ) |
Definition at line 192 of file 24.istream.iterator.cpp.
| void test_ops | ( | const TempParams< T, CharT, Traits, Dist > & | params, |
| int | line, | ||
| const char * | input, | ||
| T | expect, | ||
| bool | is_eos, | ||
| int | state | ||
| ) |
Definition at line 140 of file 24.istream.iterator.cpp.
| int opt_char |
Definition at line 323 of file 24.istream.iterator.cpp.
| int opt_double |
Definition at line 329 of file 24.istream.iterator.cpp.
| int opt_int |
Definition at line 327 of file 24.istream.iterator.cpp.
| int opt_long |
Definition at line 328 of file 24.istream.iterator.cpp.
| int opt_short |
Definition at line 326 of file 24.istream.iterator.cpp.
| int opt_UserTraits |
Definition at line 325 of file 24.istream.iterator.cpp.
| int opt_wchar_t |
Definition at line 324 of file 24.istream.iterator.cpp.