OutputBuilder.cpp

Go to the documentation of this file.
00001 
00016 #include "OutputBuilder.hpp"
00017 #include <sstream>
00018 
00019 namespace OA {
00020 
00021 std::string int2string(const int& number)
00022 {
00023     std::ostringstream oss;
00024     oss << number;
00025     return oss.str();
00026 }
00027  
00028 std::string bool2string(const bool& val)
00029 {
00030     std::ostringstream oss;
00031     oss << val;
00032     return oss.str();
00033 }
00034  
00035 
00036 } // end of OA namespace
00037 
00038