How to use Bitfields in Rhapsody

2502 Betrachtungen
Seite: 1
MichaelKamsties
avatar
Administrator
75 Beiträge

How to use Bitfields in Rhapsody

Is there an easy way to uses bitfields in Rhapsody?

MichaelKamsties
avatar
Administrator
75 Beiträge

Re: How to use Bitfields in Rhapsody

Yes, there is

select the attribute, open the feature dialog, got to Properties navigate to C_CG:Attribute:BitField or use the filter to search for "bit"

Rhapsody description of the property

Allows you to define a bit field for an attribute. To define a bit field, open the Features dialog for the relevant attribute and enter the number you want to use for the bit field as the value of the property BitField. For example, if you enter 2 as the value of BitField for an attribute named attribute_1 of type int, the resulting code will be:
int attribute_1 : 2;

Seite: 1

Currently Online:

There is nobody online.

Welcome to our latest member: lammils