Class OpenVDS::MetadataKey

class MetadataKey

A metadata key uniquely identifies a metadata item.

Public Functions

inline MetadataKey()

Default constructor.

inline MetadataKey(MetadataType type, const char *category, const char *name)

Constructor.

Parameters:
  • type – The type of the metadata that this key identifies. The possible types are (Int, Float, Double, {Int,Float,Double}Vector{2,3,4}, String or BLOB).

  • category – The category of the metadata that this key identifies. A category is a collection of related metadata items, e.g. SurveyCoordinateSystem consists of Origin, InlineSpacing, CrosslineSpacing and Unit metadata.

  • name – The name of the metadata that this key identifies

inline MetadataType GetType() const

Get the type of metadata that this key identifies.

Returns:

The type of the metadata that this key identifies

inline const char *GetCategory() const

Get the category of metadata that this key identifies.

Returns:

The category of the metadata that this key identifies

inline const char *GetName() const

Get the name of metadata that this key identifies.

Returns:

The name of the metadata that this key identifies

inline bool operator==(const MetadataKey &other) const
inline bool operator!=(const MetadataKey &other) const