13#ifndef ML_IMAGE_PROPERTY_EXTENSION_H
14#define ML_IMAGE_PROPERTY_EXTENSION_H
28ML_UTILS_START_NAMESPACE
102ML_UTILS_END_NAMESPACE
Base class from which one can derive own image properties.
virtual bool operator==(const ImagePropertyExtension &extImageProps) const
Implements equality operation based on the equals method.
virtual std::string getValueAsString() const =0
Returns the value of the object as string.
virtual ~ImagePropertyExtension()
Destructor.
virtual MLErrorCode setValueFromString(const std::string &stringValue)=0
Sets the value of a property from the string stringValue and returns ML_RESULT_OK on success or anoth...
virtual bool equals(const ImagePropertyExtension &extImageProps) const =0
Returns true if this object equals extImageProps.
virtual bool operator!=(const ImagePropertyExtension &extImageProps) const
Implements inequality operation based on the equals method.
ImagePropertyExtension()
Default constructor doing nothing.
virtual void getValueAsString(std::string &valAsString) const
Returns the value of the object as string in valAsString.
virtual ImagePropertyExtension * createClone() const =0
Pure virtual method which must return a copy of the current object.
MLint32 MLErrorCode
Type of an ML Error code.
#define ML_ABSTRACT_ROOT_CLASS_HEADER(className)
#define ML_UTILS_EXPORT
Defines platform dependent DLL export macro for mlUtils.
std::vector< ImagePropertyExtension * > ImagePropertyExtensionVector
Define the STL container type of ImagePropertyExtension objects.
MLEXPORT std::ostream & operator<<(std::ostream &s, const ml::Field &v)
Overloads the operator "<<" for stream output of Field objects.