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 - benoitkm

Pages: [1]
1
General Board / Limit Operation and Attribute Visibility
« on: March 06, 2006, 05:49:10 am »
I need to provide a class diagram at a very high level.  

I do not need to see all available attributes and operations, just a select few.

I know I can choose to show or not, all the attributes and operations in a class.  Is there a way to selectively show specific operations and attributes?

2
General Board / Re: C++ namespace
« on: March 03, 2006, 06:25:26 am »
I added the line as suggested but nothing different happens.  That is to say the comments are not included in the source.  The following is the way my namespace declaration template now looks.

%if packagePath == "" or genOptCPPGenNamespace != "T"%
%endTemplate%
%WRAP_LINES(packageNotes, genOptWrapComment, "// ")%\n
namespace %packageName%

Is there something else I need to do?

3
General Board / Re: C++ namespace
« on: March 01, 2006, 05:18:39 am »
Thanks,
One more thing, in Project View, you can right click a package and provide a note for the package (a.k.a. namespace), I would like the comment to show up in the source code when I generate the code, and I would like changes to the note from the source updated in EA when I synchronize.  Is this possible?

Notes for classes, operations, and attributes, function in the manner described above, however, namespace notes are not working for me.

4
General Board / C++ namespace
« on: February 28, 2006, 01:28:15 pm »
I wish to define a namespace in C++ using EA.  If I am writing the source directly this is not a problem.  However, in EA things are not working for me.

This is what I am doing in EA.

In Project View create a new Package.

Right click the package and click Set as Namespace root.

Add a new class to the package.

Generate the source code.

When I do this the source code does not contain the namespace that I am expecting.

I am expecting the following...

namespace MyNameSpace
{
        class MyClass
        {

             // some code.
         };

}

But I am getting...


class MyClass
{

       // some code.
};


Is there more to the process?



5
General Board / Re: C++ Operation Notes location
« on: February 28, 2006, 01:09:11 pm »
That worked great!  

Thanks,

6
General Board / C++ Operation Notes location
« on: February 27, 2006, 06:26:00 am »
The company I work for has C++ coding standards which specify that operation notes be located in the header file.  EA code generation puts the notes in the cpp file.  Is it possible to tell EA to place orginal operation notes in the header instead of the cpp? And, if this is done will notes updated in the source be updated in EA during a syncronization process?

7
Automation Interface, Add-Ins and Tools / Re: Section Heading Enumeration
« on: January 30, 2006, 05:03:34 am »
Thanks for the suggestion... it works perfectly!  :)

8
Automation Interface, Add-Ins and Tools / Section Heading Enumeration
« on: January 27, 2006, 01:56:17 pm »
I would like to modify/create a template with section headings as follows.

1 Heading 1
1.1 Heading 2
1.1.1 Heading 3
etc.

I have been unsuccessful in accomplishing this.  I have even saved a Word template as a rtf and imported the rtf into the template editor in EA.  The styles are imported, but when I create a new line and apply... say Heading 3, the text is formated but the numbering is lost!  Does anybody know (a) how to create the specified heading numbering in the template editor in EA, or (b) how to import a rtf with the specified formats so they actually work.

Kenny

Pages: [1]