BRON2 - Simple example
These 10 lines of BRON code clearly and concisely describe three objects, their relationships (1 to many and 1 to 1) and the data that they each hold. See What it does for you for a detailed description.
Using BRON2C, this BRON code produced 478 lines of C code and a further 96 lines of C header code.
OBJECT firstObject FIELD int aninteger FIELD char* sometext LIST theOtherObject OBJECT theOtherObject KEY char* findMe EFIELD int Mustsupplythisvalue REF yetAnotherObject OBJECT yetAnotherObject FIELD char* whateverWe suggest that you examine the BRON code, read What it does for you for an overview of what BRON2C does for you, then take a look at the generated .c and .h files
A LIST represents a 1 to many relationship
A REF represents a 1 to 1 relationship
The VisualBRON Information model shown below is equivalent to the BRON2 code, VisualBRON allows managed (MLIST) and unmanaged lists (LIST), all BRON2 lists are managed.
VisualBRON design file for this information model
Save the file, or install Visual BRON before downloading, otherwise this link will just display the raw XML
More Website Templates @ TemplateMonster.com - November 14, 2011!