This will set the class name of the [inherited] phObject to n . This should be called in the constructor of any object that inherits from phObject at any level of inheritence. This isn't restricted to the constructor and can be called elsewhere but it should be noted that this method is not thread safe. The n parameter string is copied and appended to an array of names from previous calls to phObject::setName to construct the inheritence list.
- Parameters:
-
| n | The new class name of the phObject instance. |
Definition at line 73 of file phObject.cpp. |