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

Method Delete

extern/ttmath/ttmathobjects.h:349–362  ·  view source on GitHub ↗

! this method deletes an object */

Source from the content-addressed store, hash-verified

347 this method deletes an object
348 */
349 ErrorCode Delete(const std::string & name)
350 {
351 if( !IsNameCorrect(name) )
352 return err_incorrect_name;
353
354 Iterator i = table.find(name);
355
356 if( i == table.end() )
357 return err_unknown_object;
358
359 table.erase( i );
360
361 return err_ok;
362 }
363
364
365#ifndef TTMATH_DONT_USE_WCHAR

Callers

nothing calls this directly

Calls 4

DeleteFunction · 0.85
findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected