    

 ## On this page

  

 

 # ansys::Project::MetadataConst Class Reference

 Last update: 19.05.2025 

Constant (read-only) value of [Metadata](classansys_1_1_project_1_1_metadata.xhtml "Dictionary of values associated with an Iterator."). [More...](classansys_1_1_project_1_1_metadata_const.xhtml#details)

`#include "MetadataConst.hpp"`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [MetadataConst](classansys_1_1_project_1_1_metadata_const.xhtml#a068bad9545a115984235f2fb42bfac25) ()  [MetadataConst](classansys_1_1_project_1_1_metadata_const.xhtml#a121e01eb592ffc36c7e743f7f03d0347) (const [Metadata](classansys_1_1_project_1_1_metadata.xhtml) &amp;pObj) bool [hasKey](classansys_1_1_project_1_1_metadata_const.xhtml#a675fdcbf4581be7b20d92e868eed35be) (const std::string) const bool [removeKey](classansys_1_1_project_1_1_metadata_const.xhtml#a46c771afaa2b1baf2d6504bd6bb37806) (const std::string) std::string [getValue](classansys_1_1_project_1_1_metadata_const.xhtml#af0e9c33dd0c863b50d936f005f9ccb54) (const std::string) const std::vector&lt; std::string &gt; [getValueVector](classansys_1_1_project_1_1_metadata_const.xhtml#a29346c2f8fe1df64b441d5c367c76cd1) (const std::string) const int [getValueInt](classansys_1_1_project_1_1_metadata_const.xhtml#a6d3276e023750808f8b28cc6a451d9af) (const std::string) const double [getValueDouble](classansys_1_1_project_1_1_metadata_const.xhtml#aa8bf963d37eb66e2379468f250522bc5) (const std::string) const std::vector&lt; std::string &gt; [getKeys](classansys_1_1_project_1_1_metadata_const.xhtml#a8a97ae3da7d6873f7613a1aa8fe0b923) () const bool [isInherited](classansys_1_1_project_1_1_metadata_const.xhtml#a1c8c486e9e9f75082b8705a53f9c0555) (const std::string) const void [addInheritedValues](classansys_1_1_project_1_1_metadata_const.xhtml#a8a937f2cada501190964451ed757ba10) (const [Metadata](classansys_1_1_project_1_1_metadata.xhtml) &amp;pObj) void [addHiddenPrefix](classansys_1_1_project_1_1_metadata_const.xhtml#ac0359a9a1e5befe8ffa79b7364e347d8) (const std::string &amp;pPrefix) void [addValue](classansys_1_1_project_1_1_metadata_const.xhtml#a327e67b4a32f3f3f4433dd48f47a7f6d) (const std::string &amp;pVar, const std::string &amp;pVal) <a id="details" name="details"></a>## Detailed Description

Constant (read-only) value of [Metadata](classansys_1_1_project_1_1_metadata.xhtml "Dictionary of values associated with an Iterator.").



## Constructor &amp; Destructor Documentation

<a id="a068bad9545a115984235f2fb42bfac25" name="a068bad9545a115984235f2fb42bfac25"></a>## [◆ ](#a068bad9545a115984235f2fb42bfac25)MetadataConst() \[1/2\]

 ansys::Project::MetadataConst::MetadataConst  ( ) 





<a id="a121e01eb592ffc36c7e743f7f03d0347" name="a121e01eb592ffc36c7e743f7f03d0347"></a>## [◆ ](#a121e01eb592ffc36c7e743f7f03d0347)MetadataConst() \[2/2\]

 ansys::Project::MetadataConst::MetadataConst  ( const [Metadata](classansys_1_1_project_1_1_metadata.xhtml) &amp;  *pObj*) 





## Member Function Documentation

<a id="ac0359a9a1e5befe8ffa79b7364e347d8" name="ac0359a9a1e5befe8ffa79b7364e347d8"></a>## [◆ ](#ac0359a9a1e5befe8ffa79b7364e347d8)addHiddenPrefix()

 void ansys::Project::MetadataConst::addHiddenPrefix  ( const std::string &amp;  *pPrefix*) 





<a id="a8a937f2cada501190964451ed757ba10" name="a8a937f2cada501190964451ed757ba10"></a>## [◆ ](#a8a937f2cada501190964451ed757ba10)addInheritedValues()

 void ansys::Project::MetadataConst::addInheritedValues  ( const [Metadata](classansys_1_1_project_1_1_metadata.xhtml) &amp;  *pObj*) 





<a id="a327e67b4a32f3f3f4433dd48f47a7f6d" name="a327e67b4a32f3f3f4433dd48f47a7f6d"></a>## [◆ ](#a327e67b4a32f3f3f4433dd48f47a7f6d)addValue()

 void ansys::Project::MetadataConst::addValue  ( const std::string &amp;  *pVar*,    const std::string &amp;  *pVal*   ) 





<a id="a8a97ae3da7d6873f7613a1aa8fe0b923" name="a8a97ae3da7d6873f7613a1aa8fe0b923"></a>## [◆ ](#a8a97ae3da7d6873f7613a1aa8fe0b923)getKeys()

 std::vector&lt; std::string &gt; ansys::Project::MetadataConst::getKeys  ( )  const





<a id="af0e9c33dd0c863b50d936f005f9ccb54" name="af0e9c33dd0c863b50d936f005f9ccb54"></a>## [◆ ](#af0e9c33dd0c863b50d936f005f9ccb54)getValue()

 std::string ansys::Project::MetadataConst::getValue  ( const std::string  *pKey*)  const





<a id="aa8bf963d37eb66e2379468f250522bc5" name="aa8bf963d37eb66e2379468f250522bc5"></a>## [◆ ](#aa8bf963d37eb66e2379468f250522bc5)getValueDouble()

 double ansys::Project::MetadataConst::getValueDouble  ( const std::string  *pKey*)  const





<a id="a6d3276e023750808f8b28cc6a451d9af" name="a6d3276e023750808f8b28cc6a451d9af"></a>## [◆ ](#a6d3276e023750808f8b28cc6a451d9af)getValueInt()

 int ansys::Project::MetadataConst::getValueInt  ( const std::string  *pKey*)  const





<a id="a29346c2f8fe1df64b441d5c367c76cd1" name="a29346c2f8fe1df64b441d5c367c76cd1"></a>## [◆ ](#a29346c2f8fe1df64b441d5c367c76cd1)getValueVector()

 std::vector&lt; std::string &gt; ansys::Project::MetadataConst::getValueVector  ( const std::string  *pKey*)  const





<a id="a675fdcbf4581be7b20d92e868eed35be" name="a675fdcbf4581be7b20d92e868eed35be"></a>## [◆ ](#a675fdcbf4581be7b20d92e868eed35be)hasKey()

 bool ansys::Project::MetadataConst::hasKey  ( const std::string  *pKey*)  const





<a id="a1c8c486e9e9f75082b8705a53f9c0555" name="a1c8c486e9e9f75082b8705a53f9c0555"></a>## [◆ ](#a1c8c486e9e9f75082b8705a53f9c0555)isInherited()

 bool ansys::Project::MetadataConst::isInherited  ( const std::string  *pKey*)  const





<a id="a46c771afaa2b1baf2d6504bd6bb37806" name="a46c771afaa2b1baf2d6504bd6bb37806"></a>## [◆ ](#a46c771afaa2b1baf2d6504bd6bb37806)removeKey()

 bool ansys::Project::MetadataConst::removeKey  ( const std::string  )