opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
utilities
temporary_file_parameters.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
namespace
osc
6
{
7
// Parameters for constructing a `TemporaryFile`.
8
//
9
// Designed for designated initializer compatibility:
10
//
11
// `TemporaryFile temporary_file({ .suffix = ".obj" });`
12
struct
TemporaryFileParameters
final {
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
}
osc
Definition
custom_decoration_generator.h:5
osc::TemporaryFileParameters
Definition
temporary_file_parameters.h:12
osc::TemporaryFileParameters::prefix
std::string prefix
Definition
temporary_file_parameters.h:16
osc::TemporaryFileParameters::suffix
std::string suffix
Definition
temporary_file_parameters.h:20
Generated by
1.9.8