Common Properties
id
The type transformation ID returned from a create operation.
language
The language property specifies source language for the code of the aggregate type (class) to transform. This is always C++.
name
Contains a regular expression that checks to see if a symbol is eligible for type transformation. This regular expression must match the definition of the aggregate type (class) being transformed.
type_callback
The type_callback property is used in two ways.
(1) When it is used within a list or vector transformation, it names the procedure that determines the type of the list or vector element. The callback procedure takes one parameter, the symbol ID of the symbol that was validated during the callback to the procedure specified by the validate_callback. The call structure for this callback is:
type_callback id
where id is the symbol ID of the symbol that was validated using the validate_callback procedure.
(2) When it is used within a struct transformation, it names the procedure that specifies the data type to be used when displaying the struct.
type_transformation_description
A string containing a description of what is being transformed; for example, you might enter “GNU Vector”.
validate_callback
Names a procedure that is called when a data type matches the regular expression specified in the name property. The call structure for this callback is:
validate_callback id
where id is the symbol ID of the symbol being validated.
Your callback procedure should check the symbol’s structure to insure that it should be transformed. While not required, most users will extract symbol information such as its type and its data members while validating the datatype. The callback procedure must return a Boolean value, where true means the symbol is valid and can be transformed.
compiler
Reserved for future use.