OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
JsonInterface.h
Go to the documentation of this file.
1 //**************************************************************************************************
2 //
3 // OSSIM Open Source Geospatial Data Processing Library
4 // See top level LICENSE.txt file for license information
5 //
6 //**************************************************************************************************
7 #ifndef JsonInterface_HEADER
8 #define JsonInterface_HEADER 1
9 
10 #include <json/json.h>
11 
12 namespace ossim {
13 
20 {
21 public:
23  virtual ~JsonInterface() {}
24 
25  virtual void loadJSON(const Json::Value& jsonNode) = 0;
26  virtual void saveJSON(Json::Value& jsonNode) const = 0;
27 
28 };
29 
30 }
31 #endif
virtual ~JsonInterface()
Definition: JsonInterface.h:23
virtual void loadJSON(const Json::Value &jsonNode)=0
virtual void saveJSON(Json::Value &jsonNode) const =0
This code was derived from https://gist.github.com/mshockwave.
Definition: Barrier.h:8
Pure virtual interface for classes implementing JSON-based load/save state.
Definition: JsonInterface.h:19