Book a Demo

Author Topic: Syncronisation with C-Code  (Read 3115 times)

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Syncronisation with C-Code
« on: October 24, 2012, 01:51:02 am »
Hi
My Problem is the syncronisation/generation of C code. (C++ do work)

Ok the situation is

1) I've a Class-Diagramm ( class = stereotype "publicclass" and enum classes)
2) OO-supported = true

Problem:
after the first generate of the files,
1) further generates(sync mod and code) are added behind the code( if there are morifications or not)
2) modifications in code(EA-Editor) generates a struct of the class in the model

It seams, that EA do not recognize the element anymore.
What do I wrong?

/*generated by EA*/
Quote
typedef struct classname
{
    INT32U Init;
    Node mNode;
} classname, *classname;


thank you for helping
« Last Edit: October 24, 2012, 07:45:30 pm by EAIFM »
Support- Languages: German, English, French

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Syncronisation with C-Code
« Reply #1 on: October 29, 2012, 06:27:55 pm »
found the problem:

properties: --> stereotype -->profil-->struct was aktivated
« Last Edit: October 29, 2012, 07:28:34 pm by EAIFM »
Support- Languages: German, English, French

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Syncronisation with C-Code
« Reply #2 on: October 29, 2012, 07:48:21 pm »
2. thing was that i saved the classes in small lettre.
e.g. Class --> class.h

if I do the generation with sync it adds all behind.


If Anyone has an idea how it could work, please answer me!

thanks everyone
Support- Languages: German, English, French