Root object for any class that knows its own name. More...
#include <contracts.h>


Public Member Functions | |
| virtual const char * | class_name () const =0 |
| Returns the bare name of this class as a constant character pointer. | |
Root object for any class that knows its own name.
This is a really vital thing for debugging to be very helpful, and unfortunately it's not provided by C++.
Definition at line 122 of file contracts.h.
| virtual const char* basis::nameable::class_name | ( | ) | const [pure virtual] |
Returns the bare name of this class as a constant character pointer.
The name returned here is supposed to be just a class name and not provide any more information than that. It is especially important not to add any syntactic elements like '::' to the name, since a bare alphanumeric name is expected.
Implemented in application::base_application, and basis::text_formable.
Referenced by structures::hash_table< key_type, contents >::acquire(), structures::hash_table< key_type, contents >::add(), structures::hash_table< key_type, contents >::apply(), structures::hash_table< key_type, contents >::elements(), structures::hash_table< key_type, contents >::find(), structures::hash_table< key_type, contents >::rehash(), structures::hash_table< key_type, contents >::reset(), structures::hash_table< key_type, contents >::zap(), and structures::hash_table< key_type, contents >::~hash_table().
1.6.3