    

 ## On this page

  

 

 # DVS::IObject Class Reference

 Last update: 16.07.2025 

Interface for part/plot objects for DVS Reader API. [More...](class_d_v_s_1_1_i_object.xhtml#details)

`#include <<a class="el" href="dvs__object__interface_8h_source.xhtml">dvs_object_interface.h</a>>`

Inheritance diagram for DVS::IObject:

 ![](/sites/default/files/migrate-content/tools_for_ensight_post_processing_import/class_d_v_s_1_1_i_object.png)



## <a id="pub-types" name="pub-types"></a>Public Types

enum [ObjectDefType](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348) { [PART](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348a8b2484e08a16329d2d91c18c254f5ca6), [PLOT](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348abe80fa1e67dae7efb56fdb2936914cae), [CASE](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348a03dcfd36d493cd1d828af236e2c357fd) } Enum for object definition type. [More...](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348)  
 ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="ac8a6734ee192a26b574e9eec520c1495"></a> [IObject](class_d_v_s_1_1_i_object.xhtml#ac8a6734ee192a26b574e9eec520c1495) ()=default default   
 <a id="a26912f7959e8f0e610074833c677a904"></a>virtual [~IObject](class_d_v_s_1_1_i_object.xhtml#a26912f7959e8f0e610074833c677a904) ()=default default   
 <a id="aae99076e42a6fc37bf9a71303b3db2b5"></a> [IObject](class_d_v_s_1_1_i_object.xhtml#aae99076e42a6fc37bf9a71303b3db2b5) ([IObject](class_d_v_s_1_1_i_object.xhtml) &amp;&amp;)=default default   
 <a id="aaf7c15538ff1a9e0969f670e8a8beb6d"></a>[IObject](class_d_v_s_1_1_i_object.xhtml) &amp; [operator=](class_d_v_s_1_1_i_object.xhtml#aaf7c15538ff1a9e0969f670e8a8beb6d) ([IObject](class_d_v_s_1_1_i_object.xhtml) &amp;&amp;)=default default   
 <a id="af147aaab5200462fd620dbdd4a39ac76"></a> [IObject](class_d_v_s_1_1_i_object.xhtml#af147aaab5200462fd620dbdd4a39ac76) (const [IObject](class_d_v_s_1_1_i_object.xhtml) &amp;)=default support copying   
 <a id="ae9617f7ddf7f5c4f31cb6d8bdec8d84a"></a>[IObject](class_d_v_s_1_1_i_object.xhtml) &amp; [operator=](class_d_v_s_1_1_i_object.xhtml#ae9617f7ddf7f5c4f31cb6d8bdec8d84a) (const [IObject](class_d_v_s_1_1_i_object.xhtml) &amp;)=default default   
 virtual const char \* [get\_name](class_d_v_s_1_1_i_object.xhtml#ae8edeb61ff2b87d3f3ea9cd6519e73d5) () const =0 Get the name of the object. [More...](class_d_v_s_1_1_i_object.xhtml#ae8edeb61ff2b87d3f3ea9cd6519e73d5)  
 virtual [ObjectDefType](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348) [get\_type](class_d_v_s_1_1_i_object.xhtml#a889c46624013cc3802c7164d153b95f6) () const =0 Get the type of the object. [More...](class_d_v_s_1_1_i_object.xhtml#a889c46624013cc3802c7164d153b95f6)  
 virtual const [DVS::IDataset](class_d_v_s_1_1_i_dataset.xhtml) \* [get\_dataset](class_d_v_s_1_1_i_object.xhtml#a9184ca61b90cf245c5f596f52756001b) () const =0 Get the reference dataset for this object. [More...](class_d_v_s_1_1_i_object.xhtml#a9184ca61b90cf245c5f596f52756001b)  
 virtual uint32\_t [get\_num\_metadata](class_d_v_s_1_1_i_object.xhtml#a31db3b716cc815c2c73f826f24384f6a) () const =0 Get the number of metadata objects. [More...](class_d_v_s_1_1_i_object.xhtml#a31db3b716cc815c2c73f826f24384f6a)  
 virtual const char \* [get\_metadata\_key](class_d_v_s_1_1_i_object.xhtml#a76a8b0bf7b55678cba9bcdb7e19c9a7f) (uint32\_t index) const =0 Get the metadata key by index. [More...](class_d_v_s_1_1_i_object.xhtml#a76a8b0bf7b55678cba9bcdb7e19c9a7f)  
 virtual const char \* [get\_metadata\_value](class_d_v_s_1_1_i_object.xhtml#aa391aa339c696ddb5fe582eb59bb7197) (uint32\_t index) const =0 Get the metadata value by index. [More...](class_d_v_s_1_1_i_object.xhtml#aa391aa339c696ddb5fe582eb59bb7197)  
 virtual const char \* [get\_metadata\_value](class_d_v_s_1_1_i_object.xhtml#a5ade463d34bba53bb9e66fa547a616bd) (const char \*key) const =0 Get the metadata value object. [More...](class_d_v_s_1_1_i_object.xhtml#a5ade463d34bba53bb9e66fa547a616bd)  
 <a id="details" name="details"></a>## Detailed Description

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](dvs__query__interface_8h.xhtml "DVS Reader API Query Interface.") for more information.

Definition at line [44](dvs__object__interface_8h_source.xhtml#l00044) of file [dvs\_object\_interface.h](dvs__object__interface_8h_source.xhtml).



## Member Enumeration Documentation

<a id="aa897daa1f7d0467515fd108c29015348"></a>## [◆ ](#aa897daa1f7d0467515fd108c29015348)ObjectDefType

 enum [DVS::IObject::ObjectDefType](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348)

Enum for object definition type.

Enumerator<a id="aa897daa1f7d0467515fd108c29015348a8b2484e08a16329d2d91c18c254f5ca6"></a>PART Type for a part object.

<a id="aa897daa1f7d0467515fd108c29015348abe80fa1e67dae7efb56fdb2936914cae"></a>PLOT Type for a plot object.

<a id="aa897daa1f7d0467515fd108c29015348a03dcfd36d493cd1d828af236e2c357fd"></a>CASE Type for a case object, used for case/dataset wide variables.

Definition at line [59](dvs__object__interface_8h_source.xhtml#l00059) of file [dvs\_object\_interface.h](dvs__object__interface_8h_source.xhtml).





## Member Function Documentation

<a id="a9184ca61b90cf245c5f596f52756001b"></a>## [◆ ](#a9184ca61b90cf245c5f596f52756001b)get\_dataset()

 virtual const [DVS::IDataset](class_d_v_s_1_1_i_dataset.xhtml)\* DVS::IObject::get\_dataset  ( )  const  pure virtual 

Get the reference dataset for this object.

Returnsconst [DVS::IDataset](class_d_v_s_1_1_i_dataset.xhtml "Interface for datasets for the DVS Reader API.")\* reference to the dataset 



<a id="a76a8b0bf7b55678cba9bcdb7e19c9a7f"></a>## [◆ ](#a76a8b0bf7b55678cba9bcdb7e19c9a7f)get\_metadata\_key()

 virtual const char\* DVS::IObject::get\_metadata\_key  ( uint32\_t  *index*)  const  pure virtual 

Get the metadata key by index.

Parameters indexindex of the metadata to get the key for Returnsconst char\* key of the metadata, nullptr if not found 



<a id="a5ade463d34bba53bb9e66fa547a616bd"></a>## [◆ ](#a5ade463d34bba53bb9e66fa547a616bd)get\_metadata\_value() \[1/2\]

 virtual const char\* DVS::IObject::get\_metadata\_value  ( const char \*  *key*)  const  pure virtual 

Get the metadata value object.

Parameters keykey to get the value for Returnsconst char\* value of the metadata, nullptr if not found 



<a id="aa391aa339c696ddb5fe582eb59bb7197"></a>## [◆ ](#aa391aa339c696ddb5fe582eb59bb7197)get\_metadata\_value() \[2/2\]

 virtual const char\* DVS::IObject::get\_metadata\_value  ( uint32\_t  *index*)  const  pure virtual 

Get the metadata value by index.

Parameters indexindex of the metadata to get the value for Returnsconst char\* value of the metadata, nullptr if not found 



<a id="ae8edeb61ff2b87d3f3ea9cd6519e73d5"></a>## [◆ ](#ae8edeb61ff2b87d3f3ea9cd6519e73d5)get\_name()

 virtual const char\* DVS::IObject::get\_name  ( )  const  pure virtual 

Get the name of the object.

Returnsconst char\* name of the object 



<a id="a31db3b716cc815c2c73f826f24384f6a"></a>## [◆ ](#a31db3b716cc815c2c73f826f24384f6a)get\_num\_metadata()

 virtual uint32\_t DVS::IObject::get\_num\_metadata  ( )  const  pure virtual 

Get the number of metadata objects.

Returnsuint32\_t number of metadata objects 



<a id="a889c46624013cc3802c7164d153b95f6"></a>## [◆ ](#a889c46624013cc3802c7164d153b95f6)get\_type()

 virtual [ObjectDefType](class_d_v_s_1_1_i_object.xhtml#aa897daa1f7d0467515fd108c29015348) DVS::IObject::get\_type  ( )  const  pure virtual 

Get the type of the object.

ReturnsObjectDefType 



---

The documentation for this class was generated from the following file:- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/ensight/user\_defined\_src/readers/dvs/include/[dvs\_object\_interface.h](dvs__object__interface_8h_source.xhtml)