Book a Demo

Author Topic: Import DDS IDL file  (Read 4675 times)

rsferru

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Import DDS IDL file
« on: June 20, 2018, 08:50:49 am »
I am trying to import some IDL definition files into Enterprise Architect.  When I use the File -> IDL (Data Distribution Service) import feature, EA successfully imports simple IDL files but throws the error below on any files that include arrays.  This occurs when either <> or [ ] are used.  Can anyone tell me how EA handles array definitions?  Note, EA seems to export these array definitions in IDL files just fine.

There was an error parsing [...] Unexpected symbol: <


Thanks!

rsferru

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Import DDS IDL file
« Reply #1 on: June 20, 2018, 09:26:03 am »
I may have identified the issue.  The external files I'm working with currently attach the array size to the datatype and not the variable and use "<>" brackets instead of "[]" so string<44> myVar doesn't import but string myVar[44] will.

rsferru

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Import DDS IDL file
« Reply #2 on: June 21, 2018, 05:58:48 am »
Looks like that only works on typedef cases and then it adds the bracketed size into the multiplicity.  So I still haven't identified a working solution yet...