15 #include "vtkCommonCoreModule.h"
21 #include "vtk_nlohmannjson.h"
22 #include VTK_NLOHMANN_JSON(json_fwd.hpp) // for json
28 VTK_ABI_NAMESPACE_BEGIN
38 std::function<nlohmann::json(vtkInvoker*, vtkObjectBase*, const char*, const nlohmann::json&)>;
40 nlohmann::json Invoke(
41 const vtkTypeUInt32& identifier,
const std::string& methodName,
const nlohmann::json& args);
53 bool UnRegisterHandler(
const std::type_info&
type);
94 std::unique_ptr<vtkInternals> Internals;
Deserialize VTK objects from JSON.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Shared context used by vtkSerializer and vtkDeserializer
vtkSmartPointer< vtkMarshalContext > Context
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
std::function< nlohmann::json(vtkInvoker *, vtkObjectBase *, const char *, const nlohmann::json &)> HandlerType