mavtables  0.2.1
MAVLink router and firewall.
Public Types | Public Member Functions | List of all members
Filesystem Class Reference

#include <Filesystem.hpp>

Collaboration diagram for Filesystem:
Collaboration graph

Public Types

using path = boost::filesystem::path
 

Public Member Functions

TEST_VIRTUAL ~Filesystem ()
 
TEST_VIRTUAL bool exists (const path &p) const
 

Detailed Description

A class containing filesystem operations.

Note
This class exists for testing purposes and to provide a level of indirection so the underlying filesystem library can be changed to std::filesystem once it is moved out of experimental.

Definition at line 37 of file Filesystem.hpp.

Member Typedef Documentation

◆ path

using Filesystem::path = boost::filesystem::path

Definition at line 40 of file Filesystem.hpp.

Constructor & Destructor Documentation

◆ ~Filesystem()

Filesystem::~Filesystem ( )

Definition at line 26 of file Filesystem.cpp.

Member Function Documentation

◆ exists()

bool Filesystem::exists ( const path p) const

Returns true if the given path exists.

Parameters
pThe path to check for existence.

Definition at line 36 of file Filesystem.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: