Qore Programming Language Reference Manual 2.0.0
|
Functions | |
auto | Qore::callObjectMethod (object obj, string method,...) |
Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method. | |
nothing | Qore::callObjectMethod () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. | |
auto | Qore::callObjectMethodArgs (object obj, string method, __7_ softlist< auto > varg) |
Calls a method of an object, using the optional third argument as the argument list to the method. | |
nothing | Qore::callObjectMethodArgs () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. | |
auto | Qore::call_object_method (object obj, string method,...) |
Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method. | |
auto | Qore::call_object_method_args (object obj, string method, __7_ softlist< auto > varg) |
Calls a method of an object, using the optional third argument as the argument list to the method. | |
auto | Qore::call_pseudo (any val, string meth,...) |
calls a pseudo-method on the given value | |
auto | Qore::call_pseudo_args (any val, string meth, __7_ softlist< auto > argv) |
calls a pseudo-method on the given value with arguments given as a list | |
auto | Qore::call_static_method (string class_name, string method,...) |
Calls a static method of an object, passing the arguments to the function as arguments to the method. | |
auto | Qore::call_static_method_args (string class_name, string method, __7_ softlist< auto > call_args) |
Calls a static method of an object, passing the arguments to the function as arguments to the method. | |
object | Qore::create_object (string class_name,...) |
creates an object from the class name (which can include a namespace path) and optionally any arguments for the constructor | |
object | Qore::create_object_args (string class_name, __7_ softlist< auto > argv) |
creates an object from the class name (which can include a namespace path) and optionally any arguments for the constructor | |
list | Qore::getMethodList (object obj) |
Returns a list of strings of the names of the methods of the class of the object passed as a parameter. | |
nothing | Qore::getMethodList () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. | |
list< string > | Qore::get_method_list (object obj) |
Returns a list of strings of the names of the methods of the class of the object passed as a parameter. | |
Object functions
Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method.
obj | the object to use for the call |
method | the method to call |
... | any additional arguments to the method |
METHOD-DOES-NOT-EXIST | The named method does not exist in this class |
ILLEGAL-EXPLICIT-METHOD-CALL | The named method may not be called explicitly |
METHOD-IS-PRIVATE | The named method is private and therefore can only be called within the class |
BASE-CLASS-IS-PRIVATE | The named method is a member of a privately inherited base class |
Calls a method of an object, using the optional third argument as the argument list to the method.
obj | the object to use for the call |
method | the method to call |
varg | any additional arguments to the method |
METHOD-DOES-NOT-EXIST | The named method does not exist in this class |
ILLEGAL-EXPLICIT-METHOD-CALL | The named method may not be called explicitly |
METHOD-IS-PRIVATE | The named method is private and therefore can only be called within the class |
BASE-CLASS-IS-PRIVATE | The named method is a member of a privately inherited base class |
calls a pseudo-method on the given value
val | the value to call the pseudo-method on |
meth | the string method name of the pseudo-method to call |
... | any other arguments to the method |
calls a pseudo-method on the given value with arguments given as a list
val | the value to call the pseudo-method on |
meth | the string method name of the pseudo-method to call |
argv | any other arguments to the method |
Calls a static method of an object, passing the arguments to the function as arguments to the method.
class_name | the with an optional namespace prefix |
method | the static method to call |
... | any additional arguments to the method |
METHOD-DOES-NOT-EXIST | The named method does not exist in this class |
ILLEGAL-EXPLICIT-METHOD-CALL | The named method may not be called explicitly |
METHOD-IS-PRIVATE | The named method is private and therefore can only be called within the class |
BASE-CLASS-IS-PRIVATE | The named method is a member of a privately inherited base class |
auto Qore::call_static_method_args | ( | string | class_name, |
string | method, | ||
__7_ softlist< auto > | call_args | ||
) |
Calls a static method of an object, passing the arguments to the function as arguments to the method.
class_name | the with an optional namespace prefix |
method | the static method to call |
call_args | any additional arguments to the method |
METHOD-DOES-NOT-EXIST | The named method does not exist in this class |
ILLEGAL-EXPLICIT-METHOD-CALL | The named method may not be called explicitly |
METHOD-IS-PRIVATE | The named method is private and therefore can only be called within the class |
BASE-CLASS-IS-PRIVATE | The named method is a member of a privately inherited base class |
nothing Qore::callObjectMethod | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method.
obj | the object to use for the call |
method | the method to call |
... | any additional arguments to the method |
METHOD-DOES-NOT-EXIST | The named method does not exist in this class |
ILLEGAL-EXPLICIT-METHOD-CALL | The named method may not be called explicitly |
METHOD-IS-PRIVATE | The named method is private and therefore can only be called within the class |
BASE-CLASS-IS-PRIVATE | The named method is a member of a privately inherited base class |
nothing Qore::callObjectMethodArgs | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Calls a method of an object, using the optional third argument as the argument list to the method.
obj | the object to use for the call |
method | the method to call |
varg | any additional arguments to the method |
METHOD-DOES-NOT-EXIST | The named method does not exist in this class |
ILLEGAL-EXPLICIT-METHOD-CALL | The named method may not be called explicitly |
METHOD-IS-PRIVATE | The named method is private and therefore can only be called within the class |
BASE-CLASS-IS-PRIVATE | The named method is a member of a privately inherited base class |
creates an object from the class name (which can include a namespace path) and optionally any arguments for the constructor
class_name | the name of the class to instantiate (can be prefixed with a namespace path) |
... | any other arguments to the constructor |
CREATE-OBJECT-ERROR | unknown class, class implements features restricted by current parse options / sandboxing restrictions |
CONSTRUCTOR-IS-PRIVATE | attempt to instantiate an object with a private constructor from outside the class |
creates an object from the class name (which can include a namespace path) and optionally any arguments for the constructor
class_name | the name of the class to instantiate (can be prefixed with a namespace path) |
argv | any other arguments to the constructor |
CREATE-OBJECT-ERROR | unknown class, class implements features restricted by current parse options / sandboxing restrictions |
CONSTRUCTOR-IS-PRIVATE | attempt to instantiate an object with a private constructor from outside the class |
Returns a list of strings of the names of the methods of the class of the object passed as a parameter.
obj | an object of the class to get the method list from |
nothing Qore::getMethodList | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
Returns a list of strings of the names of the methods of the class of the object passed as a parameter.
obj | an object of the class to get the method list from |