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

# ansys::dpf::ExternalDataT< DataT > Class Template Reference

`#include <dpf_api.h>`

Inheritance diagram for ansys::dpf::ExternalDataT\< DataT >:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1ExternalDataT.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=e8f71f32dc93bb5ed7891a6edc7cb406)

## Public Member Functions

| Type | Name |
| - | - |
| | [ExternalDataT](#aa7dd171449cdbd182e1fb9698a6e1466) (DataT const \&d) |
| DataT & | [get](#a3067764e79993273bd275f2eabbaf0a7) () |
| DataT const & | [get](#ae79ddf35ad3a2bd72fb31c8ab2f4300f) () const |

## Detailed Description

template\<typename DataT>\
&#x20;class ansys::dpf::ExternalDataT\< DataT >

Typed encapsulation of external data.

## Constructor & Destructor Documentation

### ExternalDataT()

```cpp theme={null}
template<typename DataT >
ansys::dpf::ExternalDataT < DataT >:: ExternalDataT(DataT const & d)
```

`inline`

Create an encapsulated data object.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | d | Object to encapsulate. |

## Member Function Documentation

### get() \[1/2]

```cpp theme={null}
template<typename DataT >
DataT & ansys::dpf::ExternalDataT < DataT >::get()
```

`inline`

**Returns**

Base data object.

### get() \[2/2]

```cpp theme={null}
template<typename DataT >
DataT const & ansys::dpf::ExternalDataT < DataT >::get() const
```

`inline`

**Returns**

Base data object.
