ArchivalJobState.cpp 469 Bytes
Newer Older
1
#include "cta/ArchivalJob.hpp"
2
3
4
5
6
7
8
9
10
11
12
13
14

//------------------------------------------------------------------------------
// toStr
//------------------------------------------------------------------------------
const char *cta::ArchivalJobState::toStr(const Enum enumValue) throw() {
  switch(enumValue) {
  case NONE   : return "NONE";
  case PENDING: return "PENDING";
  case SUCCESS: return "SUCCESS";
  case ERROR  : return "ERROR";
  default     : return "UNKNOWN";
  }
}