Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
ErrorFlags.hpp
1
// Copyright (C) 2017 Jérôme Leclercq
2
// This file is part of the "Nazara Engine - Core module"
3
// For conditions of distribution and use, see copyright notice in Config.hpp
4
5
#pragma once
6
7
#ifndef NAZARA_ERRORFLAGS_HPP
8
#define NAZARA_ERRORFLAGS_HPP
9
10
#include <Nazara/Prerequesites.hpp>
11
12
namespace
Nz
13
{
14
class
NAZARA_CORE_API
ErrorFlags
15
{
16
public
:
17
ErrorFlags
(UInt32 flags,
bool
replace =
false
);
18
ErrorFlags
(
const
ErrorFlags
&) =
delete
;
19
ErrorFlags
(
ErrorFlags
&&) =
delete
;
20
~
ErrorFlags
();
21
22
UInt32 GetPreviousFlags()
const
;
23
24
void
SetFlags(UInt32 flags,
bool
replace =
false
);
25
26
ErrorFlags
& operator=(
const
ErrorFlags
&) =
delete
;
27
ErrorFlags
& operator=(
ErrorFlags
&&) =
delete
;
28
29
private
:
30
UInt32 m_previousFlags;
31
};
32
}
33
34
#endif // NAZARA_ERRORFLAGS_HPP
Nz
TODO: Inherit SoundEmitter from Node.
Definition:
Algorithm.hpp:12
Nz::ErrorFlags
Core class that represents flags for error.
Definition:
ErrorFlags.hpp:14
include
Nazara
Core
ErrorFlags.hpp
Generated by
1.8.13