Eric,

Thanks for the help.  Yes according to the Rose help file, enum is not
supported as part of it's code generation for VC++ (at least thats the way I
believe the file reads).   I'd expect the true msvc to support it as it's a
standard type.

I'll take a look at your suggestions and see what can be done.

Thanks

David Stockwell
----- Original Message -----
From: "Aker, Eric" <[EMAIL PROTECTED]>
To: "'David R. Stockwell'" <[EMAIL PROTECTED]>;
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Sent: Thursday, December 28, 2000 5:04 PM
Subject: RE: (ROSE) enum types


> Since you start with saying that enum is not supported in CV++ ???
>
> I would model them as attributes.
> Stereotype the class as <<enum>>
>
>
> In the classic C++ code generator you would set the enum type and values
> in the code generation properties.
>
>
>
> -----Original Message-----
> From: David R. Stockwell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 28, 2000 9:24 AM
> To: '[EMAIL PROTECTED]'
> Subject: (ROSE) enum types
>
>
> Hello all,
>
> I noticed in the help file, enum types are unsupported for VC++.
>
> How do I specify an enum type in my rose model?  According to help I
> just name the class as
>
> <<enum>> myenumtype
>
>
> How/where do I put the (items and)  values associated with each of the
> enumerated items?
>
> as in
>
> enum x
> {
>    x_unassigned = 0,
>    x_something=1,
>    x_other = 2,
>    // etc
> };
>
> Thanks in advance
>
> David Stockwell
>

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to