OnOff.h
Go to the documentation of this file.
1 #ifndef GfxTL__ONOFF_HEADER__
2 #define GfxTL__ONOFF_HEADER__
3 
4 namespace GfxTL
5 {
6 
7  template <bool T>
8  class OnOff
9  {
10  };
11 
12  typedef OnOff<true> On;
13  typedef OnOff<false> Off;
14  typedef OnOff<true> Yes;
15  typedef OnOff<false> No;
16 
17 }; // namespace GfxTL
18 
19 #endif
GfxTL::OnOff
Definition: OnOff.h:8
GfxTL::Off
OnOff< false > Off
Definition: OnOff.h:13
GfxTL::On
OnOff< true > On
Definition: OnOff.h:12
GfxTL
Definition: AABox.h:9
GfxTL::Yes
OnOff< true > Yes
Definition: OnOff.h:14
GfxTL::No
OnOff< false > No
Definition: OnOff.h:15