MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / CreateNone

Method CreateNone

Util/src/InfoTree/InfoTree.cpp:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10InfoNode InfoTree::CreateNone() {
11 auto nodeIndex = _nodeOrInfos.size();
12
13 InfoOrNode n;
14 n.Kind = InfoKind::None;
15 n.Data.ChildIndex = 0;
16 _nodeOrInfos.push_back(n);
17
18 return InfoNode(nodeIndex, this);
19}
20
21InfoNode InfoTree::CreateObject() {
22 auto nodeIndex = _nodeOrInfos.size();

Callers 2

CreateFromLuaFunction · 0.80
CreateFromJsonFunction · 0.80

Calls 3

InfoNodeClass · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected