Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - renato178

Pages: [1]
1
Yes, I have comments in the header for all function declarations but the problem is that if the the function definition file name (*.cpp) doesn't present the same name of the function declaration file name (*.h) EA doesn't import the comment.

As I mentioned for the example:
declarations.h
declarations.cpp
file1.cpp
file2.cpp
file3.cpp

all notes (in declarations.h) of the functions defined in declarations.cpp are correctly imported, but the notes (in declarations.h) of the functions defined in file1.cpp, file2.cpp, file3.cpp are not imported.

2
Hi,

I'm trying to import a cpp code but the structure of my code that is defined as follow:

declarations.h
declarations.cpp
file1.cpp
file2.cpp
file3.cpp
...
most of the functions  defined into file1.cpp, file2.cpp , file2.cpp, etc.. present their definitions in declarations.h

As indicated into "Notes on Source Code Import" for EA :"Enterprise Architect automatically searches for the .cpp implementation file based on the extension and search path set in the C++ options; when it finds the implementation file, it can use it to resolve parameter names and method notes as necessary."

In my case when I import the code, EA just only import the operation notes of the functions defined into declarations.cpp and doesn't recognize the operation notes of the functions defined into file1.cpp, file2.cpp, etc..

Is there any kind of configuration in order to solve it and import all of them?

Pages: [1]