13#ifndef ML_DICOM_TREE_IMAGE_PROPERTY_EXTENSION_H 
   14#define ML_DICOM_TREE_IMAGE_PROPERTY_EXTENSION_H 
   34ML_UTILS_START_NAMESPACE
 
   96    std::string _fileName;
 
 
  102ML_UTILS_END_NAMESPACE
 
#define MLDICOM_TREE_IMAGE_PROPERTY_EXTENSION_EXPORT
 
Implements an ImagePropertyExtension object that can be passed to the ML.
 
~DicomTreeImagePropertyExtension() override
Destructor.
 
bool equals(const ImagePropertyExtension &imgPropExt) const override
Equality operation.
 
DicomTreeImagePropertyExtension & operator=(const DicomTreeImagePropertyExtension &origObj)
Assignment operator.
 
DicomTreeImagePropertyExtension(const DCMTree::Const_TreePtr &initDCMTree, const std::string &fileName)
Convenience constructor.
 
void getValueAsString(std::string &valueAsString) const override
Alternative version to return the object as string, which can be faster and less memory intensive on ...
 
MLErrorCode setValueFromString(const std::string &str) override
Sets the value of the property from a string value and returns ML_RESULT_OK on success or another MLE...
 
void setFileName(const std::string &fileName)
Sets the filename that should be associated with the DICOM tree.
 
ImagePropertyExtension * createClone() const override
Creates a copy of this object.
 
void setDicomTagTree(const DCMTree::Const_TreePtr &newTree)
Sets new shared DICOM tree object.
 
const DCMTree::Const_TreePtr & getDicomTagTree() const
Returns a pointer to the shared DICOM tree object.
 
std::string getValueAsString() const override
Returns the value of this object as string.
 
const std::string & getFileName() const
Returns the filename from which the DICOM tree was originally loaded.
 
DicomTreeImagePropertyExtension(const DicomTreeImagePropertyExtension &origObj)
Copy constructor.
 
DicomTreeImagePropertyExtension()
Constructor.
 
Base class from which one can derive own image properties.
 
MLint32 MLErrorCode
Type of an ML Error code.
 
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
 
boost::shared_ptr< const Tree > Const_TreePtr