ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
VerbosePrinterEventEnabled.h
Go to the documentation of this file.
00001 
00010 #ifndef LIST
00011 #define LIST //!<Inclusion guard
00012 #include <list>
00013 #endif
00014 
00015 #ifndef STDARG_H
00016 #define STDARG_H //!<Inclusion guard
00017 #include <stdarg.h>
00018 #endif
00019 
00020 #include "VerbosePrinter.h"
00021 
00022 #ifndef VERBOSEPRINTEREVENTENABLED_H
00023 #define VERBOSEPRINTEREVENTENABLED_H
00024 
00027 class VerbosePrinterEventEnabled
00028 {
00029  public:
00030   VerbosePrinterEventEnabled(); 
00031   ~VerbosePrinterEventEnabled(); 
00032   void registerListener(VerbosePrinter * Listener 
00033                         );
00034   void removeListener();  
00035  protected:
00036   VerbosePrinter * myPrinter; 
00037   bool vPrint(int verbosityLevel, 
00038               const char* message, 
00039               ... 
00040               ) const; 
00041   void registerChild(VerbosePrinterEventEnabled * child 
00042                      ); 
00043  private:
00044   list<VerbosePrinterEventEnabled *> children; 
00045 };
00046 #endif
 All Classes Files Functions Variables Enumerations Enumerator Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark