Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitk::PropertyPersistenceSerialization Namespace Reference

Functions

MITKCORE_EXPORT::std::string serializeByGetValueAsString (const mitk::BaseProperty *prop)
 
MITKCORE_EXPORT::std::string serializeTemporoSpatialStringPropertyToJSON (const mitk::BaseProperty *prop)
 
MITKMODELFIT_EXPORT ::std::string serializeScalarListLookupTablePropertyToXML (const mitk::BaseProperty *prop)
 

Function Documentation

◆ serializeByGetValueAsString()

std::string mitk::PropertyPersistenceSerialization::serializeByGetValueAsString ( const mitk::BaseProperty prop)

Simple default serialization that uses prop->GetValueAsString for the serialization.

Definition at line 249 of file mitkPropertyPersistenceInfo.cpp.

References mitk::BaseProperty::GetValueAsString().

Referenced by testDeserializeFunction().

◆ serializeScalarListLookupTablePropertyToXML()

std::string mitk::PropertyPersistenceSerialization::serializeScalarListLookupTablePropertyToXML ( const mitk::BaseProperty prop)

Serialization of a ScalarListLookupTableProperty into a XML string.

Definition at line 105 of file mitkScalarListLookupTablePropertySerializer.cpp.

References mitk::ScalarListLookupTablePropertySerializer::New().

Referenced by mitk::ScalarListLookupTablePropertySerializer::~ScalarListLookupTablePropertySerializer().

◆ serializeTemporoSpatialStringPropertyToJSON()

std::string mitk::PropertyPersistenceSerialization::serializeTemporoSpatialStringPropertyToJSON ( const mitk::BaseProperty prop)

Serialization of a TemporoSpatialStringProperty into a JSON string.

Definition at line 290 of file mitkTemporoSpatialStringProperty.cpp.

References CreateJSONEscapes(), and mitkThrow.

Referenced by mitk::DICOMTagsOfInterestService::AddTagOfInterest().