> ## 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.

# Class DVS::IObject

![][C++]
![][public]

Interface for part/plot objects for DVS Reader API.

This object's lifetime is controlled by the query it is returned from. If the filter or uri of the query is changed this object will be destroyed. If this is a chained query and any of the parent queries are modified this object will also be destroyed. See [dvs\_query\_interface.h](https://developer.synopsys.com/docs/ensight/dynamic-visualization-store/reference/files/dvs__query__interface_8h.md) for more information.

**Inherited by**:

* [DVS::IDataset](https://developer.synopsys.com/docs/ensight/dynamic-visualization-store/reference/classes/class_d_v_s_1_1_i_dataset.md)

## Members

* [CASE](#class_d_v_s_1_1_i_object_1aa897daa1f7d0467515fd108c29015348a03dcfd36d493cd1d828af236e2c357fd)
* [get\_dataset](#class_d_v_s_1_1_i_object_1aea688a307b1cb02ae53e0e8fd3791e64)
* [get\_metadata\_key](#class_d_v_s_1_1_i_object_1a04ee2919ffeb46d966d4675c8cd4420c)
* [get\_metadata\_value](#class_d_v_s_1_1_i_object_1a7a37d603ccf93f7f1ec9f962fa9d1f61)
* [get\_metadata\_value](#class_d_v_s_1_1_i_object_1aa33105e0510c3a2b0da022d5e9632bc8)
* [get\_name](#class_d_v_s_1_1_i_object_1a39be8b08200f75b20a7b5cf715ba9dd3)
* [get\_num\_metadata](#class_d_v_s_1_1_i_object_1a31db3b716cc815c2c73f826f24384f6a)
* [get\_type](#class_d_v_s_1_1_i_object_1a889c46624013cc3802c7164d153b95f6)
* [IObject](#class_d_v_s_1_1_i_object_1ac8a6734ee192a26b574e9eec520c1495)
* [IObject](#class_d_v_s_1_1_i_object_1aae99076e42a6fc37bf9a71303b3db2b5)
* [IObject](#class_d_v_s_1_1_i_object_1af147aaab5200462fd620dbdd4a39ac76)
* [ObjectDefType](#class_d_v_s_1_1_i_object_1aa897daa1f7d0467515fd108c29015348)
* [operator=](#class_d_v_s_1_1_i_object_1ae90f3c11b1fdf916b59490005b148fd5)
* [operator=](#class_d_v_s_1_1_i_object_1a9953812222e436976af29d1f84967f85)
* [PART](#class_d_v_s_1_1_i_object_1aa897daa1f7d0467515fd108c29015348a8b2484e08a16329d2d91c18c254f5ca6)
* [PLOT](#class_d_v_s_1_1_i_object_1aa897daa1f7d0467515fd108c29015348abe80fa1e67dae7efb56fdb2936914cae)
* [\~IObject](#class_d_v_s_1_1_i_object_1a26912f7959e8f0e610074833c677a904)

## Public types

### Enumeration type ObjectDefType

![][public]

```cpp theme={null}
enum ObjectDefType {
  PART,
  PLOT,
  CASE
}
```

Enum for object definition type.

#### Enumerator PART

Type for a part object.

#### Enumerator PLOT

Type for a plot object.

#### Enumerator CASE

Type for a case object, used for case/dataset wide variables.

## Public functions

### Function IObject

![][public]

```cpp theme={null}
DVS::IObject::IObject()=default
```

default

**Return type**:

### Function \~IObject

![][public]

```cpp theme={null}
virtual DVS::IObject::~IObject()=default
```

default

**Return type**:

### Function IObject

![][public]

```cpp theme={null}
DVS::IObject::IObject(IObject &&)=default
```

default

**Parameters**:

* IObject &&

**Return type**:

### Function operator=

![][public]

```cpp theme={null}
IObject & DVS::IObject::operator=(IObject &&)=default
```

default

**Parameters**:

* [IObject](#class_d_v_s_1_1_i_object_1ac8a6734ee192a26b574e9eec520c1495) &&

**Return type**: [IObject](#class_d_v_s_1_1_i_object_1ac8a6734ee192a26b574e9eec520c1495) &

### Function IObject

![][public]

```cpp theme={null}
DVS::IObject::IObject(const IObject &)=default
```

support copying

**Parameters**:

* const IObject &

**Return type**:

### Function operator=

![][public]

```cpp theme={null}
IObject & DVS::IObject::operator=(const IObject &)=default
```

default

**Parameters**:

* const [IObject](#class_d_v_s_1_1_i_object_1ac8a6734ee192a26b574e9eec520c1495) &

**Return type**: [IObject](#class_d_v_s_1_1_i_object_1ac8a6734ee192a26b574e9eec520c1495) &

### Function get\_name

![][public]
![][const]

```cpp theme={null}
virtual const char * DVS::IObject::get_name() const =0
```

Get the name of the object.

**Returns**:

const char\* name of the object

**Return type**: const char \*

### Function get\_type

![][public]
![][const]

```cpp theme={null}
virtual ObjectDefType DVS::IObject::get_type() const =0
```

Get the type of the object.

**Returns**:

[ObjectDefType](#class_d_v_s_1_1_i_object_1aa897daa1f7d0467515fd108c29015348)

**Return type**: [ObjectDefType](#class_d_v_s_1_1_i_object_1aa897daa1f7d0467515fd108c29015348)

### Function get\_dataset

![][public]
![][const]

```cpp theme={null}
virtual const DVS::IDataset * DVS::IObject::get_dataset() const =0
```

Get the reference dataset for this object.

**Returns**:

const [DVS::IDataset](https://developer.synopsys.com/docs/ensight/dynamic-visualization-store/reference/classes/class_d_v_s_1_1_i_dataset.md)\* reference to the dataset

**Return type**: const [DVS::IDataset](https://developer.synopsys.com/docs/ensight/dynamic-visualization-store/reference/classes/class_d_v_s_1_1_i_dataset.md) \*

### Function get\_num\_metadata

![][public]
![][const]

```cpp theme={null}
virtual uint32_t DVS::IObject::get_num_metadata() const =0
```

Get the number of metadata objects.

**Returns**:

uint32\_t number of metadata objects

**Return type**: uint32\_t

### Function get\_metadata\_key

![][public]
![][const]

```cpp theme={null}
virtual const char * DVS::IObject::get_metadata_key(uint32_t index) const =0
```

Get the metadata key by index.

**Parameters**:

* **index**: index of the metadata to get the key for

**Returns**:

const char\* key of the metadata, nullptr if not found

**Parameters**:

* uint32\_t **index**

**Return type**: const char \*

### Function get\_metadata\_value

![][public]
![][const]

```cpp theme={null}
virtual const char * DVS::IObject::get_metadata_value(uint32_t index) const =0
```

Get the metadata value by index.

**Parameters**:

* **index**: index of the metadata to get the value for

**Returns**:

const char\* value of the metadata, nullptr if not found

**Parameters**:

* uint32\_t **index**

**Return type**: const char \*

### Function get\_metadata\_value

![][public]
![][const]

```cpp theme={null}
virtual const char * DVS::IObject::get_metadata_value(const char *key) const =0
```

Get the metadata value object.

**Parameters**:

* **key**: key to get the value for

**Returns**:

const char\* value of the metadata, nullptr if not found

**Parameters**:

* const char \* **key**

**Return type**: const char \*

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[protected]: https://img.shields.io/badge/-protected-yellow "protected"

[static]: https://img.shields.io/badge/-static-lightgrey "static"

[Python]: https://img.shields.io/badge/language-Python-blue "Python"

[private]: https://img.shields.io/badge/-private-red "private"

[const]: https://img.shields.io/badge/-const-lightblue "const"
