![]()  | 
  
    Qore Programming Language
    0.9.16
    
   | 
 
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  | |
| const DLLEXPORT QoreClass * | getClass () const | 
| returns a pointer to the parent class  | |
| const DLLEXPORT char * | getClassName () const | 
| returns the class name for the method  | |
| const DLLEXPORT QoreExternalMethodFunction * | getFunction () const | 
| returns the function for the method  More... | |
| DLLEXPORT method_type_e | getMethodType () const | 
| returns the type of method  More... | |
| const DLLEXPORT char * | getName () const | 
| returns the method's name  More... | |
| const DLLEXPORT 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
| const DLLEXPORT QoreExternalMethodFunction* QoreMethod::getFunction | ( | ) | const | 
returns the function for the method
| DLLEXPORT method_type_e QoreMethod::getMethodType | ( | ) | const | 
returns the type of method
| const DLLEXPORT char* QoreMethod::getName | ( | ) | const | 
returns the method's name
| const DLLEXPORT 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