YARP
Yet Another Robot Platform
filesystem.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* All rights reserved.
4
*
5
* This software may be modified and distributed under the terms of the
6
* BSD-3-Clause license. See the accompanying LICENSE file for details.
7
*/
8
9
10
#ifndef YARP_CONF_FILESYSTEM_H
11
#define YARP_CONF_FILESYSTEM_H
12
13
namespace
yarp
{
14
namespace
conf {
15
namespace
filesystem {
16
#if (defined _WIN32)
17
# if (_MSC_VER >= 1920)
18
typedef
wchar_t
value_type
;
19
static
constexpr
value_type
preferred_separator
= L
'\\'
;
20
static
constexpr
value_type
path_separator
= L
';'
;
21
# else
22
typedef
char
value_type
;
23
static
constexpr
value_type
preferred_separator
=
'\\'
;
24
static
constexpr
value_type
path_separator
=
';'
;
25
# endif
26
#else
27
typedef
char
value_type
;
28
static
constexpr
value_type
preferred_separator
=
'/'
;
29
static
constexpr
value_type
path_separator
=
':'
;
30
#endif
31
}
// namespace filesystem
32
}
// namespace conf
33
}
// namespace yarp
34
35
36
#endif // YARP_CONF_FILESYSTEM_H
yarp::conf::filesystem::value_type
char value_type
Definition:
filesystem.h:27
yarp::conf::filesystem::path_separator
static constexpr value_type path_separator
Definition:
filesystem.h:29
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
yarp::conf::filesystem::preferred_separator
static constexpr value_type preferred_separator
Definition:
filesystem.h:28
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_conf
src
yarp
conf
filesystem.h
Generated on Sun Jan 3 2021 02:46:23 for YARP by
1.8.20