StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair_json.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_STDAIR_JSON_HPP
2 #define __STDAIR_STDAIR_JSON_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 
10 namespace stdair {
11 
16  class JSONString {
17  public:
21  explicit JSONString (const std::string& iJsonString) :
22  _jsonString (iJsonString) {}
26  explicit JSONString () : _jsonString ("") {}
27 
31  virtual ~JSONString() {}
32 
36  const std::string& getString() const {
37  return _jsonString;
38  }
39 
40  protected:
44  std::string _jsonString;
45  };
46 
47 }
48 #endif // __STDAIR_STDAIR_JSON_HPP
Handle on the StdAir library context.
const std::string & getString() const
Definition: stdair_json.hpp:36
virtual ~JSONString()
Definition: stdair_json.hpp:31
JSON-formatted string.
Definition: stdair_json.hpp:16
std::string _jsonString
Definition: stdair_json.hpp:44
JSONString(const std::string &iJsonString)
Definition: stdair_json.hpp:21