27    uint32_t category()
 const { 
return cat_; }
 
   29    static const char* categoryName(
int cat)
 
   32        case COMPONENT_CATEGORY_PROCESSOR:
 
   33            return "PROCESSOR COMPONENT";
 
   34        case COMPONENT_CATEGORY_MEMORY:
 
   35            return "MEMORY COMPONENT";
 
   36        case COMPONENT_CATEGORY_NETWORK:
 
   37            return "NETWORK COMPONENT";
 
   38        case COMPONENT_CATEGORY_SYSTEM:
 
   39            return "SYSTEM COMPONENT";
 
   41            return "UNCATEGORIZED COMPONENT";
 
   45    void toString(std::ostream& os)
 const { os << 
"      Category: " << categoryName(cat_) << 
"\n"; }
 
   47    template <
class XMLNode>
 
   48    void outputXML(XMLNode* UNUSED(node))
 
   53    explicit ProvidesCategory(T* UNUSED(t)) :
 
   54        cat_(T::ELI_getCategory())