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

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

To be used in order to write external operators

## Inner classes

* [ansys::dpf::CacheInformation::LevelAndDestination](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-cacheinformation-levelanddestination.md)

## Members

* [add](#classansys-dpf-cacheinformation-1a2013c0dba404b5949969a4d055bb57b0)
* [get](#classansys-dpf-cacheinformation-1a23ed03464c433acf6e9995a300ac832f)

## Public functions

### Function add

![][public]

```cpp theme={null}
void ansys::dpf::CacheInformation::add(const std::string &pinName, const LevelAndDestination &levelAndDestination)
```

**Parameters**:

* const std::string & **pinName**
* const LevelAndDestination & **levelAndDestination**

**Return type**: void

### Function get

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

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

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