SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_session_polygon_SessionIOJSON_h
11 #define smtk_session_polygon_SessionIOJSON_h
13 #include "smtk/model/SessionIOJSON.h"
15 #include "smtk/session/polygon/Exports.h"
16 #include "smtk/session/polygon/Resource.h"
40 static json saveJSON(
const smtk::session::polygon::Resource::Ptr& rsrc);
44 static json loadJSON(
const std::string& filename);
51 static bool loadModelRecords(
const json& j, smtk::session::polygon::Resource::Ptr& rsrc);
58 #endif // smtk_session_polygon_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 to/from JSON.
Definition: SessionIOJSON.h:30