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

Public Member Functions

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

Static Public Member Functions

Detailed Description

Defines an indexation for fields container. See also Using collections and labels Examples DataApis.cpp, and DataExport.cpp.

Constructor & Destructor Documentation

LabelSpace() [1/5]

Create a new LabelSpace for a given client. Parameters

LabelSpace() [2/5]

Consturct new LabelSpace from labels and values. Parameters

LabelSpace() [3/5]

Construct new LabelSpace from pairs of labels and values. Parameters

LabelSpace() [4/5]

Consturct new LabelSpace from labels and values. Parameters

LabelSpace() [5/5]

Construct new LabelSpace from pairs of labels and values. Parameters

Member Function Documentation

add()

Add a label with value. If label already exists, nothing happens. Parameters

addAnyDomain()

Set domain label to -1. Returns Reference to labelspace. See also labels

addAnyTime()

Set time label to -1. Returns Reference to labelspace. See also labels

at()

Returns Value of label within space. Parameters

deep_copy()

Create a new LabelSpace on a server by copying all the data of this LabelSpace. Parameters

emptyLabelSpace()

static Create an empty LabelSpace Returns Empty LabelSpace

erase()

Removes label from space. Parameters

has()

Returns Indication that label exists within space. Parameters

labelsName()

Returns name of label at given index. Parameters

mergeWith()

Inserts all labels and ids of other in this.

set()

Set an already existing label to value. If label does not exist it is added. Parameters

setComplex()

Set complex label to value. Returns Reference to labelspace. See also labels Parameters

setDomain()

Set domain label to value Returns Reference to labelspace. See also labels Parameters

setTime()

Set time label to value. Returns Reference to labelspace. See also labels Parameters

size()

Returns Number of labels in space.