| Qore Programming Language Reference Manual 1.0.8

Pseudo_QC_Nothing.dox.h
1
3 namespace Qore {
5 /***/
6 class <nothing> : public <value> {
7
8 public:
10
24 SingleValueIterator contextIterator();
25
26 public:
28
43 nothing firstKey();
44
45 public:
47
62 nothing firstValue();
63
64 public:
66
83 bool hasKey(softstring key);
84
85 public:
87
104 bool hasKeyValue(softstring key);
105
106 public:
108
122 SingleValueIterator keyIterator();
123
124 public:
126
141 list<string> keys();
142
143 public:
145
160 nothing lastKey();
161
162 public:
164
179 nothing lastValue();
180
181 public:
183
196 int lsize();
197
198 public:
200
212 SingleValueIterator pairIterator();
213
214 public:
216
230 SingleValueIterator rangeIterator();
231
232 public:
234
248 int typeCode();
249
250 public:
252
267 list<auto> values();
268 };
269 }
<nothing>::typeCode
int typeCode()
Returns Qore::NT_NOTHING.
<nothing>::hasKey
bool hasKey(softstring key)
Returns True if the key exists in the hash (may or may not be assigned a value), False if not...
<nothing>::keyIterator
SingleValueIterator keyIterator()
Returns an empty SingleValueIterator object.
<nothing>::contextIterator
SingleValueIterator contextIterator()
Returns an empty SingleValueIterator object.
<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
<nothing>::rangeIterator
SingleValueIterator rangeIterator()
Returns an empty SingleValueIterator object.
Qore::SingleValueIterator
This class defines a simple iterator to be used to iterate single values (or complex objects where no...
Definition: QC_SingleValueIterator.dox.h:25
<nothing>::lsize
int lsize()
Returns 0.
<nothing>::hasKeyValue
bool hasKeyValue(softstring key)
Returns True if the key exists and is assigned to a value, False if not.
<nothing>
Methods in this pseudo-class can be executed on NOTHING.
Definition: Pseudo_QC_Nothing.dox.h:6
<nothing>::pairIterator
SingleValueIterator pairIterator()
Returns an empty SingleValueIterator object.
<nothing>::lastValue
nothing lastValue()
Returns NOTHING.
<nothing>::lastKey
nothing lastKey()
Returns NOTHING.
<nothing>::values
list< auto > values()
Returns an empty list.
<nothing>::keys
list< string > keys()
Returns an empty list.
<nothing>::firstValue
nothing firstValue()
Returns NOTHING.
<nothing>::firstKey
nothing firstKey()
Returns NOTHING.
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3