1 #ifndef __JLANG__JBOOL__
2 #define __JLANG__JBOOL__
10 namespace JPP {
using namespace JLANG; }
19 template<
bool __value__>
38 static const bool value = __value__;
84 return bool_type::c_equals<option>();
106 template<
bool option>
109 return bool_type::c_and<option>();
118 template<
bool option>
131 template<
bool option>
134 return bool_type::c_or<option>();
143 template<
bool option>
156 template<
bool option>
159 return bool_type::c_xor<option>();
169 template<
bool __first__,
bool __second__>
184 template<
bool __first__,
bool __second__>
188 return bool_type::c_switch<__first__, __second__>();
199 template<
bool __value__>
202 return value.
c_not();
213 template<
bool __first__,
bool __second__>
228 template<
bool __first__,
bool __second__>
232 return first.
c_and(second);
243 template<
bool __first__,
bool __second__>
247 return first.
c_or(second);
258 template<
bool __first__,
bool __second__>
262 return first.
c_xor(second);
276 template<
class JFirst_t,
class JSecond_t>
282 template<
bool first,
bool second>
284 public JBool<first == second>
297 template<
bool __value__>
299 public JBool<!__value__>
306 template<
class JFirst_t,
class JSecond_t>
312 template<
bool first,
bool second>
314 public JBool<first && second>
321 template<
class JFirst_t,
class JSecond_t>
327 template<
bool first,
bool second>
329 public JBool<first || second>
336 template<
class JFirst_t,
class JSecond_t>
342 template<
bool first,
bool second>
344 public JBool<first != second>
static JBool<!value > c_not()
Make logical NOT.
static JBool< value==option > c_equals(const JBool< option > &object)
Make logical EQUALS.
JBool< __value__ > bool_type
Type definition of bool value.
static JBool<!__value__ > c_not(const JBool< __value__ > &value)
Make logical NOT.
static JBool< value==option > c_equals()
Make logical EQUALS.
static const JTRUE JTrue_t
True value.
static JBool< value &&option > c_and()
Make logical AND.
JBool< __first__==__second__ > c_equals(const JBool< __first__ > &first, const JBool< __second__ > &second)
Make logical EQUALS.
static JBool< value||option > c_or()
Make logical OR.
JBool< __first__==__second__ > c_and(const JBool< __first__ > &first, const JBool< __second__ > &second)
Make logical AND.
static JBool< value!=option > c_xor()
Make logical XOR.
static const JFALSE JFalse_t
False value.
Type definition of logical XOR.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
static const bool value
Value.
Auxiliary template class for type bool.
JBool< true > JTRUE
True type.
static JBool< value||option > c_or(const JBool< option > &object)
Make logical OR.
static JBool< value &&option > c_and(const JBool< option > &object)
Make logical AND.
Type definition of logical EQUALS.
static JBool<(value &&__first__)||(!value &&__second__)> c_switch(const JBool< __first__ > &first, const JBool< __second__ > &second)
Make logical SWITCH.
static JBool<(value &&__first__)||(!value &&__second__)> c_switch()
Make logical SWITCH.
JBool()
Default construcor.
Type definition of logical NOT.
Type definition of logical AND.
static JBool< value!=option > c_xor(const JBool< option > &object)
Make logical XOR.
JBool< __first__==__second__ > c_or(const JBool< __first__ > &first, const JBool< __second__ > &second)
Make logical OR.
Type definition of logical OR.
JBool< __first__==__second__ > c_xor(const JBool< __first__ > &first, const JBool< __second__ > &second)
Make logical XOR.
JBool< false > JFALSE
False type.