liblcf
Loading...
Searching...
No Matches
lcf_saveopt.h
Go to the documentation of this file.
1/*
2 * This file is part of liblcf. Copyright (c) 2020 liblcf authors.
3 * https://github.com/EasyRPG/liblcf - https://easyrpg.org
4 *
5 * liblcf is Free/Libre Open Source Software, released under the MIT License.
6 * For the full copyright and license information, please view the COPYING
7 * file that was distributed with this source code.
8 */
9
10#ifndef LCF_SAVEOPT_H
11#define LCF_SAVEOPT_H
12
16enum class SaveOpt {
17 eNone = 0,
19};
20
21constexpr SaveOpt operator|(SaveOpt l, SaveOpt r) { return SaveOpt(int(l) | int(r)); }
22constexpr SaveOpt operator&(SaveOpt l, SaveOpt r) { return SaveOpt(int(l) & int(r)); }
23constexpr SaveOpt operator^(SaveOpt l, SaveOpt r) { return SaveOpt(int(l) ^ int(r)); }
24constexpr SaveOpt operator~(SaveOpt l) { return SaveOpt(~int(l)); }
25
26#endif
27
constexpr SaveOpt operator~(SaveOpt l)
Definition: lcf_saveopt.h:24
constexpr SaveOpt operator&(SaveOpt l, SaveOpt r)
Definition: lcf_saveopt.h:22
SaveOpt
Definition: lcf_saveopt.h:16
@ ePreserveHeader
constexpr SaveOpt operator^(SaveOpt l, SaveOpt r)
Definition: lcf_saveopt.h:23
constexpr SaveOpt operator|(SaveOpt l, SaveOpt r)
Definition: lcf_saveopt.h:21