Changes between Version 38 and Version 39 of MapGuideCodingStandards
- Timestamp:
- 09/19/22 04:39:08 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideCodingStandards
v38 v39 153 153 * Allowed method parameter types 154 154 * Basic primitive types `bool/BYTE/INT16/INT32/INT64/float/double` 155 * Values you would normally model and pass as `enum`s should instead be represented with one of the above numeric primitive types and you should also define a "constant" class with allowed values as static members. 155 156 * Raw pointer to any public MapGuide API class 156 157 * For strings, only `std::wstring` (aliased in MapGuide as `STRING`) is permitted and only by const reference (aliased in MapGuide as `CREFSTRING`) … … 159 160 * Allowed method return types 160 161 * Basic primitive types `bool/BYTE/INT16/INT32/INT64/float/double` 162 * Values you would normally model and return as `enum`s should instead be represented with one of the above numeric primitive types and you should also define a "constant" class with allowed values as static members. 161 163 * Raw pointer to any public MapGuide API class 162 164 * For strings, only `std::wstring` (aliased in MapGuide as `STRING`) is permitted and only by value