    

 ## On this page

  

 

 # Structure ansys::dpf::Label

 Last update: 25.03.2026 

<a id="structansys-dpf-label"></a>

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

Container for label.

**See also**: [labels](structansys-dpf-labels.md#structansys-dpf-labels)

## Members

- [c\_str](structansys-dpf-label.md#structansys-dpf-label-1a8683632fa258b763080c99228b4f561c)
- [Label](structansys-dpf-label.md#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80)
- [Label](structansys-dpf-label.md#structansys-dpf-label-1a26ac4cad65d736a4400cdb84b16f950b)
- [operator!=](structansys-dpf-label.md#structansys-dpf-label-1a9b977b514452a7add47f54f86fe8c299)
- [operator&lt;](structansys-dpf-label.md#structansys-dpf-label-1ae63a064be42fd512c71966bbd014b1e2)
- [operator&lt;=](structansys-dpf-label.md#structansys-dpf-label-1a0406afbef012f8193e15713547c7057b)
- [operator==](structansys-dpf-label.md#structansys-dpf-label-1aacb129a52a9ddbabf8a86553e6cbd9c7)

## Public functions

<a id="structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80"></a>

### Function Label

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

```cpp
ansys::dpf::Label::Label(std::string const &name)

```

Create [Label](structansys-dpf-label.md#structansys-dpf-label).

**Parameters**:

- std::string const &amp; **name**: \[in\] Name of label.

**Return type**:

<a id="structansys-dpf-label-1a26ac4cad65d736a4400cdb84b16f950b"></a>

### Function Label

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

```cpp
ansys::dpf::Label::Label(Label const &)=default

```

**Parameters**:

- Label const &amp;

**Return type**:

<a id="structansys-dpf-label-1aacb129a52a9ddbabf8a86553e6cbd9c7"></a>

### Function operator==

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool ansys::dpf::Label::operator==(Label const &) const

```

**Parameters**:

- [Label](structansys-dpf-label.md#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &amp;

**Return type**: bool

<a id="structansys-dpf-label-1ae63a064be42fd512c71966bbd014b1e2"></a>

### Function operator&lt;

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool ansys::dpf::Label::operator<(Label const &) const

```

**Parameters**:

- [Label](structansys-dpf-label.md#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &amp;

**Return type**: bool

<a id="structansys-dpf-label-1a0406afbef012f8193e15713547c7057b"></a>

### Function operator&lt;=

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool ansys::dpf::Label::operator<=(Label const &) const

```

**Parameters**:

- [Label](structansys-dpf-label.md#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &amp;

**Return type**: bool

<a id="structansys-dpf-label-1a9b977b514452a7add47f54f86fe8c299"></a>

### Function operator!=

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool ansys::dpf::Label::operator!=(Label const &) const

```

**Parameters**:

- [Label](structansys-dpf-label.md#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &amp;

**Return type**: bool

<a id="structansys-dpf-label-1a8683632fa258b763080c99228b4f561c"></a>

### Function c\_str

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
const char * ansys::dpf::Label::c_str() const

```

**Returns**:

Value of label.

**Return type**: const char \*