DGtal 1.4.0
|
#include <iostream>
#include <list>
#include <vector>
#include <forward_list>
#include "DGtal/base/Common.h"
#include "DGtal/base/IteratorCirculatorTraits.h"
#include "DGtal/base/Circulator.h"
#include "DGtal/base/ReverseIterator.h"
#include "DGtal/base/BasicFunctors.h"
#include "DGtal/base/ConstIteratorAdapter.h"
#include "DGtal/base/IteratorAdapter.h"
Go to the source code of this file.
Functions | |
template<typename IC , typename T > | |
bool | compareType (IC, T) |
template<typename IC , typename T > | |
bool | compareCategory (IC, T) |
bool | testIteratorCirculatorTraits () |
bool | testIteratorCirculatorTraitsAndAdapters () |
int | main (int argc, char **argv) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class IteratorCirculatorTraits.
This file is part of the DGtal library.
Definition in file testIteratorCirculatorTraits.cpp.
|
inline |
Comparison between the category of (circular) iterator and T
IC | iterator or circulator |
T | type to compare with (Forward-, Bidirectional- and RandomAccessCategory). |
Definition at line 72 of file testIteratorCirculatorTraits.cpp.
Referenced by testIteratorCirculatorTraits(), and testIteratorCirculatorTraitsAndAdapters().
|
inline |
Comparison between the type of (circular) iterator and T
IC | iterator or circulator |
T | type to compare with (IteratorType or CircularType). |
Definition at line 59 of file testIteratorCirculatorTraits.cpp.
Referenced by testIteratorCirculatorTraits(), and testIteratorCirculatorTraitsAndAdapters().
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 301 of file testIteratorCirculatorTraits.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::info(), testIteratorCirculatorTraits(), testIteratorCirculatorTraitsAndAdapters(), and DGtal::trace.
bool testIteratorCirculatorTraits | ( | ) |
Test of the IteratorCirculatorTraits class (Type and Category).
Definition at line 82 of file testIteratorCirculatorTraits.cpp.
References DGtal::Trace::beginBlock(), compareCategory(), compareType(), DGtal::Trace::endBlock(), DGtal::Trace::info(), and DGtal::trace.
Referenced by main().
bool testIteratorCirculatorTraitsAndAdapters | ( | ) |
Test of the IteratorCirculatorTraits class on adapters (Type and Category).
Definition at line 182 of file testIteratorCirculatorTraits.cpp.
References DGtal::Trace::beginBlock(), compareCategory(), compareType(), DGtal::Trace::endBlock(), DGtal::Trace::info(), and DGtal::trace.
Referenced by main().