DGtal 1.4.0
|
#include <cstdio>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <vector>
#include <bitset>
#include "DGtal/base/Common.h"
#include "DGtal/base/Labels.h"
Go to the source code of this file.
Functions | |
template<typename Container1 , typename Container2 > | |
bool | isEqual (Container1 &c1, Container2 &c2) |
template<typename VContainer1 , typename LContainer2 > | |
void | insert (VContainer1 &c1, LContainer2 &c2, unsigned int idx) |
template<typename VContainer1 , typename LContainer2 > | |
bool | checkInsert (VContainer1 &v, LContainer2 &l, unsigned int nb) |
template<typename VContainer1 , typename LContainer2 > | |
void | erase (VContainer1 &c1, LContainer2 &c2, unsigned int idx) |
template<typename VContainer1 , typename LContainer2 > | |
bool | checkErase (VContainer1 &v, LContainer2 &l, unsigned int nb) |
int | main () |
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/.
This file is part of the DGtal library
Definition in file testLabels.cpp.
bool checkErase | ( | VContainer1 & | v, |
LContainer2 & | l, | ||
unsigned int | nb ) |
bool checkInsert | ( | VContainer1 & | v, |
LContainer2 & | l, | ||
unsigned int | nb ) |
void erase | ( | VContainer1 & | c1, |
LContainer2 & | c2, | ||
unsigned int | idx ) |
Definition at line 80 of file testLabels.cpp.
Referenced by checkErase(), and main().
void insert | ( | VContainer1 & | c1, |
LContainer2 & | c2, | ||
unsigned int | idx ) |
Definition at line 60 of file testLabels.cpp.
Referenced by checkInsert(), and main().
bool isEqual | ( | Container1 & | c1, |
Container2 & | c2 ) |
Definition at line 45 of file testLabels.cpp.
Referenced by checkErase(), checkInsert(), and main().
int main | ( | void | ) |
Definition at line 100 of file testLabels.cpp.
References DGtal::Trace::beginBlock(), checkErase(), checkInsert(), cnt, DGtal::Trace::endBlock(), erase(), insert(), isEqual(), and DGtal::trace.