GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
DesignLab
toml_directory_exporter.cpp
[詳解]
1
3
4
// Copyright(c) 2023-2025 Design Engineering Laboratory, Saitama University
5
// Released under the MIT license
6
// https://opensource.org/licenses/mit-license.php
7
8
#include "
toml_directory_exporter.h
"
9
10
#include <filesystem>
11
12
13
namespace
designlab
14
{
15
16
const
char
TomlDirectoryExporter::kTomlFileDirPath
[] =
"./simulation_condition/"
;
17
18
19
void
TomlDirectoryExporter::Export
()
20
{
21
// ディレクトリが存在しない場合は作成.
22
if
(!std::filesystem::exists(
kTomlFileDirPath
))
23
{
24
std::filesystem::create_directory(
kTomlFileDirPath
);
25
}
26
}
27
28
}
// namespace designlab
designlab::TomlDirectoryExporter::kTomlFileDirPath
static const char kTomlFileDirPath[]
TOMLファイルを入れるディレクトリのパス.
Definition
toml_directory_exporter.h:24
designlab::TomlDirectoryExporter::Export
void Export()
TOMLファイルを入れるディレクトリを作成し, TOMLファイル読み込みの準備をする.
Definition
toml_directory_exporter.cpp:19
designlab
Definition
abstract_dxlib_gui.cpp:18
toml_directory_exporter.h
構築:
1.9.8