void C_StringListCommandLineOption::getStringOptionNameList (TC_UniqueArray <C_String> & outArray) { C_StringListCommandLineOption * p = gFirstStringListOption ; while (p != NULL) { outArray.addObject (p->mDomainName) ; outArray.addObject (p->mIdentifier) ; p = p->mNext ; } }
void C_galgas_type_descriptor::recursiveGetSortedTypeList (C_galgas_type_descriptor * inRoot, TC_UniqueArray <C_galgas_type_descriptor *> & ioTypeList) { if (NULL != inRoot) { recursiveGetSortedTypeList (inRoot->mPreviousType, ioTypeList) ; ioTypeList.addObject (inRoot) ; recursiveGetSortedTypeList (inRoot->mNextType, ioTypeList) ; } }