lintel
0.2.0
Loading...
Searching...
No Matches
src
include
lintel
core
services
DirectoryService.h
Go to the documentation of this file.
1
#ifndef LOGGING_DIRECTORY_H
2
#define LOGGING_DIRECTORY_H
3
4
#include <filesystem>
5
6
namespace
lintel
{
10
class
DirectoryService
11
{
12
private
:
13
std::filesystem::path m_path;
14
15
public
:
20
explicit
DirectoryService
(std::filesystem::path
path
);
21
26
bool
exists
();
27
32
std::string
getName
();
33
38
std::filesystem::path
getPath
();
39
44
bool
createDirectory
();
45
50
bool
createDirectories
();
51
};
52
53
}
// namespace lintel
54
#endif
// LOGGING_DIRECTORY_H
lintel::DirectoryService
Definition
DirectoryService.h:11
lintel::DirectoryService::getPath
std::filesystem::path getPath()
lintel::DirectoryService::getName
std::string getName()
lintel::DirectoryService::exists
bool exists()
lintel::DirectoryService::createDirectories
bool createDirectories()
lintel::DirectoryService::createDirectory
bool createDirectory()
lintel::DirectoryService::DirectoryService
DirectoryService(std::filesystem::path path)
lintel
Definition
BaseFeature.h:6
lintel::type_name
constexpr std::string_view type_name()
Definition
TypeName.h:9
Generated by
1.9.8