MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / ObjectDef

Method ObjectDef

src/hx/cppia/Cppia.cpp:4926–4934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4924 Expressions values;
4925
4926 ObjectDef(CppiaStream &stream)
4927 {
4928 fieldCount = stream.getInt();
4929 data = 0;
4930 stringIds.resize(fieldCount);
4931 for(int i=0;i<fieldCount;i++)
4932 stringIds[i] = stream.getInt();
4933 ReadExpressions(values,stream,fieldCount);
4934 }
4935
4936 const char *getName() HXCPP_OVERRIDE { return "ObjectDef"; }
4937 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE

Callers

nothing calls this directly

Calls 2

ReadExpressionsFunction · 0.85
getIntMethod · 0.45

Tested by

no test coverage detected