MCPcopy Create free account
hub / github.com/KLayout/klayout / config_get

Function config_get

src/laybasic/laybasic/layPlugin.h:652–657  ·  view source on GitHub ↗

* @brief Get a certain configuration parameter * * This is a convenience method which behaves similar. It will return the * configuration value for the given configuration option name. However, if the * configuration option with the given name does not exist, simply an * empty string is returned. */

Source from the content-addressed store, hash-verified

650 * empty string is returned.
651 */
652 std::string config_get (const std::string &name) const
653 {
654 std::string v;
655 config_get (name, v);
656 return v;
657 }
658
659 /**
660 * @brief Get a certain configuration parameter

Callers

nothing calls this directly

Calls 2

from_stringFunction · 0.50
from_stringMethod · 0.45

Tested by

no test coverage detected