00001 /*========================================================================= 00002 Program: bbtk 00003 Module: $RCSfile: bbtkAny.cxx,v $ 00004 Language: C++ 00005 Date: $Date: 2008/10/17 08:18:12 $ 00006 Version: $Revision: 1.2 $ 00007 =========================================================================*/ 00008 00009 /* --------------------------------------------------------------------- 00010 * Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale) 00011 * Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux 00012 * 00013 * This software is governed by the CeCILL-B license under French law and 00014 * abiding by the rules of distribution of free software. You can use, 00015 * modify and/ or redistribute the software under the terms of the CeCILL-B 00016 * license as circulated by CEA, CNRS and INRIA at the following URL 00017 * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 00018 * or in the file LICENSE.txt. 00019 * 00020 * As a counterpart to the access to the source code and rights to copy, 00021 * modify and redistribute granted by the license, users are provided only 00022 * with a limited warranty and the software's author, the holder of the 00023 * economic rights, and the successive licensors have only limited 00024 * liability. 00025 * 00026 * The fact that you are presently reading this means that you have had 00027 * knowledge of the CeCILL-B license and that you accept its terms. 00028 * ------------------------------------------------------------------------ */ 00029 00030 #include "bbtkAny.h" 00031 00032 00033 namespace bbtk 00034 { 00036 template <> const bool integer<char>::value = true; 00037 template <> const bool integer<short>::value = true; 00038 template <> const bool integer<int>::value = true; 00039 template <> const bool integer<long>::value = true; 00040 template <> const bool integer<long long>::value = true; 00041 template <> const bool integer<unsigned char>::value = true; 00042 template <> const bool integer<unsigned short>::value = true; 00043 template <> const bool integer<unsigned int>::value = true; 00044 template <> const bool integer<unsigned long>::value = true; 00045 template <> const bool integer<unsigned long long>::value = true; 00046 00048 template <> const bool floating_point<float>::value = true; 00049 template <> const bool floating_point<double>::value = true; 00050 } 00051 00052