> ## 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::Project::MetadataConst Class Reference

Constant (read-only) value of [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md).

`#include "MetadataConst.hpp"`

## Public Member Functions

| Type | Name |
| - | - |
| | [MetadataConst](#a068bad9545a115984235f2fb42bfac25) () |
| | [MetadataConst](#a121e01eb592ffc36c7e743f7f03d0347) (const [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md) \&pObj) |
| bool | [hasKey](#a675fdcbf4581be7b20d92e868eed35be) (const std::string) const |
| bool | [removeKey](#a46c771afaa2b1baf2d6504bd6bb37806) (const std::string) |
| std::string | [getValue](#af0e9c33dd0c863b50d936f005f9ccb54) (const std::string) const |
| std::vector\< std::string > | [getValueVector](#a29346c2f8fe1df64b441d5c367c76cd1) (const std::string) const |
| int | [getValueInt](#a6d3276e023750808f8b28cc6a451d9af) (const std::string) const |
| double | [getValueDouble](#aa8bf963d37eb66e2379468f250522bc5) (const std::string) const |
| std::vector\< std::string > | [getKeys](#a8a97ae3da7d6873f7613a1aa8fe0b923) () const |
| bool | [isInherited](#a1c8c486e9e9f75082b8705a53f9c0555) (const std::string) const |
| void | [addInheritedValues](#a8a937f2cada501190964451ed757ba10) (const [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md) \&pObj) |
| void | [addHiddenPrefix](#ac0359a9a1e5befe8ffa79b7364e347d8) (const std::string \&pPrefix) |
| void | [addValue](#a327e67b4a32f3f3f4433dd48f47a7f6d) (const std::string \&pVar, const std::string \&pVal) |

## Detailed Description

Constant (read-only) value of [Metadata](https://developer.synopsys.com/docs/cff/common-fluids-format-sdk-guide/2025-r2/classansys_1_1_project_1_1_metadata.md).

## Constructor & Destructor Documentation

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

```cpp theme={null}
ansys::Project::MetadataConst::MetadataConst()
```

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

```cpp theme={null}
ansys::Project::MetadataConst::MetadataConst(const Metadata & pObj)
```

## Member Function Documentation

### addHiddenPrefix()

```cpp theme={null}
void ansys::Project::MetadataConst::addHiddenPrefix(const std::string & pPrefix)
```

### addInheritedValues()

```cpp theme={null}
void ansys::Project::MetadataConst::addInheritedValues(const Metadata & pObj)
```

### addValue()

```cpp theme={null}
void ansys::Project::MetadataConst::addValue(
    const std::string & pVar,
    const std::string & pVal
)
```

### getKeys()

```cpp theme={null}
std::vector< std::string > ansys::Project::MetadataConst::getKeys() const
```

### getValue()

```cpp theme={null}
std::string ansys::Project::MetadataConst::getValue(const std::string pKey) const
```

### getValueDouble()

```cpp theme={null}
double ansys::Project::MetadataConst::getValueDouble(const std::string pKey) const
```

### getValueInt()

```cpp theme={null}
int ansys::Project::MetadataConst::getValueInt(const std::string pKey) const
```

### getValueVector()

```cpp theme={null}
std::vector< std::string > ansys::Project::MetadataConst::getValueVector(
    const std::string pKey
) const
```

### hasKey()

```cpp theme={null}
bool ansys::Project::MetadataConst::hasKey(const std::string pKey) const
```

### isInherited()

```cpp theme={null}
bool ansys::Project::MetadataConst::isInherited(const std::string pKey) const
```

### removeKey()

```cpp theme={null}
bool ansys::Project::MetadataConst::removeKey(const std::string)
```
