Skip to main content
#include <dpf_api.h> Inheritance diagram for ansys::dpf::PropertyField:

Public Member Functions

Public Member Functions inherited from ansys::dpf::DpfTypes

Static Public Member Functions

Detailed Description

Holds Integral (int32) data describing a Property located on given entities (the Property Field’s data is bounded with its scoping). Is the equivalent of the Field but with integral values data (and not double values). Examples DataApis.cpp, and ModelTest.cpp.

Constructor & Destructor Documentation

PropertyField() [1/3]

Create an empty property field with a client. Parameters

PropertyField() [2/3]

Create a property with number of entities and data size. Parameters

PropertyField() [3/3]

Retrieve an existing instance of PropertyField on a server.
Parameters

Member Function Documentation

createPropertyFieldWithTransformation()

static Instantiate a PropertyField with Transformation. For each call to a getter, the workflow in input is connected this PropertyField to input_name_to_connect and the PropertyField output in output_name_to_eval is used as the getter instance. Parameters

data()

Returns DpfVector of data array.

dataById()

Returns Pointer to entity data given by id. Parameters

dataByIndex()

Returns Pointer to entity data given by index. Parameters

dataPointer()

Returns DpfVector of data array.

dataSize()

Returns Size of the data container. Examples ModelTest.cpp.

deep_copy() [1/2]

Make a deep copy locally.

deep_copy() [2/2]

Make a deep copy on a given client. Parameters

entityData()

Returns DpfVector of data array of an entity, by index. Parameters

entityDataById()

Returns DpfVector of data array of an entity, by id. Parameters

fieldDefinition()

Returns FieldDefinition of the field.

fillCursor()

Get data at a given index. Parameters Examples DataApis.cpp.

getData()

Get all data for property entities. Parameters

getIds()

Get ids of property entities. Parameters

location()

Returns Location of the property.

name()

Returns Name of CustomTypeField.

numberOfComponents()

Returns Number of components in the property data.

numberOfElementaryData()

Returns Number of elementary data (size = number of components) contained in the PropertyField.

push_back() [1/3]

Push back the entity data. Parameters

push_back() [2/3]

Push back the entity data. Parameters

push_back() [3/3]

Push back the entity data. Parameters

reserve()

Reserve the Field. Only implemented for in process udage. To reserve the size for gRPC usage, use the constructor. Parameters

resize()

Reserve the Field. Parameters

scoping()

Returns Scoping of the property.

setData() [1/2]

Set the data of the property field. Parameters

setData() [2/2]

Set the data of the property field. Parameters

setDataPointer() [1/2]

Set the data pointer of the property field. Parameters

setDataPointer() [2/2]

Set the data pointer of the property field. Parameters

setFieldDefinition()

Set the FieldDefinition.

setName()

Set name of CustomTypeField. Parameters

setScoping()

Set the scoping of the property field.