include/VerboseOption.hpp

Go to the documentation of this file.
00001 // VerboseOption.hpp: this file is part of the REGAL project.
00002 //
00003 // REGAL : Random and Exhaustive Generators for Automata - Library
00004 //
00005 // Copyright (C) 2007 Julien DAVID.
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 //
00012 // The complete GNU General Public Licence Notice can be found as the
00013 // `COPYING' file in the root directory.
00014 //
00015 //
00016 #ifndef VERBOSEOPTION
00017 #define VERBOSEOPTION
00018 
00019 #include<iostream>
00020 
00021 
00027 template<typename T>
00028 void verbose(const T & o){
00029   
00030 #ifdef VERBOSE_MODE
00031   std::cout<<o<<std::endl;
00032 #endif
00033   
00034 }
00035 
00036 
00037 
00038 
00039 
00040 
00041 #endif

Generated on Mon Sep 29 16:33:58 2008 for REGAL by  doxygen 1.5.1