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

Method EnumField

src/hx/cppia/CppiaClasses.cpp:195–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 Dynamic enumValue;
194
195 EnumField(CppiaStream &stream,bool inWithArgs)
196 {
197 enumId = stream.getInt();
198 fieldId = stream.getInt();
199 value= 0;
200 if (inWithArgs)
201 {
202 int argCount = stream.getInt();
203 for(int a=0;a<argCount;a++)
204 args.push_back( createCppiaExpr(stream) );
205 }
206 }
207
208 const char *getName() HXCPP_OVERRIDE { return "EnumField"; }
209 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE

Callers

nothing calls this directly

Calls 2

createCppiaExprFunction · 0.85
getIntMethod · 0.45

Tested by

no test coverage detected