|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
std::string | ConvertXMLToJson (vtkXMLDataElement *xmlElement, const std::string &nodeTagName) |
|
virtual vtkMRMLMessageCollection * | GetUserMessages () |
| Returns user-displayable messages that may contain details about any failed operation.
|
|
bool | HasErrors () |
| Returns true if user messages contain error messages.
|
|
bool | isBool (const std::string &str) |
| Utility functions to check string type.
|
|
bool | isDouble (const std::string &str) |
|
bool | isInt (const std::string &str) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
std::string | toLower (const std::string &str) |
| Utility function to convert string to lower case.
|
|
void | WriteArrayPropertyEnd () |
| This method must be called when all array items are written.
|
|
void | WriteArrayPropertyStart (const std::string &propertyName) |
| This method creates a new array as a property.
|
|
void | WriteObjectEnd () |
| This method must be called when all properties of the object are written.
|
|
void | WriteObjectPropertyEnd () |
| This method must be called when all properties of the object are written.
|
|
void | WriteObjectPropertyStart (const std::string &propertyName) |
| This method creates a new object as a property.
|
|
void | WriteObjectStart () |
| This method creates a new object in an array.
|
|
bool | WriteToFileBegin (const char *filePath, const char *schema) |
|
bool | WriteToFileEnd () |
|
bool | WriteToStringBegin (const char *nodeTagName) |
|
std::string | WriteToStringEnd () |
|
void | WriteStringProperty (const std::string &propertyName, const std::string &propertyValue) |
|
void | WriteStringVectorProperty (const std::string &propertyName, const std::vector< std::string > &arrayValues) |
|
void | WriteCodedEntryProperty (const std::string &propertyName, vtkCodedEntry *codedEntry) |
|
void | WriteStringPropertyIfNotEmpty (const std::string &propertyName, const std::string &propertyValue) |
|
void | WriteBoolProperty (const std::string &propertyName, bool propertyValue) |
|
void | WriteIntProperty (const std::string &propertyName, int propertyValue) |
|
void | WriteDoubleProperty (const std::string &propertyName, double propertyValue) |
|
void | WriteVectorProperty (const std::string &propertyName, double *v, int numberOfComponents=3) |
|
void | WriteMatrix4x4Property (const std::string &propertyName, double v[16], bool flipRasLps) |
|
void | WriteDoubleArrayProperty (const char *propertyName, vtkDoubleArray *doubleArray) |
|
Writes JSON data to file.
- Deprecated
- This class is empty and kept only for backward compatibility. The implementation has been moved to core MRML class vtkMRMLJsonWriter.
Definition at line 63 of file vtkMRMLMarkupsJsonElement.h.