| 472 | } |
| 473 | |
| 474 | int cComponentManager::printComponentList(int filter, int details) |
| 475 | { |
| 476 | int nTp = getNtypes(); |
| 477 | int i,j=0; |
| 478 | // if (details) { |
| 479 | SMILE_PRINT("==> The following %i components are currently registered in openSMILE:\n",nTp); |
| 480 | // } |
| 481 | for (i=0; i<nTp; i++) { |
| 482 | const char * tp = getComponentType(i,filter); |
| 483 | if (tp!=NULL) { |
| 484 | if (details) { |
| 485 | SMILE_PRINT(" +++ '%s' +++",tp); |
| 486 | SMILE_PRINT(" %s\n",getComponentDescr(i)); |
| 487 | // TODO: print if component is built in OR dll registered... |
| 488 | } else { |
| 489 | SMILE_PRINT(" '%s'",tp); |
| 490 | } |
| 491 | } |
| 492 | } |
| 493 | return nTp; |
| 494 | } |
| 495 | |
| 496 | void cComponentManager::exportComponentList() |
| 497 | { |