Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Creating and Initializing Events | Structure Data Fields
 
Structure Data Fields
 
Setting Structure Fields
Getting Structure Field Values
Structure data fields represent event fields with a user-defined type. A structure data field is similar in concept to a struct in the C language, because it may contain members that are simple data types, arrays, or other structures.
The following example illustrates a hypothetical event type containing a structure field.
Sample::StructEvent {
string count;
struct sample_struct {
BrokerDate sample_date;
int sample_array [] [];
}
}