Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
helloWorld.hpp
00001 /* $Id$ */
00002 
00003 #ifndef HELLOWORLD_HELLO_WORLD_HPP
00004 #define HELLOWORLD_HELLO_WORLD_HPP
00005 
00006 #include <string>
00007 #include <ostream>
00008 
00009 #include "kernel/jafarException.hpp"
00010 
00011 #include "helloworld/helloworldException.hpp"
00012 
00013 
00014 namespace jafar {
00015 
00016   namespace helloworld {
00017 
00022     class HelloWorld {
00023 
00024     private :
00025   
00027       std::string hello;
00028 
00029       static bool checkHello(const std::string& hello_);
00030 
00031     public :
00032 
00034       HelloWorld();
00035 
00040       HelloWorld(const std::string& hello_);
00041 
00043       ~HelloWorld();
00044 
00047       const std::string& getHello() const;
00048 
00055       void setHello(const std::string& hello_);
00056 
00058       void clearHello();
00059 
00063       void printHello();
00064 
00065       friend std::ostream& operator <<(std::ostream& s, const HelloWorld& h_);
00066 
00067     }; // class HelloWorld
00068 
00069     std::ostream& operator <<(std::ostream& s, const HelloWorld& h_);
00070 
00071   } // namespace helloworld
00072 } // namespace jafar
00073 
00074 #endif // HELLOWORLD_HELLO_WORLD_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:20 for Jafar by doxygen 1.7.6.1
LAAS-CNRS