Aggregate Data Types
  • Near the top of the IDL specification for the auction system we see the aggregate data type sequence used:
      typedef sequence< Item > ItemList;
      
  • Sequences
    • Behave like dynamically expandable lists
    • Useful when you need to represent a set of entities
    • They come in two forms:
      • indefinite length: sequence<long>
      • definite length: sequence<long,10>
  • Arrays
    • e.g. a truth table for a binary boolean operator
      • boolean[2][2]

Next Slide >>