Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Class definition syntax


A BAROC class definition includes a name and one or more slot definitions that delimit acceptable values. The basic syntax for defining a class in the BAROC language is as follows:

<MetaClassName>: <ClassName> [ISA <ClassName>]
   [DEFINES {
      [ <SlotName>: <SlotType> [, <SlotFacet>]* ;]*
   }];
END

The syntax elements are defined as follows:

<MetaClassName> =
   MC_EV_CLASS
   | MC_DATA_CLASS
   | MC_INTERFACE
   | MC_PUBLISH_DATA_CLASS
   | TEC_CLASS
<ClassName> and <SlotName> = an optionally quoted (' or ")
sequence of characters excluding blanks " '
; : , = ( ) [ ] { }
<SlotType> = [ SINGLE | LIST_OF]
   INTEGER | REAL | STRING | <Enum>
<SlotFacet>=
   default = <SlotValC>
   | parse = <YesOrNo>
   | dup_detect = <YesOrNo>
   | read_only = <YesOrNo>
   | key = <YesOrNo>
   | representation = <STRING>

Note

Event class definitions must be the same in all cells. If you add custom event classes, you must manually modify the KB of each cell, recompile the KB, and then restart each cell.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*