IBM Support

PI45011: NO STL FUNCTIONS FOR VECTOR::GETCOUNT() OR LIST::GETCOUNT().

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • In Rhapsody there are no STL functions for vector::getCount() or
    list::getCount(). The correct size operation in STL should be
    vector::size() and list::size().
    
    
    The problem is traced back to a naive code spinet that is hard
    coded, and have three problematic assumptions
    1. the method: "getCount()" is defined for all containers
    2. the operator "[]" is defined for all containers
    3. iteration is done my the combination of the two above , and
    even if std::list support those methods, run time performance
    will be  O(N^2) (std::list don't have good access to index)
    
    The defect should  make those Multicast Port Flag hard coded
    spinet to be container dependent
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.2                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * No support for  STLContainers in the code generated          *
    * for Multicast Port                                           *
    * spesiflicly STL list don't have getCount() method, and dont  *
    * have the opratore[]                                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 8.1.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI45011

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    812

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-15

  • Closed date

    2015-12-16

  • Last modified date

    2015-12-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R812 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.2

Reference #: PI45011

Modified date: 16 December 2015