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
~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
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.
ImagePropertyExtension()
Default constructor; does nothing.
MLint32 MLErrorCode
Type of an ML Error code.
#define ML_CLASS_HEADER(className)
boost::shared_ptr< const Tree > Const_TreePtr