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

Method EditValue

extern/ttmath/ttmathobjects.h:253–267  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

251 this method changes the value and the number of parameters for a specific object
252 */
253 ErrorCode EditValue(const std::string & name, const std::string & value, int param = 0)
254 {
255 if( !IsNameCorrect(name) )
256 return err_incorrect_name;
257
258 Iterator i = table.find(name);
259
260 if( i == table.end() )
261 return err_unknown_object;
262
263 i->second.value = value;
264 i->second.param = param;
265
266 return err_ok;
267 }
268
269
270#ifndef TTMATH_DONT_USE_WCHAR

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected