Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
itrigger_member.h
Go to the documentation of this file.
1
/* Libmacro - A multi-platform, extendable macro and hotkey C library
2
Copyright (C) 2013 Jonathan Pelletier, New Paradigm Software
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
24
#ifndef MCR_EXTRAS_ITRIGGER_DATA_H_
25
#define MCR_EXTRAS_ITRIGGER_DATA_H_
26
27
#include "
mcr/extras/idata_member.h
"
28
29
namespace
mcr
30
{
38
class
MCR_API
ITriggerMember
:
public
IDataMember
39
{
40
public
:
41
MCR_DECL_INTERFACE
(
ITriggerMember
)
42
43
inline
bool
operator ==(
const
ITriggerMember
&rhs)
44
{
45
return
!compare(rhs);
46
}
47
inline
bool
operator <(
const
ITriggerMember
&rhs)
48
{
49
return
compare(rhs) < 0;
50
}
51
inline
bool
operator >(
const
ITriggerMember
&rhs)
52
{
53
return
compare(rhs) > 0;
54
}
55
};
56
}
57
58
#endif
mcr::IDataMember
Definition:
idata_member.h:38
idata_member.h
IData - Data type for instances C++.
mcr::ITriggerMember
Definition:
itrigger_member.h:38
MCR_DECL_INTERFACE
#define MCR_DECL_INTERFACE(className)
Definition:
defines.h:434
mcr
Libmacro, by Jonathan Pelletier, New Paradigm Software. Alpha version.
Definition:
classes.h:31
mcr
extras
itrigger_member.h
Generated on Sun Sep 27 2020 01:58:03 for Libmacro by
1.8.12