[Uml-devel] I'd like to hack on cppcodegenerator

Andrew Sutton ansutton at kent.edu
Sat Mar 15 08:51:15 UTC 2003


On Saturday 15 March 2003 7:25 am, Tsuraan wrote:
> > 	- set up sensible defaults for "string" and "vector" attributes (I'll
> > set them to "QString" and "QPtrList", but the code should be such that
> > you can easily change it to something else)
>
> I'd really be much happier if string and vector just remained std::string
> and std::vector.  It's much more portable, and as Jonathan said, there
> could be a special Qt code exporter that does those things.
>
> In my case, at least, I have never written a Qt program; most of my stuff
> is console based, and pretty simplistic at that.  I doubt that I speak for
> any majority of people in that regard, but I don't think binding Umbrello
> to Qt for output code is a good idea.

i would agree with this. maybe there could be an option that determines how 
primitive types, collections and the like are created. off the top of my head 
i can think of the following different ways to generate primitives and 
collecitons:
1. pure C++ (std)
2. Qt
3. MFC
4. ACE
5. CORBA namespace

that's my $.02.

andy




More information about the umbrello-devel mailing list