Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Services
FileServiceInterfaces
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
}
// namespace detail
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
}
// namespace art
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
string
std::string string
Definition:
nybbler.cc:12
python.larbatch_posix.stat
def stat(path)
Definition:
larbatch_posix.py:482
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
detail
Definition:
includer.cc:28
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
Definition:
BasicOptionsHandler.h:9
art::detail::FTS::UNAVAILABLE
Definition:
FileTransferStatus.h:22
Generated by
1.8.11