[mapguide-commits] r10194 - in branches/4.0/MgDev: Bindings/src/IMake Common/Foundation/Data Common/Foundation/System Common/Geometry/CoordinateSystem Common/PlatformBase/Services Portable/MgPortable/MapLayer Portable/MgPortable/Services Portable/MgPortable/Services/Rendering Portable/UnitTest

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Sep 12 07:08:50 PDT 2025


Author: jng
Date: 2025-09-12 07:08:50 -0700 (Fri, 12 Sep 2025)
New Revision: 10194

Modified:
   branches/4.0/MgDev/Bindings/src/IMake/SimpleXmlParser.cpp
   branches/4.0/MgDev/Common/Foundation/Data/DateTime.h
   branches/4.0/MgDev/Common/Foundation/System/Resources.cpp
   branches/4.0/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystem.h
   branches/4.0/MgDev/Common/PlatformBase/Services/GeoJsonWriter.h
   branches/4.0/MgDev/Portable/MgPortable/MapLayer/Layer.h
   branches/4.0/MgDev/Portable/MgPortable/Services/ProfilingService.h
   branches/4.0/MgDev/Portable/MgPortable/Services/Rendering/MapPlotCollection.h
   branches/4.0/MgDev/Portable/MgPortable/Services/RenderingService.h
   branches/4.0/MgDev/Portable/UnitTest/TestFeatureService.cpp
Log:
API doc sweep on parts of Foundation, Geometry, PlatformBase and MgPortable APIs

Modified: branches/4.0/MgDev/Bindings/src/IMake/SimpleXmlParser.cpp
===================================================================
--- branches/4.0/MgDev/Bindings/src/IMake/SimpleXmlParser.cpp	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Bindings/src/IMake/SimpleXmlParser.cpp	2025-09-12 14:08:50 UTC (rev 10194)
@@ -181,7 +181,7 @@
 const char* _tcseistr( const char* psz, const char* str, int escape )
 {
     size_t len = strlen( str );
-    return _tcsenistr( psz, str, len, escape );
+    return _tcsenistr( psz, str, static_cast<int>(len), escape );
 }
 
 void _SetString( const char* psz, const char* end, string* ps, bool trim = false, int escape = 0 )

Modified: branches/4.0/MgDev/Common/Foundation/Data/DateTime.h
===================================================================
--- branches/4.0/MgDev/Common/Foundation/Data/DateTime.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Common/Foundation/Data/DateTime.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -32,20 +32,6 @@
 /// \remarks
 /// The date and/or time can be modified using the various getters or setters that this class provides.
 /// MgDateTime represent date and time ranging from midnight (00:00:00), January 1, 1970 through 19:14:07 January 18, 2038, UTC.
