Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

TypeBasedDispatchHelper Class Reference

List of all members.


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.


Member Function Documentation

TypeBasedDispatchHelper::TypeBasedDispatchHelper ()

void TypeBasedDispatchHelper::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 * TypeBasedDispatchHelper::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.

Once this method is called, it is illegal to call put_value() again

void * TypeBasedDispatchHelper::get_value (SuifObject * x) const

Get the value for this object, if there is none, return NULL.


The documentation for this class was generated from the following files:
Generated at Wed Apr 25 17:35:08 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999