| 51 | } |
| 52 | |
| 53 | void describeComponent(const std::string component) |
| 54 | { |
| 55 | const Component* c = ComponentFactory::instance()->getPrototype(component); |
| 56 | if (c) |
| 57 | { |
| 58 | cout << c->getIdentifier() << " : "; |
| 59 | if (c->getDescription() != "") |
| 60 | cout << c->getDescription(); |
| 61 | cout << endl; |
| 62 | const ParameterDescriptorList& params = c->getParameterDescriptorList(); |
| 63 | for (ParameterDescriptorList::const_iterator it = params.begin(); it |
| 64 | != params.end(); it++) |
| 65 | { |
| 66 | cout << " - " << it->m_identifier << " : " << it->m_description; |
| 67 | cout << " (default=" << it->m_defaultValue << ")" << endl; |
| 68 | } |
| 69 | return; |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | void printOutputFormats() |
| 74 | { |
no test coverage detected