CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
sidecar_xmp_path_strategy.h
Go to the documentation of this file.
1
9#pragma once
10
12#include <string>
13
15
23public:
25 ~SidecarXmpPathStrategy() override = default;
26
27 // Delete copy/move
32
41 [[nodiscard]] std::string getXmpPathForImage(std::string_view source_image_path) const override;
42
51 [[nodiscard]] std::string getImagePathFromXmp(std::string_view xmp_path) const override;
52};
53
54} // namespace CaptureMoment::Core::Serializer
Interface defining the strategy for determining XMP file paths based on image paths.
Implementation of IXmpPathStrategy that stores XMP files alongside the image file.
std::string getXmpPathForImage(std::string_view source_image_path) const override
Calculates the XMP file path associated with a given source image path.
std::string getImagePathFromXmp(std::string_view xmp_path) const override
Calculates the source image path associated with a given XMP file path.
SidecarXmpPathStrategy & operator=(const SidecarXmpPathStrategy &)=delete
SidecarXmpPathStrategy(SidecarXmpPathStrategy &&)=delete
SidecarXmpPathStrategy(const SidecarXmpPathStrategy &)=delete
SidecarXmpPathStrategy & operator=(SidecarXmpPathStrategy &&)=delete
Declaration of IXmpPathStrategy interface.
CaptureMoment — footer