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

Public Member Functions

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

Static Public Member Functions

Detailed Description

Holds string data describing a Property located on given entities (the StringField’s data is bounded with its scoping). Is the equivalent of the Field but with string values data (and not double values).

Constructor & Destructor Documentation

StringField() [1/3]

Create an empty property field with a client. Parameters

StringField() [2/3]

Retrieve an existing instance of StringField on a server.
Parameters

StringField() [3/3]

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

Member Function Documentation

data()

Returns DpfVector of data array.

dataSize()

Returns Size of the data container.

entityData()

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

entityDataById()

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

getData()

Get all data for property entities. Parameters

location()

Returns Location of the property.

push_back() [1/2]

Push back the entity data. Parameters

push_back() [2/2]

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()

Set the data of the property field. Parameters

setScoping()

Set the scoping of the property field.