Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DocxManagerErrorCode.h

Go to the documentation of this file.
00001 /**
00002 * @file         DocxManagerErrorCode.h
00003 * @brief    エラーコードを定義するクラス
00004 *
00005 * @author       Nakashima h
00006 * @date     2021-10-06
00007 *
00008 * $Id: DocxManagerErrorCode.h 46 2022-07-15 09:03:22Z nakashima-h $
00009 *
00010 * Copyright (c) 2020-2022 Antenna House, Inc. All rights reserved.
00011 */
00012 
00013 #pragma once
00014 #include <iostream>
00015 #include <type_traits>
00016 
00017 /**
00018 * @brief    エラーコード
00019 */
00020 enum class DocxManagerErrorCode {
00021     WAPI_SUCCESS,
00022     WAPI_CANNOT_LOAD_FILE,
00023     WAPI_INVALID_FILE,
00024     WAPI_NO_MERGE_DATA,
00025     WAPI_LINKING_KEY_ISNT_SET,
00026     WAPI_NO_LINKING_KEY,
00027     WAPI_CANNOT_FIND_DIR,
00028     WAPI_WRITING_ERROR,
00029     WAPI_ISNT_LOCAL_FILE,
00030     WAPI_UNSUPPORTED_IMAGE_FILE,
00031     WAPI_EXPIRE_EVALUATION,
00032     WAPI_CANNOT_LOAD_LICFILE,
00033     WAPI_INVALID_LICFILE,
00034     WAPI_INVALID_OUTPUT,
00035 };
00036 
00037 template<typename T>
00038 std::ostream& operator<<(typename std::enable_if<std::is_enum<T>::value, std::ostream>::type& stream, const T& e)
00039 {
00040     return stream << static_cast<typename std::underlying_type<T>::type>(e);
00041 }

Generated on 19 Jan 2023 for Word API C/C++ Interface by Doxygen 1.3-rc2