Qore Programming Language Reference Manual 0.8.8

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

All Classes Namespaces Functions Variables Groups Pages
Pseudo_QC_Object.dox.h
1 namespace Qore {
4
5 class <object> : public <value> {
6
7 public:
9
19 string className();
20
21 public:
23
35 bool empty();
36
37 public:
39
51 *string firstKey();
52
53 public:
55
76 bool hasCallableMethod(string name);
77
78 public:
80
101 bool hasCallableNormalMethod(string name);
102
103 public:
105
125 bool hasCallableStaticMethod(string name);
126
127 public:
129
139 bool isSystem();
140
141 public:
143
155 AbstractIterator iterator();
156
157 public:
159
171 ObjectKeyIterator keyIterator();
172
173 public:
175
185 list keys();
186
187 public:
189
201 *string lastKey();
202
203 public:
205
217 ObjectPairIterator pairIterator();
218
219 public:
221
231 int size();
232
233 public:
235
249 int typeCode();
250
251 public:
253
269 bool val();
270 };
271 };
<object>::typeCode
int typeCode()
Returns Qore::NT_OBJECT.
<object>::keys
list keys()
Returns a list of member names of the object; if called from outside the object, only public members ...
<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
<object>::lastKey
*string lastKey()
Returns the last member name in the object or NOTHING if the object has no members; if called from ou...
<object>
Methods in this pseudo-class can be executed on objects.
Definition: Pseudo_QC_Object.dox.h:5
<object>::hasCallableMethod
bool hasCallableMethod(string name)
Returns True if the given method exists (can be non-static or static) and is callable from the curren...
<object>::isSystem
bool isSystem()
Returns True if the object is a system object (ie a constant object like stdin, etc), False if not.
Qore::list
list list(...)
Returns a list of the arguments passed at the top level.
<object>::iterator
AbstractIterator iterator()
Returns an ObjectIterator object for the hash.
Qore::ObjectPairIterator
This class an iterator class for objects.
Definition: QC_ObjectPairIterator.dox.h:37
<object>::keyIterator
ObjectKeyIterator keyIterator()
Returns a ObjectKeyIterator object for the hash.
<object>::className
string className()
Returns the class name of the object.
<object>::size
int size()
Returns the number of members in the object, public and private.
Qore::ObjectKeyIterator
This class an iterator class for objectes.
Definition: QC_ObjectKeyIterator.dox.h:37
<object>::firstKey
*string firstKey()
Returns the first member name in the object or NOTHING if the object has no members; if called from o...
<object>::hasCallableNormalMethod
bool hasCallableNormalMethod(string name)
Returns True if the given non-static method exists and is callable from the current context...
<object>::pairIterator
ObjectPairIterator pairIterator()
Returns a ObjectPairIterator object for the hash.
<object>::val
bool val()
Returns False if the object has no public or private members, True if it does.
<object>::empty
bool empty()
Returns True if the object has no public or private members, False if it does.
<object>::hasCallableStaticMethod
bool hasCallableStaticMethod(string name)
Returns True if the given static method exists and is callable from the current context.
Qore::AbstractIterator
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10