Changes between Version 32 and Version 33 of MapGuideCodingStandards


Ignore:
Timestamp:
Dec 8, 2012, 6:24:26 AM (11 years ago)
Author:
jng
Comment:

doxygen examples

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideCodingStandards

    v32 v33  
    8686 1. Cause the method in question to appear under the list of deprecated methods (and appear as deprecated under the class method documentation) in the API documentation that's generated by doxygen
    8787 2. Allow for us in the future to convert these directives to {{{[ObsoleteAttribute]}}} in .net and {{{@Deprecated}}} in Java for their proxy classes.
     88
     89An example:
     90{{{
     91   ///////////////////////////////////////////////////////
     92   /// \brief
     93   /// Don't use me
     94   ///
     95   /// \deprecated
     96   void AMethodThatShouldNotBeUsedAnymore();
     97}}}
     98
     99For new APIs, indicate the milestone the API was introduced with the {{{\since}}} directive
     100
     101For example if the new API is available since 2.5:
     102{{{
     103
     104   ///////////////////////////////////////////////////////
     105   /// \brief
     106   /// Some new method
     107   ///
     108   /// \since 2.5
     109   void SomeNewMethod();
     110}}}
    88111
    89112=== General ===