GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
interface_toml_data_validator.h
[詳解]
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#ifndef DESIGNLAB_INTERFACE_TOML_DATA_VALIDATOR_H_
9#define DESIGNLAB_INTERFACE_TOML_DATA_VALIDATOR_H_
10
11#include <string>
12#include <tuple>
13
14
15namespace designlab
16{
17
20template <typename T>
22{
23public:
24 virtual ~ITomlDataValidator() = default;
25
29 virtual std::tuple<bool, std::string> Validate(const T& toml_data) const = 0;
30};
31
32} // namespace designlab
33
34
35#endif // DESIGNLAB_INTERFACE_TOML_DATA_VALIDATOR_H_
TOMLファイルのデータの検証を行う処理のインターフェース.
virtual std::tuple< bool, std::string > Validate(const T &toml_data) const =0
TOMLファイルのデータの検証を行う.
virtual ~ITomlDataValidator()=default