00001 /** 00002 * @file SimpleTypeParameter.h 00003 * @brief Edit option class for the simple type data-merge 00004 * 00005 * @author Nakashima h 00006 * @date 2021-10-06 00007 * 00008 * $Id: SimpleTypeParameter.h 32 2022-07-14 03:20:43Z shingo.yoneda $ 00009 * 00010 * Copyright (c) 2020-2022 Antenna House, Inc. All rights reserved. 00011 */ 00012 00013 #pragma once 00014 #include "DataMergeParams.h" 00015 00016 /** 00017 * @brief Options for the simple type 00018 */ 00019 struct SimpleTypeParameter { 00020 public: 00021 /** 00022 * @brief Default constructor 00023 */ 00024 SimpleTypeParameter() {} 00025 00026 /** 00027 * @brief Destructor 00028 */ 00029 ~SimpleTypeParameter() {} 00030 00031 public: 00032 /** 00033 * @brief Output mode for the data-merge data of multiple record 00034 */ 00035 SimpleTypeOption::OutputMode m_output_mode = SimpleTypeOption::OutputMode::Single; 00036 00037 /** 00038 * @brief Data file path for data-merge 00039 */ 00040 std::string m_data_path = ""; 00041 00042 /** 00043 * @brief File format for merging data 00044 */ 00045 CommonOption::DataType m_data_type = CommonOption::DataType::CSV; 00046 00047 /** 00048 * @brief File encoding 00049 */ 00050 CommonOption::DataFileEncoding m_file_encoding = CommonOption::DataFileEncoding::SJIS; 00051 };