    

 ## On this page

  

 

 # ansys::dpf::PropFieldCursor Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

[dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) \* [data](classansys_1_1dpf_1_1PropFieldCursor.xhtml#afb9be4ae3088090d4caf097455fe877f) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) &amp; [operator\[\]](classansys_1_1dpf_1_1PropFieldCursor.xhtml#ac90d986242e37c0ff902cfb88fbf62b8) ([dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) index) const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [size](classansys_1_1dpf_1_1PropFieldCursor.xhtml#a269c1fad1eab6210e2f0e271bd0a1b34) () const [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [id](classansys_1_1dpf_1_1PropFieldCursor.xhtml#ae4525edd503db4d6a9892428facc2f92) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfComponents](classansys_1_1dpf_1_1PropFieldCursor.xhtml#a8647f34e38981812b3a6c37b0d859567) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfElementaryData](classansys_1_1dpf_1_1PropFieldCursor.xhtml#aba47f2547a400007ff5140bb23addaf6) () const bool [defined](classansys_1_1dpf_1_1PropFieldCursor.xhtml#a21c28026e67c8724b6610f545647f289) () const <a id="details" name="details"></a>## Detailed Description

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

Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#_a61).

## Member Function Documentation

<a id="afb9be4ae3088090d4caf097455fe877f" name="afb9be4ae3088090d4caf097455fe877f"></a>## [◆ ](#afb9be4ae3088090d4caf097455fe877f)data()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) \* ansys::dpf::PropFieldCursor::data  ( )  const  inline 

ReturnsPointer to property data. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a63).



<a id="a21c28026e67c8724b6610f545647f289" name="a21c28026e67c8724b6610f545647f289"></a>## [◆ ](#a21c28026e67c8724b6610f545647f289)defined()

 bool ansys::dpf::PropFieldCursor::defined  ( )  const  inline 

ReturnsIndication that property defined 



<a id="ae4525edd503db4d6a9892428facc2f92" name="ae4525edd503db4d6a9892428facc2f92"></a>## [◆ ](#ae4525edd503db4d6a9892428facc2f92)id()

 [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) ansys::dpf::PropFieldCursor::id  ( )  const  inline 

ReturnsId of property. 



<a id="a8647f34e38981812b3a6c37b0d859567" name="a8647f34e38981812b3a6c37b0d859567"></a>## [◆ ](#a8647f34e38981812b3a6c37b0d859567)numberOfComponents()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::PropFieldCursor::numberOfComponents  ( )  const  inline 

ReturnsNumber of components in property data. 



<a id="aba47f2547a400007ff5140bb23addaf6" name="aba47f2547a400007ff5140bb23addaf6"></a>## [◆ ](#aba47f2547a400007ff5140bb23addaf6)numberOfElementaryData()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::PropFieldCursor::numberOfElementaryData  ( )  const  inline 

ReturnsNumber of entries in property data. 



<a id="ac90d986242e37c0ff902cfb88fbf62b8" name="ac90d986242e37c0ff902cfb88fbf62b8"></a>## [◆ ](#ac90d986242e37c0ff902cfb88fbf62b8)operator\[\]()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) &amp; ansys::dpf::PropFieldCursor::operator\[\]  ( [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0)  *index*)  const  inline 

ReturnsProperty data at given index. Parameters \[in\]indexIndex of data within [PropertyField](classansys_1_1dpf_1_1PropertyField.xhtml). 



<a id="a269c1fad1eab6210e2f0e271bd0a1b34" name="a269c1fad1eab6210e2f0e271bd0a1b34"></a>## [◆ ](#a269c1fad1eab6210e2f0e271bd0a1b34)size()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::PropFieldCursor::size  ( )  const  inline 

ReturnsSize of property data. Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#a64).