> ## 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.

# Structure ansys::dpf::Label

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

Container for label.

**See also**: [labels](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-labels.md)

## Members

* [c\_str](#structansys-dpf-label-1a8683632fa258b763080c99228b4f561c)
* [Label](#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80)
* [Label](#structansys-dpf-label-1a26ac4cad65d736a4400cdb84b16f950b)
* [operator!=](#structansys-dpf-label-1a9b977b514452a7add47f54f86fe8c299)
* [operator\<](#structansys-dpf-label-1ae63a064be42fd512c71966bbd014b1e2)
* [operator\<=](#structansys-dpf-label-1a0406afbef012f8193e15713547c7057b)
* [operator==](#structansys-dpf-label-1aacb129a52a9ddbabf8a86553e6cbd9c7)

## Public functions

### Function Label

![][public]

```cpp theme={null}
ansys::dpf::Label::Label(std::string const &name)
```

Create [Label](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-label.md).

**Parameters**:

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

**Return type**:

### Function Label

![][public]

```cpp theme={null}
ansys::dpf::Label::Label(Label const &)=default
```

**Parameters**:

* Label const &

**Return type**:

### Function operator==

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

```cpp theme={null}
bool ansys::dpf::Label::operator==(Label const &) const
```

**Parameters**:

* [Label](#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &

**Return type**: bool

### Function operator\<

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

```cpp theme={null}
bool ansys::dpf::Label::operator<(Label const &) const
```

**Parameters**:

* [Label](#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &

**Return type**: bool

### Function operator\<=

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

```cpp theme={null}
bool ansys::dpf::Label::operator<=(Label const &) const
```

**Parameters**:

* [Label](#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &

**Return type**: bool

### Function operator!=

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

```cpp theme={null}
bool ansys::dpf::Label::operator!=(Label const &) const
```

**Parameters**:

* [Label](#structansys-dpf-label-1aa16652a3ceeda62dce2af07722a0ec80) const &

**Return type**: bool

### Function c\_str

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

```cpp theme={null}
const char * ansys::dpf::Label::c_str() const
```

**Returns**:

Value of label.

**Return type**: const char \*

[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"
