MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / printClassMember

Function printClassMember

Engine/source/console/consoleDoc.cpp:188–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void printClassMember(const bool isDeprec, const char * aType, const char * aName, const char * aDocs, S32 aElementCount)
189{
190 Con::printf(" /*!");
191
192 if(aDocs)
193 {
194 Con::printf(" %s", aDocs);
195 Con::printf(" ");
196 }
197
198 if(isDeprec)
199 Con::printf(" @deprecated This member is deprecated, which means that its value is always undefined.");
200
201 Con::printf(" */");
202
203 if (aElementCount == 1)
204 {
205 Con::printf(" %s %s;", isDeprec ? "deprecated" : aType, aName);
206 }
207 else
208 {
209 Con::printf(" %s %s[%i];", isDeprec ? "deprecated" : aType, aName, aElementCount);
210 }
211}
212
213void printGroupEnd()
214{

Callers 1

dumpClassesMethod · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected