MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / create

Method create

Source/GJSearchObject.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "GJSearchObject.h"
20
21GJSearchObject* GJSearchObject::create()
22{
23 GJSearchObject* ret = new GJSearchObject();
24 if (ret->init())
25 {
26 ret->autorelease();
27 return ret;
28 } else {
29 delete ret;
30 ret = nullptr;
31 return nullptr;
32 }
33}
34
35GJSearchObject* GJSearchObject::create(SearchType type)
36{

Callers

nothing calls this directly

Calls 4

createFunction · 0.85
beginMethod · 0.80
endMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected