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

# Class ansys::dpf::Homogeneity

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

User defined physical measurement quantity.

Allows for the definition of a new measurement quantity. Many measurements quantities are predefined.

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

## Members

* [c\_str](#classansys-dpf-homogeneity-1a74bcfe9b2ed50910f2da21944e3b7437)
* [Homogeneity](#classansys-dpf-homogeneity-1a5ddd95a1b4667a297eb19531f722d27e)
* [Homogeneity](#classansys-dpf-homogeneity-1a192f79a5c56ddd9304822227218b199e)
* [Homogeneity](#classansys-dpf-homogeneity-1abab33dd46353450eb8b025e792a0c74f)
* [operator!=](#classansys-dpf-homogeneity-1a10804e4a1554cd01621fceb38b77fdfe)
* [operator=](#classansys-dpf-homogeneity-1a1cdc8c0da49ee50ab0111341f070322e)
* [operator==](#classansys-dpf-homogeneity-1a04c1ddd43c0799283b283b6c65ee56ea)

## Public functions

### Function Homogeneity

![][public]

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

Create new homogeneity.

**Parameters**:

* std::string const & **name** = "Unknown" : \[in] Optional name of homogeneity.

**Return type**:

### Function Homogeneity

![][public]

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

**Parameters**:

* Homogeneity const &

**Return type**:

### Function Homogeneity

![][public]

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

**Parameters**:

* Homogeneity &&

**Return type**:

### Function operator=

![][public]

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

**Parameters**:

* [Homogeneity](#classansys-dpf-homogeneity-1a5ddd95a1b4667a297eb19531f722d27e) const &

**Return type**: [Homogeneity](#classansys-dpf-homogeneity-1a5ddd95a1b4667a297eb19531f722d27e) &

### Function operator==

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

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

**Parameters**:

* [Homogeneity](#classansys-dpf-homogeneity-1a5ddd95a1b4667a297eb19531f722d27e) const & **rhs**

**Return type**: bool

### Function operator!=

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

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

**Parameters**:

* [Homogeneity](#classansys-dpf-homogeneity-1a5ddd95a1b4667a297eb19531f722d27e) const & **rhs**

**Return type**: bool

### Function c\_str

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

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

Gets name of homogeneity.
**Returns**:

Name of homogeneity.

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