Qore reflection Module
1.12.0
|
This class provides information about Qore class constants. More...
Public Member Methods | |
constructor () | |
Throws an exception; this class cannot be created directly or used in a user class hierarchy. More... | |
Class | getClass () |
Returns the class for the constant. More... | |
Public Member Methods inherited from Qore::Reflection::AbstractConstant | |
constructor () | |
Throws an exception; this class cannot be created directly or used in a user class hierarchy. More... | |
list< string > | getModifierList () |
returns a list of strings of modifiers describing the constant More... | |
int | getModifiers () |
returns a bitfield of modifiers describing the constant More... | |
*string | getModuleName () |
Returns the module name providing the constant or nothing if the constant was not provided by a module. More... | |
string | getName () |
returns the constant's name More... | |
hash< SourceLocationInfo > | getSourceLocation () |
Returns the source location of the contant declaration. More... | |
Type | getType () |
Returns the type object for this constant. More... | |
auto | getValue () |
Returns the value of the constant. More... | |
bool | isBuiltin () |
returns True if the constant is builtin More... | |
bool | isClassConstant () |
returns True if the constant is a class constant More... | |
bool | isEqual (AbstractConstant con) |
Returns True if the AbstractConstant object passed as an argument is equal to the current object; False if not. More... | |
bool | isUser () |
returns True if the constant is a user constant More... | |
This class provides information about Qore class constants.
Qore::Reflection::ClassConstant::constructor | ( | ) |
Throws an exception; this class cannot be created directly or used in a user class hierarchy.
CLASSCONSTANT-CONSTRUCTOR-ERROR | the ClassConstant class cannot be constructed directly or inherited directly by a user-defined class |
Class Qore::Reflection::ClassConstant::getClass | ( | ) |
Returns the class for the constant.