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 
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 
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 
213 
214 public:
216 
231 
232 public:
234 
248 int typeCode();
249 
250 public:
252 
267 list<auto> values();
268 };
269 }
int typeCode()
Returns Qore::NT_NOTHING.
bool hasKey(softstring key)
Returns True if the key exists in the hash (may or may not be assigned a value), False if not...
SingleValueIterator keyIterator()
Returns an empty SingleValueIterator object.
SingleValueIterator contextIterator()
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
SingleValueIterator rangeIterator()
Returns an empty SingleValueIterator object.
This class defines a simple iterator to be used to iterate single values (or complex objects where no...
Definition: QC_SingleValueIterator.dox.h:25
int lsize()
Returns 0.
bool hasKeyValue(softstring key)
Returns True if the key exists and is assigned to a value, False if not.
Methods in this pseudo-class can be executed on NOTHING.
Definition: Pseudo_QC_Nothing.dox.h:6
SingleValueIterator pairIterator()
Returns an empty SingleValueIterator object.
nothing lastValue()
Returns NOTHING.
nothing lastKey()
Returns NOTHING.
list< auto > values()
Returns an empty list.
list< string > keys()
Returns an empty list.
nothing firstValue()
Returns NOTHING.
nothing firstKey()
Returns NOTHING.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3