FileDeliveryStatus.h
Go to the documentation of this file.
1 #ifndef art_Framework_Services_FileServiceInterfaces_FileDeliveryStatus_h
2 #define art_Framework_Services_FileServiceInterfaces_FileDeliveryStatus_h
3 
4 #include <string>
5 
6 namespace art {
7 
8  namespace detail {
9  namespace FDS {
11  PENDING = -1, // Not attempted yet.
12  SUCCESS = 0, // A normal return from delivery protocol.
13  TRY_AGAIN_LATER = 202, // A normal return from delivery protocol.
14  NO_MORE_FILES = 204, // A normal return from delivery protocol.
15  BAD_REQUEST = 400,
16  FORBIDDEN = 403,
17  NOT_FOUND = 404,
18  CONFLICT = 409,
20  BAD_GATEWAY = 502,
21  UNAVAILABLE = 503,
23  };
24  }
25  } // namespace detail
26 
27  // Enum values must be scoped, eg FileDeliveryStatus::OK.
29 
30  // Translate enum to string;
32 
33 } // namespace art
34 
35 #endif /* art_Framework_Services_FileServiceInterfaces_FileDeliveryStatus_h */
36 
37 // Local Variables:
38 // mode: c++
39 // End:
std::string string
Definition: nybbler.cc:12
std::string translateFileDeliveryStatus(FileDeliveryStatus stat)