> ## 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::quantity_types

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

Predefined quantity types.

Data is defined with a quantity type.

## Members

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

## Public static attributes

### Variable discret

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::discret
```

Predefined discret quantity type, can not be interpolated.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable continuous

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::continuous
```

Predefined continuous quantity type.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable integrated

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::integrated
```

Predefined integrated quantity type, can not be averaged.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable position

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::position
```

Predefined position quantity type.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable increment

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::increment
```

Predefined increment quantity type.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable time

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::time
```

Predefined time quantity type.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable frequency

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::frequency
```

Predefined frequency quantity type.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable mode

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::mode
```

Predefined mode quantity type.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

### Variable unknown

![][public]
![][static]

```cpp theme={null}
const QuantityType ansys::dpf::quantity_types::unknown
```

Predefined unknown location.

**Type**: const [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md)

## Public static functions

### Function all

![][public]
![][static]

```cpp theme={null}
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\< [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md) > const &

### Function add\_custom

![][public]
![][static]

```cpp theme={null}
static void ansys::dpf::quantity_types::add_custom(QuantityType const &)
```

Adds a custom defined location.

**Parameters**:

* [QuantityType](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-quantitytype.md) const &

**Return type**: void

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