> ## 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::Context::internal

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

## Members

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

## Public static functions

### Function getAPIVersion

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

```cpp theme={null}
static int ansys::dpf::Context::internal::getAPIVersion(Context const &context)
```

**Parameters**:

* [Context](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-context.md#classansys-dpf-context-1ae26354fe1dea7b2691e115275704278b) const & **context**

**Return type**: int

### Function contextToDataTree

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

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

**Parameters**:

* [Context](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-context.md#classansys-dpf-context-1ae26354fe1dea7b2691e115275704278b) const & **context**
* [Client](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-client.md) const \*const **client** = nullptr

**Return type**: [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"
