GNSS-SDR
0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
src
algorithms
libs
gnss_sdr_filesystem.h
Go to the documentation of this file.
1
/*!
2
* \file gnss_sdr_filesystem.h
3
* \brief Helper file for fylesystem library interface
4
* \author Carles Fernandez Prades, 2021. cfernandez(at)cttc.es
5
*
6
* -----------------------------------------------------------------------------
7
*
8
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9
* This file is part of GNSS-SDR.
10
*
11
* Copyright (C) 2010-2021 (see AUTHORS file for a list of contributors)
12
* SPDX-License-Identifier: GPL-3.0-or-later
13
*
14
* -----------------------------------------------------------------------------
15
*/
16
17
18
#ifndef GNSS_SDR_GNSS_SDR_FILESYSTEM_H
19
#define GNSS_SDR_GNSS_SDR_FILESYSTEM_H
20
21
// clang-format off
22
#if HAS_STD_FILESYSTEM
23
#include <system_error>
24
namespace
errorlib =
std
;
25
#if HAS_STD_FILESYSTEM_EXPERIMENTAL
26
#include <experimental/filesystem>
27
namespace
fs = std::experimental::filesystem;
28
#else
29
#include <filesystem>
30
namespace
fs = std::filesystem;
31
#endif
32
#else
33
#include <boost/filesystem/operations.hpp>
// for create_directories, exists
34
#include <boost/filesystem/path.hpp>
// for path, operator<<
35
#include <boost/filesystem/path_traits.hpp>
// for filesystem
36
#include <boost/system/error_code.hpp>
// for error_code
37
namespace
fs = boost::filesystem;
38
namespace
errorlib = boost::system;
39
#endif
40
// clang-format on
41
42
43
#endif
// GNSS_SDR_GNSS_SDR_FILESYSTEM_H
std
STL namespace.
Generated by
1.16.1