Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::PropFieldCursor Class Reference

Last update: 10.07.2023

#include <dpf_api.h>

Public Member Functions

dp_intdata () const
 
dp_intoperator[] (dp_int index) const
 
dp_int size () const
 
dp_id id () const
 
dp_int numberOfComponents () const
 
dp_int numberOfElementaryData () const
 
bool defined () const
 

Detailed Description

Represents complete property data(id, size, num elementary data)

Examples
DataApis.cpp.

Member Function Documentation

◆ data()

dp_int * ansys::dpf::PropFieldCursor::data ( ) const
inline
Returns
Pointer to property data.
Examples
DataApis.cpp.

◆ defined()

bool ansys::dpf::PropFieldCursor::defined ( ) const
inline
Returns
Indication that property defined

◆ id()

dp_id ansys::dpf::PropFieldCursor::id ( ) const
inline
Returns
Id of property.

◆ numberOfComponents()

dp_int ansys::dpf::PropFieldCursor::numberOfComponents ( ) const
inline
Returns
Number of components in property data.

◆ numberOfElementaryData()

dp_int ansys::dpf::PropFieldCursor::numberOfElementaryData ( ) const
inline
Returns
Number of entries in property data.

◆ operator[]()

dp_int & ansys::dpf::PropFieldCursor::operator[] ( dp_int  index) const
inline
Returns
Property data at given index.
Parameters
[in]indexIndex of data within PropertyField.

◆ size()

dp_int ansys::dpf::PropFieldCursor::size ( ) const
inline
Returns
Size of property data.
Examples
DataApis.cpp.