    

 ## On this page

  

 

 # Structure ansys::dpf::quantity\_types

 Last update: 25.03.2026 

<a id="structansys-dpf-quantity-types"></a>

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

Predefined quantity types.

Data is defined with a quantity type.

## Members

- [add\_custom](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1a32aaa6266dab39ee8aeb01f81f6ba327)
- [all](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1ab605c047941b3bd642a77d8e3440038a)
- [continuous](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1a8c7ced680f31c1cc9bb219c14641c29f)
- [discret](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1aaeedb3e644391be386435c1a358cf3d3)
- [frequency](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1aafd216e8bd12a3ea87d44fa0d893fce1)
- [increment](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1a52a2e8c72ef5af56a6732717fa2facd9)
- [integrated](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1ad18a5fed8aaa1182529aa96e37757347)
- [mode](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1a37b69863399f1749845f812e405605b5)
- [position](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1a34af00c2bbea7d4a10dc8fd21f13f7b2)
- [time](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1ac66abf24f8860b9c74f9196ce770ec52)
- [unknown](structansys-dpf-quantity-types.md#structansys-dpf-quantity-types-1af098512bba4229bfb8996c55dc979ec6)

## Public static attributes

<a id="structansys-dpf-quantity-types-1aaeedb3e644391be386435c1a358cf3d3"></a>

### Variable discret

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

```cpp
const QuantityType ansys::dpf::quantity_types::discret

```

Predefined discret quantity type, can not be interpolated.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1a8c7ced680f31c1cc9bb219c14641c29f"></a>

### Variable continuous

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

```cpp
const QuantityType ansys::dpf::quantity_types::continuous

```

Predefined continuous quantity type.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1ad18a5fed8aaa1182529aa96e37757347"></a>

### Variable integrated

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

```cpp
const QuantityType ansys::dpf::quantity_types::integrated

```

Predefined integrated quantity type, can not be averaged.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1a34af00c2bbea7d4a10dc8fd21f13f7b2"></a>

### Variable position

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

```cpp
const QuantityType ansys::dpf::quantity_types::position

```

Predefined position quantity type.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1a52a2e8c72ef5af56a6732717fa2facd9"></a>

### Variable increment

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

```cpp
const QuantityType ansys::dpf::quantity_types::increment

```

Predefined increment quantity type.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1ac66abf24f8860b9c74f9196ce770ec52"></a>

### Variable time

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

```cpp
const QuantityType ansys::dpf::quantity_types::time

```

Predefined time quantity type.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1aafd216e8bd12a3ea87d44fa0d893fce1"></a>

### Variable frequency

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

```cpp
const QuantityType ansys::dpf::quantity_types::frequency

```

Predefined frequency quantity type.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1a37b69863399f1749845f812e405605b5"></a>

### Variable mode

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

```cpp
const QuantityType ansys::dpf::quantity_types::mode

```

Predefined mode quantity type.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

<a id="structansys-dpf-quantity-types-1af098512bba4229bfb8996c55dc979ec6"></a>

### Variable unknown

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

```cpp
const QuantityType ansys::dpf::quantity_types::unknown

```

Predefined unknown location.

**Type**: const [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype)

## Public static functions

<a id="structansys-dpf-quantity-types-1ab605c047941b3bd642a77d8e3440038a"></a>

### Function all

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

```cpp
static std::vector< QuantityType > const  & ansys::dpf::quantity_types::all()

```

Gets all user-defined and predefined quantities types. **Returns**:

All quantity types.

**Return type**: std::vector&lt; [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype) &gt; const &amp;

<a id="structansys-dpf-quantity-types-1a32aaa6266dab39ee8aeb01f81f6ba327"></a>

### Function add\_custom

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

```cpp
static void ansys::dpf::quantity_types::add_custom(QuantityType const &)

```

Adds a custom defined location.

**Parameters**:

- [QuantityType](structansys-dpf-quantitytype.md#structansys-dpf-quantitytype) const &amp;

**Return type**: void