Return description of the mimetype Pointer to const string being MIME type description
| Return Type | Function name | Arguments |
|---|---|---|
| const char* | Mimetype2Txt | (hzMimetype,) |
Declared in file: hzMimetype.h
Defined in file : hzTypes.cpp
Function Logic:
Function body:
const char* Mimetype2Txt (hzMimetype mtype)
{
// Category: Diagnostics
//
// Return description of the mimetype
//
// Arguments: 1) mtype The enumerated MIME type
//
// Returns: Pointer to const string being MIME type description
if (!s_mimesEnum.Count())
HadronZooInitMimes() ;
_mimeType m ; // MIME type info
m = s_mimesEnum[mtype] ;
return *m.S ;
}