Qore Programming Language - C/C++ Library
0.8.13.5
|
creates a builtin class More...
#include <QoreClass.h>
Public Member Functions | |
DLLEXPORT | QoreBuiltinClass (const char *name, int64 n_domain=QDOM_DEFAULT) |
creates the object and marks it as a builtin class | |
DLLEXPORT | QoreBuiltinClass (const QoreBuiltinClass &old) |
copies the object | |
![]() | |
DLLEXPORT | QoreClass (const char *n_name, int64 n_domain=QDOM_DEFAULT) |
creates the QoreClass object and assigns the name and the functional domain More... | |
DLLEXPORT | QoreClass (const char *n_name, int n_domain) |
creates the QoreClass object and assigns the name and the functional domain More... | |
DLLEXPORT | QoreClass (const char *n_name, int64 n_domain, const QoreTypeInfo *n_typeInfo) |
creates the QoreClass object and assigns the name, the functional domain, and a custom QoreTypeInfo object created with AbstractQoreClassTypeInfoHelper More... | |
DLLEXPORT | QoreClass (const QoreClass &old) |
copy constructor More... | |
DLLLOCAL | QoreClass () |
constructor not exported in library's API | |
DLLEXPORT void | addAbstractMethodVariant (const char *n_name, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds an unimplemented abstract method variant to the class with extended information; with return and parameter type info | |
DLLEXPORT void | addAbstractMethodVariant (const char *n_name, ClassAccess access, int64 n_flags, const QoreTypeInfo *returnTypeInfo, const type_vec_t &n_typeList, const arg_vec_t &defaultArgList=arg_vec_t(), const name_vec_t &n_names=name_vec_t()) |
adds an unimplemented abstract method variant to the class with return and parameter type info | |
DLLEXPORT void | addAbstractMethodVariantExtended3 (const char *n_name, bool priv=false, int64 n_flags=QC_NO_FLAGS, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds an unimplemented abstract method variant to the class with extended information; with return and parameter type info More... | |
DLLEXPORT void | addBuiltinBaseClass (QoreClass *qc, QoreListNode *xargs=0) |
make a builtin class a child of another builtin class More... | |
DLLEXPORT void | addBuiltinConstant (const char *name, AbstractQoreNode *value, bool priv=false, const QoreTypeInfo *typeInfo=0) |
adds a class constant to the class More... | |
DLLEXPORT void | addBuiltinConstant (const char *name, QoreValue value, ClassAccess access=Public, const QoreTypeInfo *typeInfo=0) |
adds a class constant to the class More... | |
DLLEXPORT void | addBuiltinStaticVar (const char *name, AbstractQoreNode *value, bool priv=false, const QoreTypeInfo *typeInfo=0) |
adds a static variable to the class More... | |
DLLEXPORT void | addBuiltinStaticVar (const char *name, QoreValue value, ClassAccess access=Public, const QoreTypeInfo *typeInfo=0) |
adds a static variable to the class More... | |
DLLEXPORT void | addBuiltinVirtualBaseClass (QoreClass *qc) |
sets "virtual" base class for a class, meaning that the base class data is appropriate for use in the subclass builtin methods More... | |
DLLEXPORT void | addConstructor (q_constructor_n_t meth, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, unsigned num_params=0,...) |
sets the constructor method with extended information; can set a private constructor, set additional functional domain info, and parameter type info (or adds an overloaded variant) | |
DLLEXPORT void | addConstructor (q_constructor_n_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, unsigned num_params=0,...) |
sets the constructor method with extended information; can set a private constructor, set additional functional domain info, and parameter type info (or adds an overloaded variant) More... | |
DLLEXPORT void | addConstructorVariant (const void *ptr, q_external_constructor_t meth, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t(), const name_vec_t &n_names=name_vec_t()) |
sets the constructor method with extended information; can set a private constructor, set additional functional domain info, and parameter type info (or adds an overloaded variant) More... | |
DLLEXPORT void | addDefaultBuiltinBaseClass (QoreClass *qc, QoreListNode *xargs=0) |
make a builtin class a child of another builtin class and ensures that the given class's private data will be used in all class methods More... | |
DLLEXPORT void | addMember (const char *mem, ClassAccess access, const QoreTypeInfo *n_typeInfo, AbstractQoreNode *initial_value=0) |
adds a member | |
DLLEXPORT void | addMethod (const char *n_name, q_method_n_t meth, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method to a class More... | |
DLLEXPORT void | addMethod (const char *n_name, q_method_n_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method to a class More... | |
DLLEXPORT void | addMethod (const char *n_name, q_method_t meth, bool priv=false) |
adds a builtin method to a class More... | |
DLLEXPORT void | addMethod2 (const char *n_name, q_method2_t meth, bool priv=false) |
adds a builtin method with the new generic calling convention More... | |
DLLEXPORT void | addMethodExtended (const char *n_name, q_method_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtended (const char *n_name, q_method_int64_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtended2 (const char *n_name, q_method2_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with the new calling convention and extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtended3 (const char *n_name, q_method_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtended3 (const char *n_name, q_method_int64_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtended3 (const char *n_name, q_method_bool_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtended3 (const char *n_name, q_method_double_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addMethodExtendedList (const char *n_name, q_method_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
adds a builtin method with extended information; additional functional domain info, return and parameter type info from lists More... | |
DLLEXPORT void | addMethodExtendedList2 (const char *n_name, q_method2_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
adds a builtin method with the new calling convention and extended information; additional functional domain info, return and parameter type info from lists More... | |
DLLEXPORT void | addMethodExtendedList3 (const void *ptr, const char *n_name, q_method3_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
adds a builtin method with the even newer calling convention and extended information; additional functional domain info, return and parameter type info from lists More... | |
DLLEXPORT void | addMethodVariant (const void *ptr, const char *n_name, q_external_method_t meth, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t(), const name_vec_t &n_names=name_vec_t()) |
adds a builtin method variant to a class with the calling convention for external modules More... | |
DLLEXPORT void | addPrivateMember (const char *mem, const QoreTypeInfo *n_typeInfo, AbstractQoreNode *initial_value=0) |
adds a private member More... | |
DLLEXPORT void | addPublicMember (const char *mem, const QoreTypeInfo *n_typeInfo, AbstractQoreNode *initial_value=0) |
adds a public member More... | |
DLLEXPORT void | addStaticMethod (const char *n_name, q_func_n_t meth, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info | |
DLLEXPORT void | addStaticMethod (const char *n_name, q_func_n_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethod (const char *n_name, q_func_t meth, bool priv=false) |
adds a builtin static method to a class More... | |
DLLEXPORT void | addStaticMethod2 (const char *n_name, q_static_method2_t meth, bool priv=false) |
adds a builtin static method with the new generic calling convention More... | |
DLLEXPORT void | addStaticMethodExtended (const char *n_name, q_func_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethodExtended2 (const char *n_name, q_static_method2_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with the new generic calling convention with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethodExtended3 (const char *n_name, q_func_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethodExtended3 (const char *n_name, q_func_int64_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethodExtended3 (const char *n_name, q_func_bool_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethodExtended3 (const char *n_name, q_func_double_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, unsigned num_params=0,...) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT void | addStaticMethodExtendedList (const char *n_name, q_func_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info from lists More... | |
DLLEXPORT void | addStaticMethodExtendedList2 (const char *n_name, q_static_method2_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
adds a builtin static method with the new generic calling convention with extended information; additional functional domain info, return and parameter type info from lists More... | |
DLLEXPORT void | addStaticMethodExtendedList3 (const void *ptr, const char *n_name, q_static_method3_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
adds a builtin static method with the even newer generic calling convention with extended information; additional functional domain info, return and parameter type info from lists More... | |
DLLEXPORT void | addStaticMethodVariant (const void *ptr, const char *n_name, q_external_static_method_t meth, ClassAccess access=Public, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const QoreTypeInfo *returnTypeInfo=0, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t(), const name_vec_t &n_names=name_vec_t()) |
adds a builtin static method with extended information; additional functional domain info, return and parameter type info More... | |
DLLEXPORT QoreObject * | execConstructor (const QoreValueList *args, ExceptionSink *xsink) const |
creates a new object and executes the constructor on it and returns the new object More... | |
DLLEXPORT QoreObject * | execConstructor (const QoreListNode *args, ExceptionSink *xsink) const |
creates a new object and executes the constructor on it and returns the new object More... | |
DLLEXPORT QoreObject * | execCopy (QoreObject *old, ExceptionSink *xsink) const |
executes a class's "copy" method on an object and returns the new object (or 0 in the case of an exception) More... | |
DLLEXPORT QoreObject * | execSystemConstructor (int code=0,...) const |
creates a new "system" object for use as the value of a constant, executes the system constructor on it and returns the new object More... | |
DLLEXPORT const QoreMethod * | findLocalMethod (const char *name) const |
looks for a non-static method in the current class without searching base classes More... | |
DLLEXPORT const QoreMethod * | findLocalStaticMethod (const char *name) const |
looks for a static method in the current class without searching base classes More... | |
DLLEXPORT const QoreMethod * | findMethod (const char *nme) const |
finds a non-static method in the class hierarchy | |
DLLEXPORT const QoreMethod * | findMethod (const char *nme, bool &priv) const |
finds a non-static method in the class hierarchy at runtime and sets the priv flag if it's a private method or not More... | |
DLLEXPORT const QoreMethod * | findMethod (const char *nme, ClassAccess &access) const |
finds a non-static method in the class hierarchy at runtime and sets the access code | |
DLLEXPORT const QoreMethod * | findStaticMethod (const char *nme) const |
finds a static method in the class hierarchy | |
DLLEXPORT const QoreMethod * | findStaticMethod (const char *nme, bool &priv) const |
finds a static method in the class hierarchy and sets the priv flag if it's a private method or not More... | |
DLLEXPORT const QoreMethod * | findStaticMethod (const char *nme, ClassAccess &access) const |
finds a static method in the class hierarchy and sets the priv flag if it's a private method or not | |
DLLEXPORT const QoreExternalMethodVariant * | findUserMethodVariant (const char *name, const QoreMethod *&method, const type_vec_t &argTypeList) const |
returns the user variant for the given non-static method and argument types More... | |
DLLEXPORT QoreClass * | getClass (qore_classid_t cid) const |
returns a pointer to the QoreClass object representing the class ID passed if it exists in the class hierarchy More... | |
DLLEXPORT const QoreClass * | getClass (qore_classid_t cid, bool &priv) const |
returns a pointer to the QoreClass object representing the class ID passed if it exists in the class hierarchy and sets a flag indicating if it's privately inherited or not More... | |
DLLEXPORT const QoreClass * | getClass (const QoreClass &qc, bool &priv) const |
returns a pointer to the QoreClass object representing the class ID passed if it exists in the class hierarchy and sets a flag indicating if it's privately inherited or not More... | |
DLLEXPORT const QoreMethod * | getConstructor () const |
returns a const pointer to the QoreMethod object of the constuctor method, if any is set More... | |
DLLEXPORT const QoreMethod * | getCopyMethod () const |
returns a const pointer to the QoreMethod object of the destructor method, if any is set More... | |
DLLEXPORT const QoreMethod * | getDestructor () const |
returns a const pointer to the QoreMethod object of the constructor method, if any is set More... | |
DLLEXPORT int | getDomain () const |
returns the functional domain of the class More... | |
DLLEXPORT int64 | getDomain64 () const |
returns the functional domain of the class More... | |
DLLEXPORT qore_classid_t | getID () const |
returns the class ID of this class | |
DLLEXPORT AbstractQoreClassUserData * | getManagedUserData () const |
retrieves the user-specific data pointer More... | |
template<typename T > | |
DLLLOCAL T * | getManagedUserData () const |
retrieves the user-specific data pointer More... | |
DLLEXPORT const QoreMethod * | getMemberGateMethod () const |
returns a const pointer to the QoreMethod object of the memberGate method, if any is set More... | |
DLLEXPORT const QoreMethod * | getMemberNotificationMethod () const |
returns a const pointer to the QoreMethod object of the memberNotification method, if any is set More... | |
DLLEXPORT const QoreMethod * | getMethodGate () const |
returns a const pointer to the QoreMethod object of the methodGate method, if any is set More... | |
DLLEXPORT QoreListNode * | getMethodList () const |
returns a list strings of all non-static methods in the class, the caller owns the reference count returned More... | |
DLLEXPORT const char * | getName () const |
returns the class name | |
DLLEXPORT const QoreTypeInfo * | getOrNothingTypeInfo () const |
returns the "or nothing" type information structure for this class | |
DLLEXPORT QoreListNode * | getStaticMethodList () const |
returns a list strings of all static methods in the class, the caller owns the reference count returned More... | |
DLLEXPORT const QoreMethod * | getSystemConstructor () const |
returns a const pointer to the QoreMethod object of the constuctor method, if any is set More... | |
DLLEXPORT const QoreTypeInfo * | getTypeInfo () const |
returns the type information structure for this class | |
DLLEXPORT const void * | getUserData () const |
retrieves the user-specific data pointer More... | |
DLLEXPORT bool | hasAbstract () const |
returns true if the class has at least one abstract method variant More... | |
DLLEXPORT bool | hasCopy () const |
returns true if the class implements a copy method | |
DLLEXPORT bool | hasMemberGate () const |
returns true if the class implements a "memberGate" method | |
DLLEXPORT bool | hasMemberNotification () const |
returns true if the class implements a "memberNotification" method | |
DLLEXPORT bool | hasMethodGate () const |
returns true if the class implements a "methodGate" method | |
DLLEXPORT bool | isPrivateMember (const char *str) const |
returns true if the member is private More... | |
DLLEXPORT bool | isPublicOrPrivateMember (const char *str, bool &priv) const |
returns true if the member is private or public More... | |
DLLEXPORT bool | isSystem () const |
returns true if the class is a builtin class | |
DLLEXPORT int | numMethods () const |
returns the number of non-static methods in this class (user and builtin) | |
DLLEXPORT int | numStaticMethods () const |
returns the number of static methods in this class (user and builtin) | |
DLLEXPORT int | numStaticUserMethods () const |
returns the number of static user methods in this class | |
DLLEXPORT int | numUserMethods () const |
returns the number of non-static user methods in this class | |
DLLEXPORT void | recheckBuiltinMethodHierarchy () |
rechecks for inherited methods in base classes when adding builtin classes | |
DLLEXPORT void | rescanParents () |
rescan builtin parent classes in a class hierarchy; to be used with out-of-order class hierarchy construction More... | |
DLLEXPORT void | setConstructor (q_constructor_t m) |
sets the builtin constructor method for the class (or adds an overloaded variant) More... | |
DLLEXPORT void | setConstructor2 (q_constructor2_t m) |
sets the builtin constructor method for the class using the new calling convention (or adds an overloaded variant) More... | |
DLLEXPORT void | setConstructorExtended (q_constructor_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, unsigned num_params=0,...) |
sets the constructor method with extended information; can set a private constructor, set additional functional domain info, and parameter type info (or adds an overloaded variant) | |
DLLEXPORT void | setConstructorExtended2 (q_constructor2_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, unsigned num_params=0,...) |
sets the constructor method using the new calling convention with extended information; can set a private constructor, set additional functional domain info, and parameter type info (or adds an overloaded variant) | |
DLLEXPORT void | setConstructorExtended3 (q_constructor_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, unsigned num_params=0,...) |
sets the constructor method with extended information; can set a private constructor, set additional functional domain info, and parameter type info (or adds an overloaded variant) | |
DLLEXPORT void | setConstructorExtendedList (q_constructor_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
sets the constructor method with extended information; can set a private constructor, set additional functional domain info, and parameter type info from lists (or adds an overloaded variant) | |
DLLEXPORT void | setConstructorExtendedList2 (q_constructor2_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
sets the constructor method using the new calling convention with extended information; can set a private constructor, set additional functional domain info, and parameter type info from lists (or adds an overloaded variant) | |
DLLEXPORT void | setConstructorExtendedList3 (const void *ptr, q_constructor3_t meth, bool priv=false, int64 n_flags=QC_NO_FLAGS, int64 n_domain=QDOM_DEFAULT, const type_vec_t &n_typeList=type_vec_t(), const arg_vec_t &defaultArgList=arg_vec_t()) |
sets the constructor method using the new calling convention with extended information; can set a private constructor, set additional functional domain info, and parameter type info from lists (or adds an overloaded variant) More... | |
DLLEXPORT void | setCopy (q_copy_t m) |
sets the builtin copy method for the class More... | |
DLLEXPORT void | setCopy2 (q_copy2_t m) |
sets the builtin copy method for the class using the new generic calling convention More... | |
DLLEXPORT void | setCopy3 (const void *ptr, q_copy3_t m) |
sets the builtin copy method for the class using the new generic calling convention More... | |
DLLEXPORT void | setDeleteBlocker (q_delete_blocker_t m) |
sets the deleteBlocker method for the class More... | |
DLLEXPORT void | setDestructor (q_destructor_t m) |
sets the builtin destructor method for the class More... | |
DLLEXPORT void | setDestructor2 (q_destructor2_t m) |
sets the builtin destructor method for the class with the new generic calling convention More... | |
DLLEXPORT void | setDestructor3 (const void *ptr, q_destructor3_t m) |
sets the builtin destructor method for the class with the new generic calling convention More... | |
DLLEXPORT void | setFinal () |
sets the final flag of the class | |
DLLEXPORT void | setGateAccessFlag () |
sets the class's gate access flag so that memberGate() and methodGate() methods will be called with an extra boolean argument giving the current class access before the call More... | |
DLLEXPORT void | setManagedUserData (AbstractQoreClassUserData *cud) |
sets a pointer to user-specific data in the class More... | |
DLLEXPORT void | setPublicMemberFlag () |
sets the class's public member flag so that undeclared member references will fail More... | |
DLLEXPORT void | setSynchronousClass () |
call this function if your builtin class requires *all* methods (except the constructor) to be run in an RMutex lock More... | |
DLLEXPORT void | setSystem () |
marks the class as a builtin class | |
DLLEXPORT void | setSystemConstructor (q_system_constructor_t m) |
sets the builtin constructor for system objects (ex: used as constant values) More... | |
DLLEXPORT void | setSystemConstructor2 (q_system_constructor2_t m) |
sets the builtin constructor for system objects (ex: used as constant values) using the new calling convention More... | |
DLLEXPORT void | setUserData (const void *ptr) |
sets a pointer to user-specific data in the class More... | |
Additional Inherited Members | |
![]() | |
DLLEXPORT | ~QoreClass () |
deletes the object and frees all memory | |
creates a builtin class