Provides location of fits source file.
More...
#include <sourceResolver.hpp>
Provides location of fits source file.
Definition at line 27 of file sourceResolver.hpp.
◆ Mapping
◆ SourceResolver() [1/2]
daq::dpm::SourceResolver::SourceResolver |
( |
| ) |
|
|
default |
Initialize resolver with no content.
◆ SourceResolver() [2/2]
daq::dpm::SourceResolver::SourceResolver |
( |
Mapping |
mapping | ) |
|
|
explicit |
◆ Add()
Adds path
so it is resolved using source_name
and location
.
- Parameters
-
source | Source file. |
path | Local path to a file source_name and source will be resolved to. |
Definition at line 25 of file sourceResolver.cpp.
◆ GetMapping()
auto daq::dpm::SourceResolver::GetMapping |
( |
| ) |
const -> Mapping const& |
|
noexcept |
Get native representation of source mapping for serialization.
Definition at line 42 of file sourceResolver.cpp.
◆ Resolve()
Resolves local file that was previously added with Add().
- Parameters
-
- Returns
- Local path to a file source_name and source resolved to.
- Exceptions
-
Definition at line 30 of file sourceResolver.cpp.
◆ SetMapping()
void daq::dpm::SourceResolver::SetMapping |
( |
Mapping |
mapping | ) |
|
|
noexcept |
The documentation for this class was generated from the following files: