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

# ModelDataWrapper Class Reference

Part of [MOP models](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__models)

Data wrapper that handles arbitrary data transmitted from python to c++ it uses the underlaying variant that can be one of many structs and handles getters and setters.

## Public Member Functions

| Type | Name |
| - | - |
|  template\<typename T > T \* | **getData** () |
| template\<typename T > T \* | **getData** () |
| [ModelDataVariant](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__models#ga304ac7b82916ea1c69baf0c35c36f2bf) | **getVariant** () |
| | **ModelDataWrapper** ([BaseModelData](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/struct_base_model_data.md) data) |
| | **ModelDataWrapper** (HybridDFFNData data) |
| | **ModelDataWrapper** ([ModelDataWrapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_model_data_wrapper.md) other) |
| | **ModelDataWrapper** ([ModelDataWrapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_model_data_wrapper.md) other) noexcept |
| [ModelDataWrapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_model_data_wrapper.md) | **operator=** ([ModelDataWrapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_model_data_wrapper.md) other) |
| [ModelDataWrapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_model_data_wrapper.md) | **operator=** ([ModelDataWrapper](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/class_model_data_wrapper.md) other) noexcept |

## Detailed Description

Data wrapper that handles arbitrary data transmitted from python to c++ it uses the underlaying variant that can be one of many structs and handles getters and setters.
