    

 ## On this page

  

 

 # Structure ansys::dpf::Context::internal

 Last update: 25.03.2026 

<a id="structansys-dpf-context-internal"></a>

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

## Members

- [contextToDataTree](structansys-dpf-context-internal.md#structansys-dpf-context-internal-1a66bc5304c6c05f5d54a2dc3a83815626)
- [getAPIVersion](structansys-dpf-context-internal.md#structansys-dpf-context-internal-1ac3e28262cfa961c2d354169056226ef1)

## Public static functions

<a id="structansys-dpf-context-internal-1ac3e28262cfa961c2d354169056226ef1"></a>

### Function getAPIVersion

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

```cpp
static int ansys::dpf::Context::internal::getAPIVersion(Context const &context)

```

**Parameters**:

- [Context](classansys-dpf-context.md#classansys-dpf-context-1ae26354fe1dea7b2691e115275704278b) const &amp; **context**

**Return type**: int

<a id="structansys-dpf-context-internal-1a66bc5304c6c05f5d54a2dc3a83815626"></a>

### Function contextToDataTree

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

```cpp
static DataTree ansys::dpf::Context::internal::contextToDataTree(Context const &context, Client const *const client=nullptr)

```

**Parameters**:

- [Context](classansys-dpf-context.md#classansys-dpf-context-1ae26354fe1dea7b2691e115275704278b) const &amp; **context**
- [Client](classansys-dpf-client.md#classansys-dpf-client) const \*const **client** = nullptr

**Return type**: [DataTree](classansys-dpf-datatree.md#classansys-dpf-datatree)