MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / GetValue

Method GetValue

extern/ttmath/ttmathobjects.h:389–405  ·  view source on GitHub ↗

! this method gets the value of a specific object */

Source from the content-addressed store, hash-verified

387 this method gets the value of a specific object
388 */
389 ErrorCode GetValue(const std::string & name, std::string & value) const
390 {
391 if( !IsNameCorrect(name) )
392 return err_incorrect_name;
393
394 CIterator i = table.find(name);
395
396 if( i == table.end() )
397 {
398 value.clear();
399 return err_unknown_object;
400 }
401
402 value = i->second.value;
403
404 return err_ok;
405 }
406
407
408#ifndef TTMATH_DONT_USE_WCHAR

Callers

nothing calls this directly

Calls 4

findMethod · 0.45
endMethod · 0.45
clearMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected