ObjectToRecord
org.ROADnet.ObjectToRecord

Ptolemy actor to produce from an ObjectToken a RecordToken, with record entries corresponding to fields within the object carried by the ObjectToken. This actor was originally written to eliminate the need for special field-accessor actors for each class transported with ObjectToken; it seems like a logical enough thing to do, as an Object is pretty much a record where names can map to other Objects (fields) or to function closures (methods). This actor ignores methods completely.



Author(s): Tobin Fricke (tobin@splorg.org), University of California
Version:$Id: ObjectToRecord.java,v 1.3 2005/11/01 20:39:04 ruland Exp $
Pt.Proposed Rating:Red (tobin)