Changes between Version 32 and Version 33 of MapGuideCodingStandards
- Timestamp:
- 12/08/12 06:24:26 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideCodingStandards
v32 v33 86 86 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 87 87 2. Allow for us in the future to convert these directives to {{{[ObsoleteAttribute]}}} in .net and {{{@Deprecated}}} in Java for their proxy classes. 88 89 An example: 90 {{{ 91 /////////////////////////////////////////////////////// 92 /// \brief 93 /// Don't use me 94 /// 95 /// \deprecated 96 void AMethodThatShouldNotBeUsedAnymore(); 97 }}} 98 99 For new APIs, indicate the milestone the API was introduced with the {{{\since}}} directive 100 101 For 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 }}} 88 111 89 112 === General ===