MCPcopy Create free account
hub / github.com/FreeFem/FreeFem-sources / FindType

Function FindType

src/fflib/AFunction2.cpp:360–372  ·  view source on GitHub ↗

< >

Source from the content-addressed store, hash-verified

358
359// <<FindType>>
360 int FindType(const char * name)
361 {
362 C_F0 r;
363
364 ListOfTOfId::const_iterator i=tables_of_identifier.begin();
365 for(;i!=tables_of_identifier.end();++i)
366 {
367 TableOfIdentifier * ti=*i;
368 r = ti->Find(name);
369 if (r.NotNull()) return r.TYPEOFID();
370 }
371 return 0;
372 }
373
374/// <<Find>> uses [[file:global.cpp::tables_of_identifier]]
375

Callers 1

scanMethod · 0.85

Calls 5

NotNullMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
FindMethod · 0.45
TYPEOFIDMethod · 0.45

Tested by

no test coverage detected