-/// \param year
-/// Year in the range of 1 to 9999
-/// \param month
-/// Month in the range of 1 to 12 inclusive (January = 1)
-/// \param day
-/// Day of the month in the range of 1 to 31 inclusive
-/// \param hour
-/// Hour since midnight in the range of 0 to 23
-/// \param minute
-/// Minutes after hour in the range of 0 to 59
-/// \param second
-/// Seconds after minute in the range of 0 to 59
-/// \param microsecond
-/// Microseconds after second in the range of 0 to 999999
 ///
 class MG_FOUNDATION_API  MgDateTime : public MgSerializable
 {
@@ -88,11 +74,11 @@
     /// \htmlinclude SyntaxBottom.html
     ///
     /// \param year (short/int)
-    /// Input year
+    /// Year in the range of 1 to 9999
     /// \param month (short/int)
-    /// Input month
+    /// Month in the range of 1 to 12 inclusive (January = 1)
     /// \param day (short/int)
-    /// Input day of month
+    /// Day of the month in the range of 1 to 31 inclusive
     ///
     /// \return
     /// Returns nothing.
@@ -114,13 +100,13 @@
     /// \htmlinclude SyntaxBottom.html
     ///
     /// \param hour (short/int)
-    /// Input hour
+    /// Hour since midnight in the range of 0 to 23
     /// \param minute (short/int)
-    /// Input minute
+    /// Minutes after hour in the range of 0 to 59
     /// \param second (short/int)
-    /// Input second
+    /// Seconds after minute in the range of 0 to 59
     /// \param microsecond (int)
-    /// Input microsecond
+    /// Microseconds after second in the range of 0 to 999999
     ///
     /// \return
     /// Returns nothing.
@@ -142,19 +128,19 @@
     /// \htmlinclude SyntaxBottom.html
     ///
     /// \param year (short/int)
-    /// Input year
+    /// Year in the range of 1 to 9999
     /// \param month (short/int)
-    /// Input month
+    /// Month in the range of 1 to 12 inclusive (January = 1)
     /// \param day (short/int)
-    /// Input day of month
+    /// Day of the month in the range of 1 to 31 inclusive
     /// \param hour (short/int)
-    /// Input hour
+    /// Hour since midnight in the range of 0 to 23
     /// \param minute (short/int)
-    /// Input minute
+    /// Minutes after hour in the range of 0 to 59
     /// \param second (short/int)
-    /// Input second
+    /// Seconds after minute in the range of 0 to 59
     /// \param microsecond (int)
-    /// Input microsecond
+    /// Microseconds after second in the range of 0 to 999999
     ///
     /// \return
     /// Returns nothing.

Modified: branches/4.0/MgDev/Common/Foundation/System/Resources.cpp
===================================================================
--- branches/4.0/MgDev/Common/Foundation/System/Resources.cpp	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Common/Foundation/System/Resources.cpp	2025-09-12 14:08:50 UTC (rev 10194)
@@ -616,7 +616,7 @@
 
                         MgStringCollection args2;
                         STRING sOffset;
-                        MgUtil::Int32ToString(offset, sOffset);
+                        MgUtil::Int32ToString(static_cast<INT32>(offset), sOffset);
                         STRING sCause = MgResources::FormatMessage(MgResources::NoParentSectionForResourceDirective, &args2);
 
                         arguments.Add(sCause);

Modified: branches/4.0/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystem.h
===================================================================
--- branches/4.0/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystem.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Common/Geometry/CoordinateSystem/CoordinateSystem.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -642,7 +642,7 @@
     /// \brief
     /// Sets whether this item is encrypted or not.
     ///
-    /// \param bIsProtected (boolean/bool)
+    /// \param bIsEncrypted (boolean/bool)
     /// The encryption flag
     ///
     virtual void SetEncryptMode(bool bIsEncrypted)=0;

Modified: branches/4.0/MgDev/Common/PlatformBase/Services/GeoJsonWriter.h
===================================================================
--- branches/4.0/MgDev/Common/PlatformBase/Services/GeoJsonWriter.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Common/PlatformBase/Services/GeoJsonWriter.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -90,7 +90,7 @@
     /// string FeatureToGeoJson(MgFeatureReader featureReader, MgTransform transform, string idPropertyName, string geomPropName);
     /// \htmlinclude SyntaxBottom.html
     ///
-    /// \param featureReader (MgFeatureReader)
+    /// \param reader (MgReader)
     /// The feature reader
     ///
     /// \param transform (MgTransform)

Modified: branches/4.0/MgDev/Portable/MgPortable/MapLayer/Layer.h
===================================================================
--- branches/4.0/MgDev/Portable/MgPortable/MapLayer/Layer.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Portable/MgPortable/MapLayer/Layer.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -157,12 +157,6 @@
     /// virtual MgByteReader GenerateLegendImage(int width, int height, string format, int geomType, int themeCategory);
     /// \htmlinclude SyntaxBottom.html
     ///
-    /// \param resource (MgResourceIdentifier)
-    /// Input
-    /// MgResourceIdentifier object identifying the layer definition resource.
-    /// \param scale (double)
-    /// Input
-    /// The scale at which the symbolization is requested.
     /// \param width (int)
     /// Input
     /// The requested image width in pixels.
@@ -296,9 +290,6 @@
     /// virtual MgByteReader GenerateLegendImage(double scale, int width, int height, string format, int geomType, int themeCategory);
     /// \htmlinclude SyntaxBottom.html
     ///
-    /// \param resource (MgResourceIdentifier)
-    /// Input
-    /// MgResourceIdentifier object identifying the layer definition resource.
     /// \param scale (double)
     /// Input
     /// The scale at which the symbolization is requested.

Modified: branches/4.0/MgDev/Portable/MgPortable/Services/ProfilingService.h
===================================================================
--- branches/4.0/MgDev/Portable/MgPortable/Services/ProfilingService.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Portable/MgPortable/Services/ProfilingService.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -18,7 +18,7 @@
     /////////////////////////////////////////////////////////////////
     /// \brief
     /// Profile the process of rendering all dynamic layers in the specified 
-    /// MgMap to a dynamic overlay image with a transparent background.
+    /// MgPortableMap to a dynamic overlay image with a transparent background.
     ///
     /// \param map
     /// Input
@@ -40,7 +40,7 @@
 
     /////////////////////////////////////////////////////////////////
     /// \brief
-    /// Profile the process of rendering a MgMap to the requested image 
+    /// Profile the process of rendering a MgPortableMap to the requested image 
     /// format with specified center point and scale.
     ///
     /// \param map

Modified: branches/4.0/MgDev/Portable/MgPortable/Services/Rendering/MapPlotCollection.h
===================================================================
--- branches/4.0/MgDev/Portable/MgPortable/Services/Rendering/MapPlotCollection.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Portable/MgPortable/Services/Rendering/MapPlotCollection.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -122,7 +122,7 @@
     ///
     /// \param index (int)
     /// Position in the collection to set the
-    /// MgMapPot.
+    /// MgPortableMapPot.
     /// \param value (MgPortableMapPlot)
     /// MgPortableMapPlot to be set in the collection.
     ///

Modified: branches/4.0/MgDev/Portable/MgPortable/Services/RenderingService.h
===================================================================
--- branches/4.0/MgDev/Portable/MgPortable/Services/RenderingService.h	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Portable/MgPortable/Services/RenderingService.h	2025-09-12 14:08:50 UTC (rev 10194)
@@ -291,7 +291,7 @@
     /// the maximum number of features to return
     ///
     /// \return
-    /// An MgSelection instance identifying the features that meet the
+    /// An MgPortableFeatureInformation instance identifying the features that meet the
     /// selection criteria. Returns null if no features are identified.
     ///
     virtual MgPortableFeatureInformation* QueryFeatures(MgPortableMap* map,
@@ -332,7 +332,7 @@
     /// bitmask values - 1=Visible, 2=Selectable, 4=HasTooltips
     ///
     /// \return
-    /// An MgSelection instance identifying the features that meet the
+    /// An MgPortableFeatureInformation instance identifying the features that meet the
     /// selection criteria. Returns null if no features are identified.
     ///
     virtual MgPortableFeatureInformation* QueryFeatures(MgPortableMap* map,

Modified: branches/4.0/MgDev/Portable/UnitTest/TestFeatureService.cpp
===================================================================
--- branches/4.0/MgDev/Portable/UnitTest/TestFeatureService.cpp	2025-09-12 13:40:08 UTC (rev 10193)
+++ branches/4.0/MgDev/Portable/UnitTest/TestFeatureService.cpp	2025-09-12 14:08:50 UTC (rev 10194)
@@ -3527,7 +3527,7 @@
 
         ACE_DEBUG((LM_INFO, ACE_TEXT("\nTestFeatureService::TestCase_BenchmarkSqliteAggregateJoin() - Inner Join \n")));
         clock_t clock_start = clock();
-        long total = 0L;
+        INT64 total = 0L;
         int iterations = 0;
 
         reader = featSvc->SelectAggregate(fsId, L"ParcelsInner", aggOpts);



More information about the mapguide-commits mailing list