Public Members | |
| TypeBasedDispatchHelper () | |
| void | set_value (const LString &index, void *val) |
| Set a value for a metaclass Once a lookup_value is called, using this function is illegal. | |
| void* | lookup_value (SuifObject *x) |
| find the appropriate T for this SuifObject If the object does not have an entry, get the value for it's metaclass. More... | |
| void* | get_value (SuifObject *x) const |
| Get the value for this object, if there is none, return NULL. | |
Set a value for a metaclass Once a lookup_value is called, using this function is illegal.
find the appropriate T for this SuifObject If the object does not have an entry, get the value for it's metaclass.
Once this method is called, it is illegal to call put_value() again
Get the value for this object, if there is none, return NULL.
written by Dimitri van Heesch, © 1997-1999