// // Generated by dtk // Translation Unit: c_tree_iter.cpp // #include "SSystem/SComponent/c_tree_iter.h" #include "SSystem/SComponent/c_list.h" #include "SSystem/SComponent/c_list_iter.h" #include "SSystem/SComponent/c_tree.h" #include "dolphin/types.h" /* 802450D0-80245144 .text cTrIt_Method__FP21node_lists_tree_classPFP10node_classPv_iPv */ BOOL cTrIt_Method(node_lists_tree_class* tree, cNdIt_MethodFunc method, void* data) { node_list_class* pList = tree->mpLists; int i = tree->mNumLists; BOOL ret = TRUE; while (i-- > 0) { BOOL sub = cLsIt_Method(pList++, method, data); if (sub == FALSE) ret = FALSE; } return ret; } /* 80245144-802451B4 .text cTrIt_Judge__FP21node_lists_tree_classPFP10node_classPv_PvPv */ void* cTrIt_Judge(node_lists_tree_class* tree, cNdIt_JudgeFunc judge, void* data) { node_list_class* pList = tree->mpLists; int i = tree->mNumLists; while (i-- > 0) { void* pJudgeRet = cLsIt_Judge(pList++, judge, data); if (pJudgeRet != NULL) return pJudgeRet; } return NULL; }