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

# DataObjectKey Class Reference

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

the key (ident) of a data object in generic containers.

## Public Member Functions

| Type | Name |
| - | - |
| | [DataObjectKey](#a011752ed10fd6e449cfce53a740f3fac) (string [design](#a1aa358e9c7ca3104d4cf94831785854c), string [quantity](#a1bcba3323e99209861bb69899ff07022)) constructor |
| string | [design](#a1aa358e9c7ca3104d4cf94831785854c) () |
| bool | [isEmpty](#af337ffd75e4f019ce15302c60715d84b) () |
| string | [quantity](#a1bcba3323e99209861bb69899ff07022) () |

## Detailed Description

the key (ident) of a data object in generic containers.

**Parameters**

| Name | Description |
| - | - |
| first | the ident of the Design |
| second | the ident of the Quantity |

## Constructor & Destructor Documentation

### DataObjectKey()

```cpp theme={null}
DataObjectKey(
    string design,
    string quantity
)
```

constructor

**Parameters**

| Name | Description |
| - | - |
| design | sets the first member (the design name) |
| quantity | sets the second member (the quantity name) |

## Member Function Documentation

### design()

```cpp theme={null}
string design()
```

**Returns**

the design ident

### isEmpty()

```cpp theme={null}
bool isEmpty()
```

**Returns**

true if the key is empty

### quantity()

```cpp theme={null}
string quantity()
```

**Returns**

the quantity ident
