User`s guide

datatypemanager
Refresh list —updatesthelistinTypedef name (Equivalent
data type). Refreshing the list ensures the contents are current. If
you changed your project data type content or loaded a new project,
this updates the typ e denitions in the DTM.
Close closes the DTM a nd prompts you to save the sess ion
information. This is the only way to save your work in this dialog
box. Saving the session creates an M-le you can reload into the
DTM later.
Clicking Close in the D TM prompts you to save your session. Saving
the session cre ates an M-le that contains operations that create your
nal list of data types, identical to the data types in the Typedef
name list.
In the stored M-le, you nd a function that includes the add and
remove operations you used to create the list of data types in the
DTM. For each time you added a typedef in the DTM, the M-le
contains an
add command that adds the new type denition to the
cc.type property of the object. When you remove a data type, you
see an equivalent
clear com m and that removes a data type from
the
cc.type object.
Note All operations that add and remove data types in the DTM
during a session are s tored in the generated M - le, including
mistakes you make w hile creating or removing type denitions.
When you load your saved session into the DTM, you see the same
error messages y ou saw during the session. Keep in mind that you
have already corrected these errors.
The rst line of the M-le is a function denition, where the name of
the function is the lename o f the session y ou s av ed.
cc2 = datatypemanager(cc) returns the cc2 ticcs object w h ile it opens
the DTM.
cc2 represents an alias to cc.Objectscc and cc2 are n ot
7-29