|
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 | EqualityPredicate< T, U > |
| class | EqualityPredicate< T, U >::ConvertibleToBool |
| struct | PredicateTag< T > |
| struct | NonPredicateTag< T > |
| struct | NonPredicateTag< T >::DummyPredicate |
Macros | |
| #define | TEST(seq1, seq2, off) |
| #define | TEST(seq, n, val, off) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| template<class ForwardIterator1 , class ForwardIterator2 , class T , class PredTag > | |
| void | test_search (int line, const char *seq1, const char *seq2, std::size_t off, ForwardIterator1 it1, ForwardIterator2 it2, const T *, PredTag pred_tag) |
| template<class ForwardIterator1 , class ForwardIterator2 , class T , class PredTag > | |
| void | test_search (ForwardIterator1 it1, ForwardIterator2 it2, const T *, PredTag pred_tag) |
| template<class ForwardIterator , class T , class Size , class PredTag > | |
| void | test_search_n (int line, const char *seq, Size cnt, const char val, std::size_t off, ForwardIterator it, const T *, PredTag pred_tag) |
| template<class ForwardIterator , class T , class Size , class PredTag > | |
| void | test_search_n (ForwardIterator it, const T *, const Size *, PredTag pred_tag) |
| template<class ForwardIterator , class T , class PredTag > | |
| void | test_search (ForwardIterator it, const T *, PredTag pred_tag) |
| template<class T , class PredTag > | |
| void | test_search (const T *, PredTag pred_tag) |
| template<class T , class Size , class PredTag > | |
| void | test_search_n (const T *, Size *, PredTag pred_tag) |
| template<class T > | |
| void | test_search (const T *) |
| template<class T > | |
| void | test_search_n (const T *) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_no_search |
| int | rw_opt_no_search_n |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| int | rw_opt_no_predicate |
| #define TEST | ( | seq1, | |
| seq2, | |||
| off | |||
| ) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.search.cpp - test exercising 25.1.9 [lib.alg.search]
$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-2005 Rogue Wave Software.
Definition at line 38 of file 25.search.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 693 of file 25.search.cpp.
Definition at line 635 of file 25.search.cpp.
Definition at line 568 of file 25.search.cpp.
| void test_search | ( | ForwardIterator | it, |
| const T * | , | ||
| PredTag | pred_tag | ||
| ) |
Definition at line 541 of file 25.search.cpp.
| void test_search | ( | ForwardIterator1 | it1, |
| ForwardIterator2 | it2, | ||
| const T * | , | ||
| PredTag | pred_tag | ||
| ) |
Definition at line 291 of file 25.search.cpp.
| void test_search | ( | int | line, |
| const char * | seq1, | ||
| const char * | seq2, | ||
| std::size_t | off, | ||
| ForwardIterator1 | it1, | ||
| ForwardIterator2 | it2, | ||
| const T * | , | ||
| PredTag | pred_tag | ||
| ) |
Definition at line 214 of file 25.search.cpp.
Definition at line 653 of file 25.search.cpp.
Definition at line 601 of file 25.search.cpp.
| void test_search_n | ( | ForwardIterator | it, |
| const T * | , | ||
| const Size * | , | ||
| PredTag | pred_tag | ||
| ) |
Definition at line 452 of file 25.search.cpp.
| void test_search_n | ( | int | line, |
| const char * | seq, | ||
| Size | cnt, | ||
| const char | val, | ||
| std::size_t | off, | ||
| ForwardIterator | it, | ||
| const T * | , | ||
| PredTag | pred_tag | ||
| ) |
Definition at line 381 of file 25.search.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 535 of file 25.search.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 534 of file 25.search.cpp.
| int rw_opt_no_predicate |
Definition at line 537 of file 25.search.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 536 of file 25.search.cpp.
| int rw_opt_no_search |
Definition at line 532 of file 25.search.cpp.
| int rw_opt_no_search_n |
Definition at line 533 of file 25.search.cpp.