> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ansys::dpf::PropFieldCursor

![][C++]
![][public]

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

## Members

* [data](#classansys-dpf-propfieldcursor-1afb9be4ae3088090d4caf097455fe877f)
* [defined](#classansys-dpf-propfieldcursor-1a21c28026e67c8724b6610f545647f289)
* [id](#classansys-dpf-propfieldcursor-1ae4525edd503db4d6a9892428facc2f92)
* [numberOfComponents](#classansys-dpf-propfieldcursor-1a8647f34e38981812b3a6c37b0d859567)
* [numberOfElementaryData](#classansys-dpf-propfieldcursor-1aba47f2547a400007ff5140bb23addaf6)
* [operator\[\]](#classansys-dpf-propfieldcursor-1ac90d986242e37c0ff902cfb88fbf62b8)
* [size](#classansys-dpf-propfieldcursor-1a269c1fad1eab6210e2f0e271bd0a1b34)

## Friends

### Friend PropertyField

![][C++]
![][public]

## Public functions

### Function data

![][public]
![][const]

```cpp theme={null}
dp_int * ansys::dpf::PropFieldCursor::data() const
```

**Returns**:

Pointer to property data.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) \*

### Function operator\[]

![][public]
![][const]

```cpp theme={null}
dp_int & ansys::dpf::PropFieldCursor::operator[](dp_int index) const
```

**Returns**:

Property data at given index.

**Parameters**:

* [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) **index**: \[in] Index of data within [PropertyField](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-propertyfield.md).

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0) &

### Function size

![][public]
![][const]

```cpp theme={null}
dp_int ansys::dpf::PropFieldCursor::size() const
```

**Returns**:

Size of property data.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

### Function id

![][public]
![][const]

```cpp theme={null}
dp_id ansys::dpf::PropFieldCursor::id() const
```

**Returns**:

Id of property.

**Return type**: [dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1ab4574c9af3f2bb8011da7d1f4c8da20e)

### Function numberOfComponents

![][public]
![][const]

```cpp theme={null}
dp_int ansys::dpf::PropFieldCursor::numberOfComponents() const
```

**Returns**:

Number of components in property data.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

### Function numberOfElementaryData

![][public]
![][const]

```cpp theme={null}
dp_int ansys::dpf::PropFieldCursor::numberOfElementaryData() const
```

**Returns**:

Number of entries in property data.

**Return type**: [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1a60d181a1f9d29cc7cc38b25dac4401f0)

### Function defined

![][public]
![][const]

```cpp theme={null}
bool ansys::dpf::PropFieldCursor::defined() const
```

**Returns**:

Indication that property defined

**Return type**: bool

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
