/usr/include/ossim/base/JsonInterface.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | //**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//**************************************************************************************************
#ifndef JsonInterface_HEADER
#define JsonInterface_HEADER 1
#include <json/json.h>
namespace ossim {
/**
* Pure virtual interface for classes implementing JSON-based load/save state..
* Refer to <a href="https://docs.google.com/document/d/1DXekmYm7wyo-uveM7mEu80Q7hQv40fYbtwZq-g0uKBs/edit?usp=sharing">3DISA API document</a>
* for JSON formats used.
*/
class JsonInterface
{
public:
JsonInterface() {}
virtual ~JsonInterface() {}
virtual void loadJSON(const Json::Value& jsonNode) = 0;
virtual void saveJSON(Json::Value& jsonNode) const = 0;
};
}
#endif
|