> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dvs_object_interface.h

[Go to the documentation of this file.](https://developer.synopsys.com/docs/ensight/ensight-apis/2025-r1/dvs__object__interface_8h)

```cpp theme={null}
/**************************************************************
*
*   (C) 2022 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
*
*   Restricted Rights Legend
*
*   Use, duplication, or disclosure of this
*   software and its documentation by the
*   Government is subject to restrictions as
*   set forth in subdivision [(b)(3)(ii)] of
*   the Rights in Technical Data and Computer
*   Software clause at 52.227-7013.
*
**************************************************************
*/

#ifndef ___DVS_OBJECT_INTERFACE_H___
#define ___DVS_OBJECT_INTERFACE_H___

#include "dynamic_visualization_store_enums.h"
#include "dynamic_visualization_store_error_codes.h"

namespace DVS
{

class IDataset;

class IObject
{
public:

 IObject() = default;
 virtual ~IObject() = default;
 IObject(IObject&&) = default;
 IObject& operator=(IObject&&) = default;
 IObject(const IObject&) = default;
 IObject& operator=(const IObject&) = default;

 enum ObjectDefType
    {
 PART,
 PLOT,
 CASE
    };

 virtual const char* get_name() const = 0;

 virtual ObjectDefType get_type() const = 0;

 virtual const DVS::IDataset* get_dataset() const = 0;

 virtual uint32_t get_num_metadata() const = 0;

 virtual const char* get_metadata_key(uint32_t index) const = 0;

 virtual const char* get_metadata_value(uint32_t index) const = 0;

 virtual const char* get_metadata_value(const char* key) const = 0;
};

} //namespace DVS

#endif //___DVS_OBJECT_INTERFACE_H___
```
