-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathfs_accessor_impl.cpp
More file actions
32 lines (21 loc) · 819 Bytes
/
fs_accessor_impl.cpp
File metadata and controls
32 lines (21 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "fs/ih/fs_accessor_impl.hpp"
#include "fs/impl/fs_factory_impl.hpp"
#include "exception/ih/exc_internal_error.hpp"
//------------------------------------------------------------------------------
namespace fs
{
//------------------------------------------------------------------------------
FileSystemAccessorImpl::FileSystemAccessorImpl()
: m_factoryPtr{ new FactoryImpl }
{
}
//------------------------------------------------------------------------------
FileSystemAccessorImpl::~FileSystemAccessorImpl() = default;
//------------------------------------------------------------------------------
Factory & FileSystemAccessorImpl::getFactory()
{
INTERNAL_CHECK_ERROR( m_factoryPtr );
return *m_factoryPtr;
}
//------------------------------------------------------------------------------
}