Gazebo Msgs
API Reference
9.5.1
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-msgs
include
gz
msgs
gz/msgs/Filesystem.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2018 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_MSGS_FILESYSTEM_HH_
19
#define GZ_MSGS_FILESYSTEM_HH_
20
21
#include <memory>
22
#include <string>
23
24
#include <gz/msgs/Export.hh>
25
#include <gz/utils/SuppressWarning.hh>
26
27
namespace
gz
28
{
29
namespace
msgs
30
{
33
enum
FilesystemWarningOp
34
{
37
FSWO_LOG_WARNINGS
= 0,
38
42
FSWO_SUPPRESS_WARNINGS
43
};
44
45
// /// \internal
46
class
DirIterPrivate;
47
50
class
GZ_MSGS_VISIBLE
DirIter
51
{
54
public
:
explicit
DirIter
(
const
std::string
&_in);
55
57
public
:
DirIter
();
58
61
public
:
std::string
operator*()
const
;
62
65
public
:
const
DirIter
& operator++();
66
71
public
:
bool
operator!=(
const
DirIter
&_other)
const
;
72
74
public
: ~
DirIter
();
75
77
private
:
void
Next();
78
80
private
:
void
SetInternalEmpty();
81
83
private
:
void
CloseHandle();
84
85
GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
87
private
:
std::unique_ptr<DirIterPrivate>
dataPtr;
88
GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
89
};
90
}
91
}
92
93
#endif