This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
Class
Class represent classes and methodes in NXSL script
Instance attributes
- attributes: Array
-
String array with all attribute names, including inherited ones
- hierarchy: Array
-
String array with class inheritance hierarchy, starting from the root class
Objectand ending with the class itself
- methods: Array
-
String array with all method names, including inherited ones
- name: String
-
Name of the class
obj = $object;
println("Class hierarchy:");
println(obj.__class.hierarchy.join(" -> "));
println();
println("Attributes:");
for (a : obj.__class.attributes) println(a .. " = " .. obj.__get(a));
println();
println("Methods:");
for (m : obj.__class.methods) println(m);