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

Method getDocString

Engine/source/console/consoleInternal.cpp:1615–1639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1613}
1614
1615String Namespace::Entry::getDocString() const
1616{
1617 const char* argListStart;
1618 const char* argListEnd;
1619
1620 if (sFindArgumentListSubstring(mUsage, argListStart, argListEnd))
1621 {
1622 // Skip the " - " part present in some old doc strings.
1623
1624 const char* ptr = argListEnd;
1625 while (*ptr && dIsspace(*ptr))
1626 ptr++;
1627
1628 if (*ptr == '-')
1629 {
1630 ptr++;
1631 while (*ptr && dIsspace(*ptr))
1632 ptr++;
1633 }
1634
1635 return ptr;
1636 }
1637
1638 return mUsage;
1639}
1640
1641String Namespace::Entry::getArgumentsString() const
1642{

Callers 8

simObject.cppFile · 0.45
initializeMethod · 0.45
getDocStringFunction · 0.45
exportTypeFunction · 0.45
dumpFunctionFunction · 0.45
dumpEnumFunction · 0.45
exportBaseTypesMethod · 0.45
printNamespaceEntriesMethod · 0.45

Calls 2

dIsspaceFunction · 0.85

Tested by

no test coverage detected