$treeview $search $mathjax
StdAir Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

stdair/stdair_json.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_STDAIR_JSON_HPP
00002 #define __STDAIR_STDAIR_JSON_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 
00010 namespace stdair {
00011 
00016   class JSONString { 
00017   public:
00021     explicit JSONString (const std::string& iJsonString) :
00022       _jsonString (iJsonString) {}
00026     explicit JSONString () : _jsonString ("") {}
00027     
00031     virtual ~JSONString() {}
00032     
00036     const std::string& getString() const {
00037       return _jsonString;
00038     }
00039     
00040   protected:
00044     std::string _jsonString;
00045   };
00046 
00047 }
00048 #endif // __STDAIR_STDAIR_JSON_HPP