|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <cstring>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | Less< T > |
Macros | |
| #define | TEST(src, dst, res) test_permutations (__LINE__, src, dst, res, it, (T*)0, ppred, prev) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| template<class T , class BidirectIterator , class Predicate > | |
| void | test_permutations (int line, const char *src, const char *dst, bool res, const BidirectIterator &it, const T *, const Predicate *ppred, bool prev) |
| template<class T , class BidirectIterator , class Predicate > | |
| void | test_permutations (const BidirectIterator &it, const T *, const Predicate *ppred, bool prev) |
| template<class T , class Predicate > | |
| void | test_permutations (const T *, const Predicate *ppred, bool prev) |
| template<class T , class Predicate > | |
| void | test_permutations (const T *, const Predicate *ppred) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_no_prev_permutation |
| int | rw_opt_no_next_permutation |
| int | rw_opt_no_predicate |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| #define TEST | ( | src, | |
| dst, | |||
| res | |||
| ) | test_permutations (__LINE__, src, dst, res, it, (T*)0, ppred, prev) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.permutation.cpp - test exercising lib.alg.permutation.generators
$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 38 of file 25.permutation.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 322 of file 25.permutation.cpp.
| void test_permutations | ( | const BidirectIterator & | it, |
| const T * | , | ||
| const Predicate * | ppred, | ||
| bool | prev | ||
| ) |
Definition at line 180 of file 25.permutation.cpp.
Definition at line 286 of file 25.permutation.cpp.
Definition at line 254 of file 25.permutation.cpp.
| void test_permutations | ( | int | line, |
| const char * | src, | ||
| const char * | dst, | ||
| bool | res, | ||
| const BidirectIterator & | it, | ||
| const T * | , | ||
| const Predicate * | ppred, | ||
| bool | prev | ||
| ) |
Definition at line 101 of file 25.permutation.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 248 of file 25.permutation.cpp.
| int rw_opt_no_next_permutation |
Definition at line 246 of file 25.permutation.cpp.
| int rw_opt_no_predicate |
Definition at line 247 of file 25.permutation.cpp.
| int rw_opt_no_prev_permutation |
Definition at line 245 of file 25.permutation.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 249 of file 25.permutation.cpp.