Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 11 years ago

Closed 11 years ago

#288 closed defect (fixed)

Enumeration style

Reported by: rgrieder Owned by: nobody
Priority: minor Milestone: Version 0.3 Codename: Castor
Component: GeneralFramework Version: 0.2.0
Keywords: enum, enumeration Cc:
Referenced By: References:

Description

We've got lots of enumerations, but they're all quite different to use. Someone could unify this in the next back merge. My suggestion would be like this: namespace MyEnum {

enum Enum {

MyEnumElement

};

}

Note that the namespace begins with a capital letter to distinguish between enums and real namespaces.

Change History (2)

comment:1 Changed 11 years ago by bknecht

  • Milestone changed from Version 0.2 Codename: Bellatrix to Version 0.3 Codename: Castor

comment:2 Changed 11 years ago by rgrieder

  • Resolution set to fixed
  • Status changed from new to closed

Edited the styled guide and adjusted all enums except XMLPort::Mode, which fits already quite well and would involve lots of changes.

Note: See TracTickets for help on using tickets.