![]() |
Telelogic TAU (steve huntington) | ![]() |
profile :
search :
help :
dashboard :
calendar :
home
|
||
|
Topic Title: TAU C++ Import Topic Summary: What does C++ Source Import Do? Created On: 21-Nov-2006 14:07 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I'm a newbie to TAU and I'm trying to use TAU to generate a bunch of diagrams (class diagrams, sequence diagrams, use cases, etc). I don't plan to use TAU to verify my model (i.e. compiling), I just want to use it to create some diagrams for my documentation. I know there's a C++ header file import function in TAU, but what does that do? If I do an import will it generate a bunch of artifact (diagrams) for me automatically? Or am I mistaken? Any help/advice appreciated! v/r, Michelle |
|
![]() |
|
![]() |
|
Michelle,
Indeed, you can import legacy/existing C++ into TAU & TAU 2.7 will automatically generate a corresponding Class Diagram. Open or create a project, then call File/Import/Import C/C++. Identify wether you are importing a Visual Studio/C++ project or unit files and launch! TAU will generate an "ImportedDefinitions" package containing the imported types & a "C++ Imported Types" Class Diagram. More help in the online TAU Help/UML Import & Export/C C++ Import/Operation Principles. Charles-Henry JURD |
|
![]() |
|
![]() |
|
Charles,
Thanks! I read the TAU help and followed their instruction but got the following error: Diagrams.ttp Error C:\Program Files\Microsoft Visual Studio\VC98\include\errno.h(65): Syntax error. Do you know why I might get such an error? My header files include standard files like stdio.h, errno.h, unistd.h, etc... do I need to specify where TAU should look for these files? Thanks again for your help! Michelle |
|
![]() |
|
![]() |
|
Michelle,
Have you set the "Dialect" to "Microsoft"? If you are specifying a set of file instead of a MS project, then note that you need to identify IN THE REQUIRED ORDER the list of files to import you may have to specify the files needed. If "myFunction.h" includes "Second.h", which includes "First.h", then you must specify the files to import in the following order: First.h, Second.h, myFunction.h. Also, you may want to use the "cppImportSpecification" tagged values of the stereotyped package to customize the import (outside/after the wizard), like specifying the MSVS include directory as a preprocessor directive in the Options field. Check the Online Help/UML to Applications/Stereotypes for Code Generation/Stereotypes/cppImportSpecification. Hope this helps! Charles-Henry |
|
![]() |
|
![]() |
|
Hi Charles,
Thanks! It worked! v/r, Michelle |
|
![]() |
Telelogic TAU
» TAU/Developer
»
TAU C++ Import
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.