nasa / TrickHLA

TrickHLA: An IEEE 1516 High Level Architecture (HLA) Simulation Interoperability Standard Implementation for Trick Base Simulations
Other
38 stars 15 forks source link

Check for duplicate FOM names for Attributes or Parameters. #132

Closed dandexter closed 8 months ago

dandexter commented 11 months ago

Object and Interaction updates use a map for the attribute and parameter values, which means the key is a unique AttributeHandle or ParameterHandle so there will be no duplicates. Add a check to ensure a user does not specify a duplicate Attribute or Parameter FOM name for the same Object or Interaction.