Class OpenVDS::MetadataWriteAccess
-
class MetadataWriteAccess
Interface for write access to Metadata.
Subclassed by OpenVDS::MetadataContainer
Public Functions
-
virtual void SetMetadataInt(const char *category, const char *name, int value) = 0
Sets a metadata int with the given category and name to the given value.
-
virtual void SetMetadataIntVector2(const char *category, const char *name, IntVector2 value) = 0
Sets a metadata IntVector2 with the given category and name to the given value.
-
virtual void SetMetadataIntVector3(const char *category, const char *name, IntVector3 value) = 0
Sets a metadata IntVector3 with the given category and name to the given value.
-
virtual void SetMetadataIntVector4(const char *category, const char *name, IntVector4 value) = 0
Sets a metadata IntVector4 with the given category and name to the given value.
-
virtual void SetMetadataFloat(const char *category, const char *name, float value) = 0
Sets a metadata float with the given category and name to the given value.
-
virtual void SetMetadataFloatVector2(const char *category, const char *name, FloatVector2 value) = 0
Sets a metadata FloatVector2 with the given category and name to the given value.
-
virtual void SetMetadataFloatVector3(const char *category, const char *name, FloatVector3 value) = 0
Sets a metadata FloatVector3 with the given category and name to the given value.
-
virtual void SetMetadataFloatVector4(const char *category, const char *name, FloatVector4 value) = 0
Sets a metadata FloatVector4 with the given category and name to the given value.
-
virtual void SetMetadataDouble(const char *category, const char *name, double value) = 0
Sets a metadata double with the given category and name to the given value.
-
virtual void SetMetadataDoubleVector2(const char *category, const char *name, DoubleVector2 value) = 0
Sets a metadata DoubleVector2 with the given category and name to the given value.
-
virtual void SetMetadataDoubleVector3(const char *category, const char *name, DoubleVector3 value) = 0
Sets a metadata DoubleVector3 with the given category and name to the given value.
-
virtual void SetMetadataDoubleVector4(const char *category, const char *name, DoubleVector4 value) = 0
Sets a metadata DoubleVector4 with the given category and name to the given value.
-
virtual void SetMetadataString(const char *category, const char *name, const char *value) = 0
Sets a metadata string with the given category and name to the given value.
-
inline void SetMetadataString(const char *category, const char *name, std::string const &value)
- Parameters:
value – Sets a metadata string with the given category and name to the given value
-
virtual void SetMetadataBLOB(const char *category, const char *name, const void *data, size_t size) = 0
Sets a metadata BLOB with the given category and name to the given value.
-
template<typename T>
inline void SetMetadataBLOB(const char *category, const char *name, std::vector<T> const &value) - Parameters:
value – Sets a metadata BLOB with the given category and name to the given value
-
virtual void CopyMetadata(const char *category, MetadataReadAccess const *metadataReadAccess) = 0
Copy the metadata from another MetadataContainer
- Parameters:
category – the metadata category to copy
metadataReadAccess – the MetadataReadAccess interface to copy from
-
virtual void ClearMetadata(const char *category, const char *name) = 0
Clear the metadata with the given category and name.
-
virtual void ClearMetadata(const char *category) = 0
Clear the metadata with the given category.
-
virtual void SetMetadataInt(const char *category, const char *name, int value) = 0