Qore Programming Language Reference Manual  0.9.11
Pseudo_QC_Bool.dox.h
1 
3 namespace Qore {
5 /***/
6 class <bool> : public <value> {
7 
8 public:
10 
21 bool intp();
22 
23 public:
25 
36 bool strp();
37 
38 public:
40 
54 int typeCode();
55 
56 public:
58 
72 bool val();
73 };
74 }
<bool>::intp
bool intp()
Returns True because boolean values can be converted to integers (False = 0, True = 1)
<bool>::strp
bool strp()
Returns True because boolean values can be converted to strings (False = "0", True = "1")
<bool>
Methods in this pseudo-class can be executed on booling-point values.
Definition: Pseudo_QC_Bool.dox.h:6
<bool>::val
bool val()
Returns itself.
<value>
Methods in this pseudo-class are available to be executed on any value type (even NOTHING); this is t...
Definition: Pseudo_QC_All.dox.h:6
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
<bool>::typeCode
int typeCode()
Returns Qore::NT_BOOLEAN.