CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
i_file_serializer_writer.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <span>
11#include <string_view>
13
14namespace CaptureMoment::Core {
15
16namespace Serializer {
17
22public:
23 virtual ~IFileSerializerWriter() = default;
24
33 [[nodiscard]] virtual bool saveToFile(std::string_view source_image_path, std::span<const Operations::OperationDescriptor> operations) const = 0;
34};
35
36} // namespace Serializer
37
38} // namespace CaptureMoment::Core
Interface for writing serialized operation data to a file.
virtual bool saveToFile(std::string_view source_image_path, std::span< const Operations::OperationDescriptor > operations) const =0
Saves the provided list of operations to a file in the target format (e.g., XMP). The target file pat...
Manages the lifecycle of a single IWorkingImage instance.
Descriptor of an operation with its parameters and unique identifier.
CaptureMoment — footer