StdAir Logo  1.00.15
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
10namespace 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.
JSON-formatted string.
const std::string & getString() const
JSONString(const std::string &iJsonString)
std::string _jsonString