DGtal 0.3.0
Data Structures | Namespaces | Defines | Typedefs | Variables

BasicBoolFunctions.h File Reference

#include <iostream>
#include <boost/function.hpp>
#include "DGtal/base/Common.h"
#include "DGtal/base/BasicBoolFunctions.ih"
Include dependency graph for BasicBoolFunctions.h:

Go to the source code of this file.

Data Structures

struct  DGtal::TrueBoolFct0
struct  DGtal::FalseBoolFct0
struct  DGtal::IdentityBoolFct1
struct  DGtal::NotBoolFct1
struct  DGtal::AndBoolFct2
struct  DGtal::OrBoolFct2
struct  DGtal::XorBoolFct2
struct  DGtal::ImpliesBoolFct2


namespace  DGtal


#define BasicBoolFunctions_RECURSES
#define BasicBoolFunctions_h


typedef boost::function0< bool > DGtal::BoolFunction0
typedef boost::function1< bool,
bool > 
typedef boost::function2< bool,
bool, bool > 
typedef boost::function3< bool,
bool, bool, bool > 


static const BoolFunction0 DGtal::trueBF0 = TrueBoolFct0()
static const BoolFunction0 DGtal::falseBF0 = FalseBoolFct0()
static const BoolFunction1 DGtal::identityBF1 = IdentityBoolFct1()
static const BoolFunction1 DGtal::notBF1 = NotBoolFct1()
static const BoolFunction2 DGtal::andBF2 = AndBoolFct2()
static const BoolFunction2 DGtal::orBF2 = OrBoolFct2()
static const BoolFunction2 DGtal::xorBF2 = XorBoolFct2()
static const BoolFunction2 DGtal::impliesBF2 = ImpliesBoolFct2()

Detailed Description

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/>.

Jacques-Olivier Lachaud (jacques-olivier.lachaud@univ-savoie.fr ) Laboratory of Mathematics (CNRS, UMR 5807), University of Savoie, France

Defines several boolean function object wrapper types.

This file is part of the DGtal library.

Definition in file BasicBoolFunctions.h.

Define Documentation

#define BasicBoolFunctions_h

Prevents repeated inclusion of headers.

Definition at line 39 of file BasicBoolFunctions.h.

#define BasicBoolFunctions_RECURSES

Prevents recursive inclusion of headers.

Definition at line 35 of file BasicBoolFunctions.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines