Qore Programming Language Reference Manual  0.8.9
 All Classes Namespaces Functions Variables Groups Pages
Pseudo_QC_Nothing.dox.h
1 namespace Qore {
4 
5 class <nothing> : public <value> {
6 
7 public:
9 
24 
25 public:
27 
42 nothing firstKey();
43 
44 public:
46 
61 nothing firstValue();
62 
63 public:
65 
82 bool hasKey(softstring key);
83 
84 public:
86 
103 bool hasKeyValue(softstring key);
104 
105 public:
107 
122 
123 public:
125 
140 list keys();
141 
142 public:
144 
159 nothing lastKey();
160 
161 public:
163 
178 nothing lastValue();
179 
180 public:
182 
195 int lsize();
196 
197 public:
199 
212 
213 public:
215 
230 
231 public:
233 
247 int typeCode();
248 
249 public:
251 
266 list values();
267 };
268 };
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:5
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.
list values()
Returns an empty list.
list list(...)
Returns a list of the arguments passed at the top level.
list keys()
Returns an empty list.
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:5
SingleValueIterator pairIterator()
Returns an empty SingleValueIterator object.
nothing lastValue()
Returns NOTHING.
nothing lastKey()
Returns NOTHING.
nothing firstValue()
Returns NOTHING.
nothing firstKey()
Returns NOTHING.