> ## 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::CacheInformation::LevelAndDestination

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

## Members

* [\_destination\_property](#classansys-dpf-cacheinformation-levelanddestination-1a0f41cf7694abd66f7b464c5b9cf4db57)
* [\_level\_property](#classansys-dpf-cacheinformation-levelanddestination-1a9d4ab0be2b48d2e8a1a0df3558922a36)
* [Destination](#classansys-dpf-cacheinformation-levelanddestination-1a688d62a5059a0a6e4a3fc6389bb25730)
* [get](#classansys-dpf-cacheinformation-levelanddestination-1ae0e573e2894a2a3fb6fd3e113fd38d6c)
* [getDestination](#classansys-dpf-cacheinformation-levelanddestination-1af4246fcfacf65e32bc5848941bc33208)
* [getLevel](#classansys-dpf-cacheinformation-levelanddestination-1af75c633724dda9c32bc1f27587be321a)
* [Level](#classansys-dpf-cacheinformation-levelanddestination-1a70af213b42855440433a7d5bbc1ecbf5)
* [LevelAndDestination](#classansys-dpf-cacheinformation-levelanddestination-1a13603a73f2a4c2c35c23f6b2f9de43b9)

## Public types

### Enumeration type Level

![][public]

```cpp theme={null}
enum Level {
  MIN_LEVEL = 0,
  LEVEL_ONE = 1,
  LEVEL_TWO = 2,
  LEVEL_THREE = 3,
  MAX_LEVEL = 4
}
```

#### Enumerator MIN\_LEVEL

#### Enumerator LEVEL\_ONE

#### Enumerator LEVEL\_TWO

#### Enumerator LEVEL\_THREE

#### Enumerator MAX\_LEVEL

### Enumeration type Destination

![][public]

```cpp theme={null}
enum Destination {
  RAM,
  DISK
}
```

#### Enumerator RAM

#### Enumerator DISK

## Public static attributes

### Variable \_level\_property

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

```cpp theme={null}
const std::string ansys::dpf::CacheInformation::LevelAndDestination::_level_property
```

**Type**: const std::string

### Variable \_destination\_property

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

```cpp theme={null}
const std::string ansys::dpf::CacheInformation::LevelAndDestination::_destination_property
```

**Type**: const std::string

## Public functions

### Function LevelAndDestination

![][public]

```cpp theme={null}
ansys::dpf::CacheInformation::LevelAndDestination::LevelAndDestination(const Level level=Level::MIN_LEVEL, const Destination &destination=Destination::RAM)
```

**Parameters**:

* const Level **level** = Level::MIN\_LEVEL
* const Destination & **destination** = Destination::RAM

**Return type**:

### Function getLevel

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

```cpp theme={null}
int ansys::dpf::CacheInformation::LevelAndDestination::getLevel() const
```

**Return type**: int

### Function getDestination

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

```cpp theme={null}
int ansys::dpf::CacheInformation::LevelAndDestination::getDestination() const
```

**Return type**: int

### Function get

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

```cpp theme={null}
const DataTree & ansys::dpf::CacheInformation::LevelAndDestination::get() const
```

**Return type**: const [DataTree](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-datatree.md) &

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