    

 ## On this page

  

 

 # DataObjectVector Class Reference

 Last update: 16.07.2025 

A vector of [DataObjectPtr](class_data_object_ptr.xhtml "A shared pointer wrapper for data objects. "). [More...](class_data_object_vector.xhtml#details)

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

<a id="a797064178a8d629c12e3ab5bdb042302"></a>typedef std::vector&lt; [DataObjectPtr](class_data_object_ptr.xhtml) &gt; [Base](class_data_object_vector.xhtml#a797064178a8d629c12e3ab5bdb042302) the data type of the base class   
 <a id="a6b430a59c0368bd18944f8f57744cfec"></a>typedef std::vector&lt; [DataObjectVector](class_data_object_vector.xhtml) &gt; [MultiSamplesVector](class_data_object_vector.xhtml#a6b430a59c0368bd18944f8f57744cfec) a vector of vectors of pointers of this class   
 ## <a name="pub-methods"></a>Public Member Functions

<a id="a7ffbb0488164e86ae212d16aed483601"></a> [DataObjectVector](class_data_object_vector.xhtml#a7ffbb0488164e86ae212d16aed483601) () default constructor (creates an ampty set)   
  [DataObjectVector](class_data_object_vector.xhtml#a5fbb9ecc4d7ade66e0f5b0709a617726) ([DataObjectVector](class_data_object_vector.xhtml) other) copy constructor [More...](#a5fbb9ecc4d7ade66e0f5b0709a617726)  
 [DataObjectVector](class_data_object_vector.xhtml) [operator=](class_data_object_vector.xhtml#ad8f1d8bb2f00d92f419d1ced74267abd) ([DataObjectVector](class_data_object_vector.xhtml) other) copy-assignment operator [More...](#ad8f1d8bb2f00d92f419d1ced74267abd)  
 bool [operator==](class_data_object_vector.xhtml#ac1735f7b9ee2aa6bbf447b2d1ceb9999) ([DataObjectVector](class_data_object_vector.xhtml) other) ## <a name="pub-attribs"></a>Public Attributes

<a id="af400dbe3fe1572c567f882190c772196"></a>T **elements** STL member.   
 <a id="details" name="details"></a>## Detailed Description

A vector of [DataObjectPtr](class_data_object_ptr.xhtml "A shared pointer wrapper for data objects. ").

**[Deprecated:](deprecated.xhtml#_deprecated000003)**{ [DataObjectVector](class_data_object_vector.xhtml "A vector of DataObjectPtr. ") is obsolete. Use the DataObjectContainers \[\] index operator to iterate over a selection of [DataObjectPtr](class_data_object_ptr.xhtml "A shared pointer wrapper for data objects. ").}It is based on a C++ std::vector, providing fast random element access of O(1).



## Constructor &amp; Destructor Documentation

<a id="a5fbb9ecc4d7ade66e0f5b0709a617726"></a>## [◆ ](#a5fbb9ecc4d7ade66e0f5b0709a617726)DataObjectVector()

 [DataObjectVector](class_data_object_vector.xhtml)  ( [DataObjectVector](class_data_object_vector.xhtml)  *other*) 

copy constructor

Parameters otherthe items to be copied from 



## Member Function Documentation

<a id="ad8f1d8bb2f00d92f419d1ced74267abd"></a>## [◆ ](#ad8f1d8bb2f00d92f419d1ced74267abd)operator=()

 [DataObjectVector](class_data_object_vector.xhtml) operator=  ( [DataObjectVector](class_data_object_vector.xhtml)  *other*) 

copy-assignment operator

Parameters otherthe items to be assign-copied from 



<a id="ac1735f7b9ee2aa6bbf447b2d1ceb9999"></a>## [◆ ](#ac1735f7b9ee2aa6bbf447b2d1ceb9999)operator==()

 bool operator==  ( [DataObjectVector](class_data_object_vector.xhtml)  *other*) 

Returnstrue if both objects contain the same content Parameters otherthe other object to be compared with