LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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 {
10
enum
FileDeliveryStatus
{
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,
19
SERVER_EXCEPTION
= 500,
20
BAD_GATEWAY
= 502,
21
UNAVAILABLE
= 503,
22
SPECIFIC_ERRORS
= 504
23
};
24
}
25
}
26
27
// Enum values must be scoped, eg FileDeliveryStatus::OK.
28
using
detail::FDS::FileDeliveryStatus
;
29
30
// Translate enum to string;
31
std::string
translateFileDeliveryStatus
(
FileDeliveryStatus
stat);
32
33
}
// end of art namespace
34
35
#endif
/* art_Framework_Services_FileServiceInterfaces_FileDeliveryStatus_h */
36
37
// Local Variables:
38
// mode: c++
39
// End:
art::detail::FDS::TRY_AGAIN_LATER
Definition:
FileDeliveryStatus.h:13
art::detail::FDS::PENDING
Definition:
FileDeliveryStatus.h:11
art::detail::FDS::UNAVAILABLE
Definition:
FileDeliveryStatus.h:21
art::detail::FDS::FORBIDDEN
Definition:
FileDeliveryStatus.h:16
art::detail::FDS::NOT_FOUND
Definition:
FileDeliveryStatus.h:17
art::detail::FDS::SUCCESS
Definition:
FileDeliveryStatus.h:12
art::detail::FDS::BAD_GATEWAY
Definition:
FileDeliveryStatus.h:20
art::detail::FDS::SPECIFIC_ERRORS
Definition:
FileDeliveryStatus.h:22
art::detail::FDS::BAD_REQUEST
Definition:
FileDeliveryStatus.h:15
art::detail::FDS::FileDeliveryStatus
FileDeliveryStatus
Definition:
FileDeliveryStatus.h:10
art::detail::FDS::CONFLICT
Definition:
FileDeliveryStatus.h:18
art::translateFileDeliveryStatus
std::string translateFileDeliveryStatus(FileDeliveryStatus stat)
Definition:
FileDeliveryStatus.cc:8
art::detail::FDS::NO_MORE_FILES
Definition:
FileDeliveryStatus.h:14
art::detail::FDS::SERVER_EXCEPTION
Definition:
FileDeliveryStatus.h:19
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art
Framework
Services
FileServiceInterfaces
FileDeliveryStatus.h
Generated on Thu Jul 26 2018 13:09:42 for LArSoft by
1.8.11