Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

DataObjectVector Class Reference

Last update: 16.07.2025

A vector of DataObjectPtr. More...

Public Types

typedef std::vector< DataObjectPtrBase
 the data type of the base class
 
typedef std::vector< DataObjectVectorMultiSamplesVector
 a vector of vectors of pointers of this class
 

Public Member Functions

 DataObjectVector ()
 default constructor (creates an ampty set)
 
 DataObjectVector (DataObjectVector other)
 copy constructor More...
 
DataObjectVector operator= (DataObjectVector other)
 copy-assignment operator More...
 
bool operator== (DataObjectVector other)
 

Public Attributes

elements
 STL member.
 

Detailed Description

A vector of DataObjectPtr.

Deprecated:
{ DataObjectVector is obsolete. Use the DataObjectContainers [] index operator to iterate over a selection of DataObjectPtr.}

It is based on a C++ std::vector, providing fast random element access of O(1).

Constructor & Destructor Documentation

◆ DataObjectVector()

copy constructor

Parameters
otherthe items to be copied from

Member Function Documentation

◆ operator=()

DataObjectVector operator= ( DataObjectVector  other)

copy-assignment operator

Parameters
otherthe items to be assign-copied from

◆ operator==()

bool operator== ( DataObjectVector  other)
Returns
true if both objects contain the same content
Parameters
otherthe other object to be compared with

Connect with Ansys