LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
FileTransferStatus.h
Go to the documentation of this file.
1
#ifndef art_Framework_Services_FileServiceInterfaces_FileTransferStatus_h
2
#define art_Framework_Services_FileServiceInterfaces_FileTransferStatus_h
3
4
#include <string>
5
6
namespace
art
{
7
8
namespace
detail {
9
namespace
FTS {
10
enum
FileTransferStatus
{
11
PENDING
= -1,
// Not attempted yet.
12
SUCCESS
= 0,
// A normal return from delivery protocol
13
BAD_REQUEST
= 400,
14
UNAUTHORIZED
= 401,
15
PAYMENT_REQUIRED
= 402,
16
FORBIDDEN
= 403,
17
NOT_FOUND
= 404,
18
GONE
= 410,
19
TOO_LARGE
= 413,
20
URI_TOO_LONG
= 414,
21
SERVER_ERROR
= 500,
22
UNAVAILABLE
= 503
23
};
24
}
25
}
26
27
// Enum values must be scoped, eg FileDeliveryStatus::OK.
28
using
detail::FTS::FileTransferStatus
;
29
30
// Translate enum to string;
31
std::string
translateFileTransferStatus
(
FileTransferStatus
stat);
32
33
}
// end of art namespace
34
35
#endif
/* art_Framework_Services_FileServiceInterfaces_FileTransferStatus_h */
36
37
// Local Variables:
38
// mode: c++
39
// End:
art::detail::FTS::FORBIDDEN
Definition:
FileTransferStatus.h:16
art::detail::FTS::SUCCESS
Definition:
FileTransferStatus.h:12
art::detail::FTS::FileTransferStatus
FileTransferStatus
Definition:
FileTransferStatus.h:10
art::detail::FTS::SERVER_ERROR
Definition:
FileTransferStatus.h:21
art::detail::FTS::PAYMENT_REQUIRED
Definition:
FileTransferStatus.h:15
art::detail::FTS::TOO_LARGE
Definition:
FileTransferStatus.h:19
art::detail::FTS::BAD_REQUEST
Definition:
FileTransferStatus.h:13
art::detail::FTS::URI_TOO_LONG
Definition:
FileTransferStatus.h:20
art::detail::FTS::UNAUTHORIZED
Definition:
FileTransferStatus.h:14
art::translateFileTransferStatus
std::string translateFileTransferStatus(FileTransferStatus stat)
Definition:
FileTransferStatus.cc:8
art::detail::FTS::NOT_FOUND
Definition:
FileTransferStatus.h:17
art::detail::FTS::PENDING
Definition:
FileTransferStatus.h:11
art::detail::FTS::GONE
Definition:
FileTransferStatus.h:18
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::detail::FTS::UNAVAILABLE
Definition:
FileTransferStatus.h:22
art
Framework
Services
FileServiceInterfaces
FileTransferStatus.h
Generated on Wed Dec 12 2018 14:42:34 for LArSoft by
1.8.11