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

Method getDocString

Engine/source/console/consoleInternal.cpp:1620–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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