Skip to main content

Common Fluids Format 2026 R1

ansys::Project::MetadataConst Class Reference

Last update: 24.03.2026

Constant (read-only) value of Metadata. More...

#include "MetadataConst.hpp"

Public Member Functions

 MetadataConst ()
 
 MetadataConst (const Metadata &pObj)
 
bool hasKey (const std::string) const
 
bool removeKey (const std::string)
 
std::string getValue (const std::string) const
 
std::vector< std::string > getValueVector (const std::string) const
 
int getValueInt (const std::string) const
 
double getValueDouble (const std::string) const
 
std::vector< std::string > getKeys () const
 
bool isInherited (const std::string) const
 
void addInheritedValues (const Metadata &pObj)
 
void addHiddenPrefix (const std::string &pPrefix)
 
void addValue (const std::string &pVar, const std::string &pVal)
 

Detailed Description

Constant (read-only) value of Metadata.

Constructor & Destructor Documentation

◆ MetadataConst() [1/2]

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

◆ MetadataConst() [2/2]

ansys::Project::MetadataConst::MetadataConst ( const Metadata pObj)

Member Function Documentation

◆ addHiddenPrefix()

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

◆ addInheritedValues()

void ansys::Project::MetadataConst::addInheritedValues ( const Metadata pObj)

◆ addValue()

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

◆ getKeys()

std::vector< std::string > ansys::Project::MetadataConst::getKeys ( ) const

◆ getValue()

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

◆ getValueDouble()

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

◆ getValueInt()

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

◆ getValueVector()

std::vector< std::string > ansys::Project::MetadataConst::getValueVector ( const std::string  pKey) const

◆ hasKey()

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

◆ isInherited()

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

◆ removeKey()

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

Connect with Ansys