Changes between Version 29 and Version 30 of MapGuideCodingStandards


Ignore:
Timestamp:
Aug 1, 2011, 9:54:57 AM (13 years ago)
Author:
waltweltonlair
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideCodingStandards

    v29 v30  
    771771}}}
    772772
    773 You will notice that the 1st letter of each word is part of the enumeration value.
    774 Also, when using enumerations in your code ALWAYS do the following:
    775 {{{
    776 #!cpp
    777 ConnectionState::mcsOpen
    778 }}}
    779 Do NOT do the following:
    780 {{{
    781 #!cpp
    782 mcsOpen
    783 }}}
     773Notice that an abbreviated lower-case form of the enumeration name is prepended to each item in the enumerator list.
    784774
    785775== Parentheses ==