Qore reflection Module 1.19.2
|
This class provides information about Qore pseudo classes. More...
#include <QC_PseudoClass.dox.h>
Public Member Methods | |
constructor (auto val) | |
Creates a PseudoClass object for the given value's type. More... | |
constructor (Type type) | |
Creates a PseudoClass object for the given type. More... | |
Public Member Methods inherited from Qore::Reflection::AbstractClass | |
constructor () | |
Throws an exception if called directly; this class can only be instantiated by builtin subclasses. More... | |
int | getDomain () |
returns the functional domain of the class (for builtin classes only) as a bitfield of functional_domain_constants More... | |
list< string > | getDomainStringList () |
returns a list of functional domain strings for the class (for builtin classes only); an empty list is returned for user classes More... | |
binary | getHash () |
returns a unique binary hash for the class More... | |
int | getId () |
returns the internal ID of the class which is only valid for the current execution session More... | |
string | getLanguage () |
returns the class's programming language More... | |
AbstractMethod | getMethod (string name) |
returns the given method or throws an exception if the method does not exist in the local class More... | |
list< AbstractMethod > | getMethods () |
returns a list of all class methods including special and static methods More... | |
list< string > | getModifierList () |
returns a list of strings of modifiers describing the class More... | |
int | getModifiers () |
returns a bitfield of modifiers describing the class More... | |
string | getName () |
returns the class's name More... | |
list< hash< ClassAccessInfo > > | getParentClasses () |
Returns a list of immediate parent classes and access information; if the Class has no parent classes, then an empty list is returned. More... | |
AbstractMethodVariant | getVariant (string name,...) |
returns the given method variant, otherwise throws an exception if no method variant can be matched More... | |
AbstractMethodVariant | getVariantArgs (string name, *softlist< Type > argv) |
returns the given method variant, otherwise throws an exception if no method variant can be matched More... | |
list< AbstractMethodVariant > | getVariants () |
returns a list of all class method variants including variants for special and static methods More... | |
bool | hasMemberGate () |
returns True if the class implements a "memberGate" method More... | |
bool | hasMemberNotification () |
returns True if the class implements a "memberNotification" method More... | |
bool | hasMethodGate () |
returns True if the class implements a "methodGate" method More... | |
bool | isAbstract () |
returns True if the class has at least one abstract method More... | |
bool | isBuiltin () |
returns True if the class is a builtin class More... | |
bool | isEqual (AbstractClass cls) |
Returns True if the Class object passed as an argument is equal to the current object; False if not. More... | |
bool | isInjected () |
returns True if the class was injected as a dependency injection More... | |
bool | isModulePublic () |
returns True if the class has the module public flag set More... | |
bool | isPseudoClass () |
returns True if the class is a pseudo-class More... | |
bool | isUser () |
returns True if the class is a user class More... | |
Static Public Member Methods | |
static PseudoClass | forType (Type type) |
Returns a PseudoClass object for the given type. More... | |
static PseudoClass | forValue (auto val) |
Returns a PseudoClass object for the given value's type. More... | |
This class provides information about Qore pseudo classes.
Pseudo classes have pseudo methods and variants that operate on normal Qore values.
AbstractClass methods behave as follows:
Qore::Reflection::PseudoClass::constructor | ( | auto | val | ) |
Creates a PseudoClass object for the given value's type.
val | the value for the pseudo-class |
Qore::Reflection::PseudoClass::constructor | ( | Type | type | ) |
Creates a PseudoClass object for the given type.
type | the type to return the pseudo-class for |
|
static |
Returns a PseudoClass object for the given type.
type | the type to return the pseudo-class for |
|
static |
Returns a PseudoClass object for the given value's type.
val | the value to return the pseudo-class for |