/Users/eddyxu/work/quiplib/ace/srcs/Log_Facade.h

Go to the documentation of this file.
00001 //-*- C++ -*-
00016 #ifndef QLIB_ACE_LOG_FACADE_H
00017 #define QLIB_ACE_LOG_FACADE_H
00018 
00019 #include <iostream>
00020 #include <string>
00021 
00022 namespace qlib{
00023 
00024         namespace ace {
00025 
00029                 class Log_Facade{
00030                 public:
00032                         Log_Facade(void);
00033 
00040                         Log_Facade(bool verbose, const std::string &logfile);
00041 
00043                         ~Log_Facade(void);
00044 
00046                         void verbose(bool verb); 
00048                         bool verbose(void) { return verbose_; } 
00049                 private:
00050                         std::ofstream *log_;
00051                         bool verbose_;
00052                 };
00053 
00054         } // ace
00055 
00056 }// qlib
00057 
00058 #endif /* QLIB_ACE_LOG_FACADE_H */
00059 

Generated on Fri Jun 8 22:49:19 2007 for qlib::ace by  doxygen 1.5.1