[mapguide-commits] r5006 - trunk/MgDev/Common/PlatformBase/Services
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Jul 8 03:43:01 EDT 2010
Author: leaf
Date: 2010-07-08 07:43:01 +0000 (Thu, 08 Jul 2010)
New Revision: 5006
Modified:
trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.h
Log:
Ticket# 1395: Method MgFeatureQueryOptions::SetFetchSize(...) isn't exposed in MapGudie Web API
When implementing MapGuide RFC 84 (http://trac.osgeo.org/mapguide/wiki/MapGuideRfc84), method MgFeatureQueryOptions::SetFetchSize(INT32 fetchSize) is decorated by INTERNAL_API so that it will not be exposed in MapGuide Web API because we don't have enough time to test it. Now I modify it to PUBLISHED_API so that it can be used in MapGuide Web API.
Modified: trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.h
===================================================================
--- trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.h 2010-07-08 04:17:53 UTC (rev 5005)
+++ trunk/MgDev/Common/PlatformBase/Services/FeatureQueryOptions.h 2010-07-08 07:43:01 UTC (rev 5006)
@@ -455,33 +455,6 @@
///
void RemoveComputedProperty(CREFSTRING aliasName);
-INTERNAL_API:
-
- virtual ~MgFeatureQueryOptions();
-
- MgStringCollection* GetClassProperties();
- MgStringPropertyCollection* GetComputedProperties();
- MgStringCollection* GetOrderingProperties();
-
- STRING GetFilter();
- bool GetBinaryOperator();
-
- STRING GetGeometryProperty();
- MgGeometry* GetGeometry();
-
- INT32 GetOrderOption();
- INT32 GetSpatialOperation();
- INT32 GetFetchSize();
-
- virtual void Serialize(MgStream* stream);
- virtual void Deserialize(MgStream* stream);
- STRING GetLogString();
-
- virtual INT32 GetClassId() { return m_cls_id; }
- virtual void Dispose() { delete this; }
-
- void ValidateEmptyArgument(CREFSTRING value);
-
//////////////////////////////////////////////////////////////////////////////
/// \brief
/// For queries that return a large number of objects
@@ -512,6 +485,33 @@
///
void SetFetchSize(INT32 fetchSize);
+INTERNAL_API:
+
+ virtual ~MgFeatureQueryOptions();
+
+ MgStringCollection* GetClassProperties();
+ MgStringPropertyCollection* GetComputedProperties();
+ MgStringCollection* GetOrderingProperties();
+
+ STRING GetFilter();
+ bool GetBinaryOperator();
+
+ STRING GetGeometryProperty();
+ MgGeometry* GetGeometry();
+
+ INT32 GetOrderOption();
+ INT32 GetSpatialOperation();
+ INT32 GetFetchSize();
+
+ virtual void Serialize(MgStream* stream);
+ virtual void Deserialize(MgStream* stream);
+ STRING GetLogString();
+
+ virtual INT32 GetClassId() { return m_cls_id; }
+ virtual void Dispose() { delete this; }
+
+ void ValidateEmptyArgument(CREFSTRING value);
+
private:
STRING m_filterText; // Where Clause
More information about the mapguide-commits
mailing list