StdAir Logo  1.00.8
C++ Standard Airline IT Object Library
stdair::JSONString Class Reference

JSON-formatted string. More...

#include <stdair/stdair_json.hpp>

Public Member Functions

 JSONString (const std::string &iJsonString)
 
 JSONString ()
 
virtual ~JSONString ()
 
const std::string & getString () const
 

Protected Attributes

std::string _jsonString
 

Detailed Description

JSON-formatted string.

Definition at line 16 of file stdair_json.hpp.

Constructor & Destructor Documentation

◆ JSONString() [1/2]

stdair::JSONString::JSONString ( const std::string &  iJsonString)
inlineexplicit

Main Constructor.

Definition at line 21 of file stdair_json.hpp.

◆ JSONString() [2/2]

stdair::JSONString::JSONString ( )
inlineexplicit

Default constructor.

Definition at line 26 of file stdair_json.hpp.

◆ ~JSONString()

virtual stdair::JSONString::~JSONString ( )
inlinevirtual

Destructor.

Definition at line 31 of file stdair_json.hpp.

Member Function Documentation

◆ getString()

const std::string& stdair::JSONString::getString ( ) const
inline

Get the string value.

Definition at line 36 of file stdair_json.hpp.

References _jsonString.

Referenced by stdair::BomJSONImport::jsonImportCommand().

Member Data Documentation

◆ _jsonString

std::string stdair::JSONString::_jsonString
protected

Definition at line 44 of file stdair_json.hpp.

Referenced by getString().


The documentation for this class was generated from the following file: