Qore Programming Language Reference Manual: lib/Pseudo_QC_Bool.dox.h Source File

Qore Programming Language Reference Manual 0.8.11

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
Pseudo_QC_Bool.dox.h
1 namespace Qore {
4
5 class <bool> : public <value> {
6
7 public:
9
20 bool intp();
21
22 public:
24
35 bool strp();
36
37 public:
39
53 int typeCode();
54
55 public:
57
71 bool val();
72 };
73 };
<bool>::strp
bool strp()
Returns True because boolean values can be converted to strings (False = "0", True = "1") ...
<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:5
<bool>::typeCode
int typeCode()
Returns Qore::NT_BOOLEAN.
<bool>
Methods in this pseudo-class can be executed on booling-point values.
Definition: Pseudo_QC_Bool.dox.h:5
<bool>::intp
bool intp()
Returns True because boolean values can be converted to integers (False = 0, True = 1) ...
<bool>::val
bool val()
Returns itself.