Struct ClassDBSingleton
Class information repository.
struct ClassDBSingleton
;
Provides access to metadata stored for every available class.
Methods
Name | Description |
---|---|
canInstance
|
Returns true if you can instance objects from the specified class , false in other case.
|
classExists
|
Returns whether the specified class is available or not.
|
classGetCategory
|
Returns a category associated with the class for use in documentation and the Asset Library. Debug mode required. |
classGetIntegerConstant
|
Returns the value of the integer constant name of class or its ancestry. Always returns 0 when the constant could not be found.
|
classGetIntegerConstantList
|
Returns an array with the names all the integer constants of class or its ancestry.
|
classGetMethodList
|
Returns an array with all the methods of class or its ancestry if no_inheritance is false . Every element of the array is a Dictionary with the following keys: args , default_args , flags , id , name , return: (class_name, hint, hint_string, name, type, usage) .
|
classGetProperty
|
Returns the value of property of class or its ancestry.
|
classGetPropertyList
|
Returns an array with all the properties of class or its ancestry if no_inheritance is false .
|
classGetSignal
|
Returns the signal data of class or its ancestry. The returned value is a Dictionary with the following keys: args , default_args , flags , id , name , return: (class_name, hint, hint_string, name, type, usage) .
|
classGetSignalList
|
Returns an array with all the signals of class or its ancestry if no_inheritance is false . Every element of the array is a Dictionary as described in classGetSignal .
|
classHasIntegerConstant
|
Returns whether class or its ancestry has an integer constant called name or not.
|
classHasMethod
|
Returns whether class (or its ancestry if no_inheritance is false ) has a method called method or not.
|
classHasSignal
|
Returns whether class or its ancestry has a signal called signal or not.
|
classSetProperty
|
Sets property value of class to value .
|
getClassList
|
Returns the names of all the classes available. |
getInheritersFromClass
|
Returns the names of all the classes that directly or indirectly inherit from class .
|
getParentClass
|
Returns the parent class of class .
|
instance
|
Creates an instance of class .
|
isClassEnabled
|
Returns whether this class is enabled or not.
|
isParentClass
|
Returns whether inherits is an ancestor of class or not.
|