Qore Programming Language
0.9.3
|
a method in a QoreClass More...
#include <QoreClass.h>
Public Member Methods | |
DLLEXPORT QoreValue | execManaged (QoreObject *self, const QoreListNode *args, ExceptionSink *xsink) const |
evaluates the method and returns the value, does not reference the object for the call More... | |
DLLEXPORT bool | existsVariant (const type_vec_t ¶mTypeInfo) const |
returns true if a variant with the given parameter signature already exists in the method | |
DLLEXPORT ClassAccess | getAccess () const |
returns the lowest access code of all variants in the method | |
DLLEXPORT const QoreClass * | getClass () const |
returns a pointer to the parent class | |
DLLEXPORT const char * | getClassName () const |
returns the class name for the method | |
DLLEXPORT const QoreExternalMethodFunction * | getFunction () const |
returns the function for the method More... | |
DLLEXPORT method_type_e | getMethodType () const |
returns the type of method More... | |
DLLEXPORT const char * | getName () const |
returns the method's name More... | |
DLLEXPORT const std::string & | getNameStr () const |
returns the method's name More... | |
DLLEXPORT bool | isBuiltin () const |
returns true if all variants of the method are builtin variants More... | |
DLLEXPORT bool | isPrivate () const |
returns true if all overloaded variants of a methods are private or class internal, false if at least one variant is public More... | |
DLLEXPORT bool | isStatic () const |
returns true if the method is static More... | |
DLLEXPORT bool | isUser () const |
returns true if all variants of the method are user variants More... | |
Friends | |
class | QoreObject |
a method in a QoreClass
methods can be implemented in the Qore language (user methods) or in C++ (builtin methods)
DLLEXPORT QoreValue QoreMethod::execManaged | ( | QoreObject * | self, |
const QoreListNode * | args, | ||
ExceptionSink * | xsink | ||
) | const |
evaluates the method and returns the value, does not reference the object for the call
DLLEXPORT const QoreExternalMethodFunction* QoreMethod::getFunction | ( | ) | const |
returns the function for the method
DLLEXPORT method_type_e QoreMethod::getMethodType | ( | ) | const |
returns the type of method
DLLEXPORT const char* QoreMethod::getName | ( | ) | const |
returns the method's name
DLLEXPORT const std::string& QoreMethod::getNameStr | ( | ) | const |
returns the method's name
DLLEXPORT bool QoreMethod::isBuiltin | ( | ) | const |
returns true if all variants of the method are builtin variants
DLLEXPORT bool QoreMethod::isPrivate | ( | ) | const |
returns true if all overloaded variants of a methods are private or class internal, false if at least one variant is public
DLLEXPORT bool QoreMethod::isStatic | ( | ) | const |
returns true if the method is static
DLLEXPORT bool QoreMethod::isUser | ( | ) | const |
returns true if all variants of the method are user variants