MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetNewNumber

Method GetNewNumber

source/fdb.cpp:478–484  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

476}
477//---------------------------------------------------------------------------
478int TStorageFileList::GetNewNumber(void)
479{
480 int rv = 0;
481 for(int i=0; i<Count; i++)
482 rv = MAX(Get(i)->number, rv);
483 return rv + 1;
484}
485//---------------------------------------------------------------------------
486TStorageFile * __fastcall TStorageFileList::GetByNumber(int _number)
487{

Callers 1

AddFileButtonClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected