OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0001037OMNeT++simulation kernelpublic2018-05-14 10:482018-05-14 10:48
attila 
 
normalminoralways
newopen 
 
 
0001037: The message compiler should allow overriding properties of inherited fields
The message compiler allows overriding the default value of inherited fields, but not their properties. This would be helpful for bug 0001024.

Adding properties to the line that overrides the default field value in the subclass is accepted, but ignored.
Example use case:

Adding @packetData(false) to encapsulatedPacket in inet::Packet (inherited from omnetpp::cPacket) would be desirable, to hide this field from the Object Inspector of Qtenv in Packet mode, because this field is not relevant (nor usable) in the inet::Packet subclass.
No tags attached.
Issue History
2018-05-14 10:48attilaNew Issue

There are no notes attached to this issue.