| 36 | using namespace std; |
| 37 | |
| 38 | void listComponents() |
| 39 | { |
| 40 | vector<string> components; |
| 41 | const vector<const Component*>& cList = ComponentFactory::instance()->getPrototypeList(); |
| 42 | for (size_t i = 0; i < cList.size(); i++) |
| 43 | { |
| 44 | components.push_back(cList[i]->getIdentifier()); |
| 45 | } |
| 46 | sort(components.begin(),components.end()); |
| 47 | cout << "Available components : " << endl; |
| 48 | for (vector<string>::const_iterator it = components.begin(); it |
| 49 | != components.end(); it++) |
| 50 | cout << " - " << *it << endl; |
| 51 | } |
| 52 | |
| 53 | void describeComponent(const std::string component) |
| 54 | { |
no test coverage detected