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

Method GetValueAndParam

extern/ttmath/ttmathobjects.h:478–496  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

476 of a specific object
477 */
478 ErrorCode GetValueAndParam(const std::string & name, std::string & value, int * param) const
479 {
480 if( !IsNameCorrect(name) )
481 return err_incorrect_name;
482
483 CIterator i = table.find(name);
484
485 if( i == table.end() )
486 {
487 value.clear();
488 *param = 0;
489 return err_unknown_object;
490 }
491
492 value = i->second.value;
493 *param = i->second.param;
494
495 return err_ok;
496 }
497
498
499#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