opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
temporary_file_parameters.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace osc
6{
7 // Parameters for constructing a `TemporaryFile`.
8 //
9 // Designed for designated initializer compatibility:
10 //
11 // `TemporaryFile temporary_file({ .suffix = ".obj" });`
13
14 // A prefix that will be prepended to the dynamic portion of the temporary
15 // file name (e.g. `${prefix}XXXXXX${suffix}`).
16 std::string prefix{};
17
18 // A suffix that will be appended to the dynamic portion of the temporary
19 // file name (e.g. `${prefix}XXXXXX${suffix}`).
20 std::string suffix{};
21 };
22}
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56
Definition temporary_file_parameters.h:12
std::string prefix
Definition temporary_file_parameters.h:16
std::string suffix
Definition temporary_file_parameters.h:20