Skip to main content

DPF Cpp Client Library 2026 R1

Class ansys::dpf::RuntimeConfig

Last update: 25.03.2026

Inherited by:

Members

Friends

Public functions

Function RuntimeConfig

ansys::dpf::RuntimeConfig::RuntimeConfig(RuntimeConfig const &rhs)

Parameters:

  • RuntimeConfig const & rhs

Return type:

Function RuntimeConfig

ansys::dpf::RuntimeConfig::RuntimeConfig(RuntimeConfig &&rhs) noexcept

Parameters:

  • RuntimeConfig && rhs

Return type:

Function getAvailableOptions

std::vector< std::string > ansys::dpf::RuntimeConfig::getAvailableOptions() const

Return type: std::vector< std::string >

Function getIntValue

int ansys::dpf::RuntimeConfig::getIntValue(std::string const &option) const

Returns:

Integer value of given option.

Parameters:

  • std::string const & option: [in] Option name.

Return type: int

Function getDoubleValue

double ansys::dpf::RuntimeConfig::getDoubleValue(std::string const &option) const

Returns:

Double value of given option.

Parameters:

  • std::string const & option: [in] Option name.

Return type: double

Function getBoolValue

bool ansys::dpf::RuntimeConfig::getBoolValue(std::string const &option) const

Returns:

Boolean value of given option.

Parameters:

  • std::string const & option: [in] Option name.

Return type: bool

Function getStringValue

std::string ansys::dpf::RuntimeConfig::getStringValue(std::string const &option) const

Returns:

Boolean value of given option.

Parameters:

  • std::string const & option: [in] Option name.

Return type: std::string

Function set

void ansys::dpf::RuntimeConfig::set(std::string const &option, dp_int value)

Sets option to integer value.

Parameters:

  • std::string const & option: [in] Option name.
  • dp_int value: [in] Value for option.

Return type: void

Function set

void ansys::dpf::RuntimeConfig::set(std::string const &option, dp_double value)

Sets option to double value.

Parameters:

  • std::string const & option: [in] Option name.
  • dp_double value: [in] Value for option.

Return type: void

Function set

void ansys::dpf::RuntimeConfig::set(std::string const &option, bool value)

Sets option to boolean value.

Parameters:

  • std::string const & option: [in] Option name.
  • bool value: [in] Value for option.

Return type: void

Function set

void ansys::dpf::RuntimeConfig::set(std::string const &option, std::string value)

Sets option to boolean value.

Parameters:

  • std::string const & option: [in] Option name.
  • std::string value: [in] Value for option.

Return type: void

Function setSubOption

void ansys::dpf::RuntimeConfig::setSubOption(std::string const &sub_name, DataTree const &)

Sets the suboption.

Parameters:

  • std::string const & sub_name: [in] Sub-tree name.
  • DataTree const &

Return type: void

Connect with Ansys