test_base.cc File Reference

#include "Base-TypeDef.hh"

Go to the source code of this file.

Functions

int main ()

Function Documentation

int main (  ) 

Definition at line 4 of file test_base.cc.

References larlight::MSG::DEBUG, larlight::MSG::ERROR, larlight::MSG::INFO, larlight::MSG::NORMAL, larlight::larlight_base::print(), larlight::larlight_base::set_verbosity(), and larlight::MSG::WARNING.

00004           {
00005 
00006   std::cout 
00007     << std::endl
00008     << "This is \"Base\" package simple test routine." << std::endl
00009     << std::endl;
00010 
00011   // Test routine for Base package.
00012   
00013   // (1) simple: create larlight_base
00014 
00015   larlight::larlight_base me;
00016   me.set_verbosity(larlight::MSG::DEBUG);
00017   
00018   // (2) Send messages
00019   
00020   me.print(larlight::MSG::DEBUG,"... sending DEBUG message");
00021   me.print(larlight::MSG::INFO,"... sending INFO message");
00022   me.print(larlight::MSG::NORMAL,"... sending NORMAL message");
00023   me.print(larlight::MSG::WARNING,"... sending WARNING message");
00024   me.print(larlight::MSG::ERROR,"... sending ERROR message");
00025 
00026   std::cout
00027     << std::endl
00028     << "End of test routine." << std::endl
00029     << std::endl;
00030 
00031   return 0;
00032 
00033 }

 All Classes Namespaces Files Functions Variables Enumerations Enumerator

Generated on 3 Jun 2014 for MyProject by  doxygen 1.6.1