|
From: Charles S. <cha...@gm...> - 2008-05-09 18:58:40
|
Oh, sorry Oliver and others!
I've forgotten to disable the html format in the mail client :$
I'm working in other modifications to the PHP5 generator. If any of
them become a good feature I'll send it to the list.
I have a question about the generators. I'm trying to make the PHP
generator to write the interface methods in the implementer classes,
but I'm with a big difficulty (just some weeks of C programing
knowledge =/ ).
Why the other generators doesn't have this feature? Is this so
difficulty or this is an intentional gap?
The (text) diff output:
--------- code -------------
8a9
> modified by : Charles Schaefer <cha...@gm...>
90c91,94
< fprintf(outfile, "%s * XXX\n", TABS );
---
> if (strlen(umlo->key.attr.comment)>0)
> fprintf(outfile, "%s * %s\n", TABS, umlo->key.attr.comment);
> else
> fprintf(outfile, "%s * XXX\n", TABS );
96c100
< fprintf(outfile, "%s * @param %s $%s XXX\n",
---
> fprintf(outfile, "%s * @param %s $%s ",
97a102,105
> if (strlen(parama->key.comment)>0)
> fprintf(outfile, "%s\n", parama->key.comment);
> else
> fprintf(outfile, "XXX\n");
106c114
< fprintf(outfile, "%s * @access ", TABS );
---
> /*fprintf(outfile, "%s * @access ", TABS );
108c116
< fprintf(outfile, "%s\n", tmpname);
---
> fprintf(outfile, "%s\n", tmpname);*/
174d181
< fprintf(outfile, "%s// Associations\n", TABS);
175a183,185
> if (associations != NULL)
> fprintf(outfile, "%s// Associations\n", TABS);
>
197d206
< fprintf(outfile, "%s// Attributes\n", TABS);
198a208,210
> if (umla != NULL)
> fprintf(outfile, "%s// Attributes\n", TABS);
>
201c213,216
< fprintf(outfile, "%s * XXX\n", TABS );
---
> if (strlen(umla->key.comment)>0)
> fprintf(outfile, "%s * %s\n", TABS, umla->key.comment);
> else
> fprintf(outfile, "%s * XXX\n", TABS );
204c219
< fprintf(outfile, "%s * @access ", TABS);
---
> //fprintf(outfile, "%s * @access ", TABS);
207c222
< fprintf(outfile, "%s\n", tmpname);
---
> //fprintf(outfile, "%s\n", tmpname);*/
231c246,248
< fprintf(outfile, "%s// Operations\n", TABS);
---
> if (umlo != NULL)
> fprintf(outfile, "%s// Operations\n", TABS);
>
293c310,313
< fprintf(outfile, " * XXX detailed description\n" );
---
> if (strlen(tmplist->key->comment)>0)
> fprintf(outfile, " * %s\n", tmplist->key->comment);
> else
> fprintf(outfile, " * XXX detailed description\n" );
--------- code ------------
--
Charles Schaefer - Web Developer
Email: cha...@gm...
Tels.: +55 31 9317-2862
+55 31 2526-4096
ATENÇÃO: Não imprima este e-mail. A natureza agradece. E seu bolso também.
WARNING: Don't print this e-mail. The nature is thankful. And your money too
|