Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLMarkupsJsonReader Class Reference

Reads JSON data from file. More...

#include <Modules/Loadable/Markups/MRML/vtkMRMLMarkupsJsonElement.h>

Inheritance diagram for vtkMRMLMarkupsJsonReader:
Collaboration diagram for vtkMRMLMarkupsJsonReader:

Public Types

typedef vtkMRMLJsonReader Superclass
 
- Public Types inherited from vtkMRMLJsonReader
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
- Public Member Functions inherited from vtkMRMLJsonReader
std::string ConvertJsonToXML (const std::string &jsonString, const std::string &nodeTagName)
 
virtual vtkMRMLMessageCollectionGetUserMessages ()
 Returns user-displayable messages that may contain details about any failed operation.
 
bool HasErrors ()
 Returns true if user messages contain error messages.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
VTK_NEWINSTANCE vtkMRMLJsonElementReadFromFile (const char *filePath)
 
VTK_NEWINSTANCE vtkMRMLJsonElementReadFromString (const std::string &jsonString)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLMarkupsJsonReaderNew ()
 
static vtkMRMLMarkupsJsonReaderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLJsonReader
static int IsTypeOf (const char *type)
 
static vtkMRMLJsonReaderNew ()
 
static vtkMRMLJsonReaderSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkMRMLMarkupsJsonReader ()
 
 ~vtkMRMLMarkupsJsonReader () override=default
 
- Protected Member Functions inherited from vtkMRMLJsonReader
void operator= (const vtkMRMLJsonReader &)
 
std::string processJsonElement (vtkMRMLJsonElement *jsonElement, const std::string &elementKey="")
 
 vtkMRMLJsonReader ()
 
 vtkMRMLJsonReader (const vtkMRMLJsonReader &)
 
 ~vtkMRMLJsonReader () override
 

Additional Inherited Members

- Protected Attributes inherited from vtkMRMLJsonReader
vtkNew< vtkMRMLMessageCollectionUserMessages
 

Detailed Description

Reads JSON data from file.

Deprecated
This class is empty and kept only for backward compatibility. The implementation has been moved to core MRML class vtkMRMLJsonReader.

Definition at line 45 of file vtkMRMLMarkupsJsonElement.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkMRMLMarkupsJsonReader()

vtkMRMLMarkupsJsonReader::vtkMRMLMarkupsJsonReader ( )
inlineprotected

Definition at line 52 of file vtkMRMLMarkupsJsonElement.h.

◆ ~vtkMRMLMarkupsJsonReader()

vtkMRMLMarkupsJsonReader::~vtkMRMLMarkupsJsonReader ( )
overrideprotecteddefault

Member Function Documentation

◆ GetClassName()

virtual const char * vtkMRMLMarkupsJsonReader::GetClassName ( )
virtual

Reimplemented from vtkMRMLJsonReader.

◆ IsA()

virtual int vtkMRMLMarkupsJsonReader::IsA ( const char * type)
virtual

Reimplemented from vtkMRMLJsonReader.

◆ IsTypeOf()

static int vtkMRMLMarkupsJsonReader::IsTypeOf ( const char * type)
static

◆ New()

static vtkMRMLMarkupsJsonReader * vtkMRMLMarkupsJsonReader::New ( )
static

◆ SafeDownCast()

static vtkMRMLMarkupsJsonReader * vtkMRMLMarkupsJsonReader::SafeDownCast ( vtkObject * o)
static

The documentation for this class was generated from the following file: