Gazebo Fuel_tools
API Reference
10.0.0
insert_drive_file
Tutorials
library_books
Classes
toc
Namespaces
insert_drive_file
Files
launch
Gazebo Website
Index
List
Hierarchy
Members: All
Members: Functions
Members: Variables
Members: Typedefs
Members: Enumerations
Members: Enumerator
List
Members
Functions
Typedefs
Variables
Enumerations
Enumerator
src
gz-fuel-tools
include
gz
fuel_tools
ResultType.hh
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 Open Source Robotics Foundation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
#ifndef GZ_FUEL_TOOLS_RESULTTYPE_HH_
19
#define GZ_FUEL_TOOLS_RESULTTYPE_HH_
20
21
#if defined(_WIN32) && defined(DELETE)
22
// Windows defines "DELETE" as part of the Win32 "Standard Access Rights"
23
// Since we aren't using that here, go ahead and undefine so that we can
24
// use it as part of the ResultType enum class.
25
// Ref: https://learn.microsoft.com/en-us/windows/win32/secauthz/standard-access-rights
26
#undef DELETE
27
#endif
28
29
namespace
gz::fuel_tools
30
{
32
enum class
ResultType
33
{
35
UNKNOWN
= 0,
36
38
DELETE
,
39
41
DELETE_NOT_FOUND
,
42
45
DELETE_ERROR
,
46
48
FETCH
,
49
51
FETCH_ALREADY_EXISTS
,
52
54
FETCH_NOT_FOUND
,
55
58
FETCH_ERROR
,
59
61
UPLOAD
,
62
64
UPLOAD_ALREADY_EXISTS
,
65
68
UPLOAD_ERROR
,
69
71
PATCH_ERROR
,
72
74
PATCH
,
75
};
76
}
// namespace gz::fuel_tools
77
78
#endif
// GZ_FUEL_TOOLS_RESULTTYPE_HH_