MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / optional_int

Function optional_int

src/framework/io/yaml.cpp:278–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 return std::stoi(require_string(document, key));
277}
278
279int64_t require_i64(const FlattenedDocument & document, const std::string & key) {
280 return std::stoll(require_string(document, key));
281}
282
283float require_float(const FlattenedDocument & document, const std::string & key) {
284 return std::stof(require_string(document, key));
285}
286
287bool require_bool(const FlattenedDocument & document, const std::string & key) {

Callers 2

descriptor_from_yamlFunction · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected