13#ifndef ML_IMAGE_PROPERTY_EXTENSION_CONTAINER_H
14#define ML_IMAGE_PROPERTY_EXTENSION_CONTAINER_H
23ML_UTILS_START_NAMESPACE
186ML_UTILS_END_NAMESPACE
ImagePropertyExtensionContainer(const ImagePropertyExtensionContainer &imagePropertyExtensionContainer)
Copy constructor from an existing ImagePropertyExtensionContainer object.
const ImagePropertyExtension * getEntry(size_t position) const
void removeEntriesOfType(const RuntimeType *runtimeType)
Removes all entries from the container that are of type runtimeType.
int findFirstEntryOfType(const RuntimeType *runtimeType) const
void clear()
Removes all entries from the container.
bool removeEntry(size_t position)
ImagePropertyExtensionContainer & operator=(const ImagePropertyExtensionContainer &imagePropertyExtensionContainer)
Assignment operator from an existing ImagePropertyExtension object, produces a copy.
bool operator!=(const ImagePropertyExtensionContainer &imagePropertyExtensionContainer) const
size_t getNumEntriesOfType(const RuntimeType *runtimeType) const
Returns the number of property extensions of type runtimeType in the container.
ImagePropertyExtensionContainer()
Constructor that builds an empty container.
ImagePropertyExtension * getFirstEntryOfType(const RuntimeType *runtimeType)
void append(ImagePropertyExtension *propertyExtension)
virtual ~ImagePropertyExtensionContainer()
Destructor.
int findEntry(const ImagePropertyExtension *entry) const
const ImagePropertyExtension * getFirstEntryOfType(const RuntimeType *runtimeType) const
size_t getNumEntries() const
Returns the number of property extensions in the container.
ImagePropertyExtensionVector cloneEntriesOfType(const RuntimeType *runtimeType) const
bool operator==(const ImagePropertyExtensionContainer &imagePropertyExtensionContainer) const
ImagePropertyExtension * getEntry(size_t position)
bool removeEntry(const ImagePropertyExtension *propertyExtension)
ImagePropertyExtension * appendClone(const ImagePropertyExtension &propertyExtension)
ImagePropertyExtensionVector getEntriesOfType(const RuntimeType *runtimeType)
void getValueAsString(std::string &valueAsString) const
void appendClones(const ImagePropertyExtensionContainer &container)
Appends clones of entries of container to the container.
std::vector< ImagePropertyExtension * > ImagePropertyExtensionVector
Defines 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.