Provides class type functions.
s_class_add | Add a class to the object system. |
s_class_init | Initialize a class with the object system. |
s_class_reg | Register a class with the object system. |
s_class_free | Free a class from the object system. |
s_class_name | Get the name of the given class’s object. |
s_class_inheritance | Get the complete inheritance of the given class’s object. |
s_class_is_reg | Query if the given object’s class is registered. |
s_class_find | Get an object’s class by name. |
Add a class to the object system.
The class gets added to the table of classes available for object instantiation.
Parameters: |
|
---|---|
Note: | Class names must be unique. |
Initialize a class with the object system.
The object system will get the class’s inheritance hierarchy ready for instantiating class objects.
Parameters: |
|
---|
Register a class with the object system.
This performs the function of s_class_add and s_class_init and is the preferred method for adding new classes through plug-ins.
Parameters: |
|
---|
Free a class from the object system.
After this function is called on a class no objects of that class type can be instantiated anymore. Plug-ins must call this function on exit for any classes registered by the plug-in.
Parameters: |
|
---|
Get the name of the given class’s object.
The inheritance hierarchy is removed from the class’s registered name and only the actual class object name is returned.
Parameters: |
|
---|---|
Return: | The class’s object name. |
Get the complete inheritance of the given class’s object.
The inheritance will exclude the SObject.
Parameters: |
|
---|---|
Return: | A colon (”:”) separated string of the given class’s object inheritance hierarchy, excluding SObject. |
Query if the given object’s class is registered.
Parameters: |
|
---|---|
Return: |
Get an object’s class by name.
Parameters: |
|
---|---|
Return: | The class object. |