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