SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_model_SessionIOJSON_h
11 #define smtk_model_SessionIOJSON_h
13 #include "smtk/model/SessionIO.h"
15 #include "smtk/common/CompilerInformation.h"
17 SMTK_THIRDPARTY_PRE_INCLUDE
18 #include "nlohmann/json.hpp"
19 SMTK_THIRDPARTY_POST_INCLUDE
34 using json = nlohmann::json;
47 static bool saveModelRecords(
const json& j,
const std::string& url);
51 static json loadJSON(
const std::string& filename);
64 #endif // smtk_model_SessionIOJSON_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
#define smtkCreateMacro(...)
Add static create() methods to a class.
Definition: SharedFromThis.h:173
A base class for delegating session I/O to/from JSON.
Definition: SessionIOJSON.h:31
#define smtkTypeMacro(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:128
A base class for delegating session I/O.
Definition: SessionIO.h:46
smtk::shared_ptr< smtk::model::Resource > ResourcePtr
Definition: PublicPointerDefs.h:426