Book a Demo

Author Topic: C++ - Standard Template Library  (Read 2897 times)

cable000

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
C++ - Standard Template Library
« on: December 23, 2008, 08:51:31 am »
EA Version: 7.1.834

Is their a good way of adding in the standard template library ( STL ) classes for C++ that is independent of any specific implementation. We currently support Visual Studio 2005 and GNU based libraries for STL. We are evaluating EA against our current case tool ( Rational Rose ) and in Rational we just manually added the Elements as needed. I'm sure we can do the same in EA but was wondering if there was a better method such as whether there are pre-existing XMI files for the STL that can be reused.I have tried reverse engineering some third-party libraries (ACE/TAO libraries - C++) but have gotten bogged down with a lot of errors due to the number of macros and am afraid that I will see the same type of problems with reversing the STL libraries.




«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: C++ - Standard Template Library
« Reply #1 on: December 24, 2008, 12:56:57 am »
Have you looked at the Language | Macros entry in EA help? This might be enough help - there's some manual work involved - but perhaps it would reduce the "errors" you mention. Once you have a working list of macros you can transfer them as reference data - you could also store the reference data in a 'seed' project so it is always there for new projects - so you did not have to go through this exercise again (except for new macros).

David
No, you can't have it!