| 30 | |
| 31 | |
| 32 | static const char* strIntCmd(CAction::T_IntCmdType type) |
| 33 | { |
| 34 | switch (type) { |
| 35 | case CAction::E_INTCMD_STOPCALL: |
| 36 | return "stop_call"; |
| 37 | case CAction::E_INTCMD_STOP_ALL: |
| 38 | return "stop_gracefully"; |
| 39 | case CAction::E_INTCMD_STOP_NOW: |
| 40 | return "stop_now"; |
| 41 | |
| 42 | default: |
| 43 | case CAction::E_INTCMD_INVALID: |
| 44 | return "invalid"; |
| 45 | } |
| 46 | return "invalid"; |
| 47 | } |
| 48 | |
| 49 | const char * CAction::comparatorToString(T_Comparator comp) |
| 50 | { |