[mapguide-commits] r7269 - in sandbox/jng/streaming: Common/MapGuideCommon/Services Server/src/Services/Feature
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Dec 14 06:32:00 PST 2012
Author: jng
Date: 2012-12-14 06:32:00 -0800 (Fri, 14 Dec 2012)
New Revision: 7269
Modified:
sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.cpp
sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.h
sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.cpp
sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.h
sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.cpp
sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.h
sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.cpp
sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.h
sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.cpp
sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.h
sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.cpp
sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.h
Log:
Stupid VS formatting defaults!
Modified: sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.cpp
===================================================================
--- sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.cpp 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.cpp 2012-12-14 14:32:00 UTC (rev 7269)
@@ -703,46 +703,46 @@
void MgProxyDataReader::ResponseStartUtf8(string& str)
{
- str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
+ str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
str += "<PropertySet>";
}
void MgProxyDataReader::ResponseEndUtf8(string& str)
{
- str += "</PropertySet>";
+ str += "</PropertySet>";
}
void MgProxyDataReader::BodyStartUtf8(string& str)
{
- str += "<Properties>";
+ str += "<Properties>";
}
void MgProxyDataReader::BodyEndUtf8(string& str)
{
- str += "</Properties>";
+ str += "</Properties>";
}
void MgProxyDataReader::HeaderToStringUtf8(string& str)
{
if (NULL != (MgPropertyDefinitionCollection*)m_propDefCol)
- {
- m_propDefCol->ToXml(str);
- }
+ {
+ m_propDefCol->ToXml(str);
+ }
}
void MgProxyDataReader::CurrentToStringUtf8(string& str)
{
- if (NULL != (MgBatchPropertyCollection*)m_set)
- {
- Ptr<MgPropertyCollection> propCol = m_set->GetItem(m_currRecord-1);
- INT32 cnt = propCol->GetCount();
- if (propCol != NULL && cnt > 0)
- {
- str += "<PropertyCollection>";
- propCol->ToXml(str, false);
- str += "</PropertyCollection>";
- }
- }
+ if (NULL != (MgBatchPropertyCollection*)m_set)
+ {
+ Ptr<MgPropertyCollection> propCol = m_set->GetItem(m_currRecord-1);
+ INT32 cnt = propCol->GetCount();
+ if (propCol != NULL && cnt > 0)
+ {
+ str += "<PropertyCollection>";
+ propCol->ToXml(str, false);
+ str += "</PropertyCollection>";
+ }
+ }
}
void MgProxyDataReader::SetService(MgFeatureService* service)
Modified: sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.h
===================================================================
--- sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.h 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyDataReader.h 2012-12-14 14:32:00 UTC (rev 7269)
@@ -515,47 +515,47 @@
INTERNAL_API:
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseStartUtf8(string& str);
+ ///
+ void ResponseStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseEndUtf8(string& str);
+ ///
+ void ResponseEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyStartUtf8(string& str);
+ ///
+ void BodyStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyEndUtf8(string& str);
+ ///
+ void BodyEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the header in this reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
@@ -565,7 +565,7 @@
///
void HeaderToStringUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the current record/feature in the reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
Modified: sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.cpp
===================================================================
--- sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.cpp 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.cpp 2012-12-14 14:32:00 UTC (rev 7269)
@@ -853,45 +853,45 @@
void MgProxyFeatureReader::ResponseStartUtf8(string& str)
{
- str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
+ str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
str += "<FeatureSet>";
}
void MgProxyFeatureReader::ResponseEndUtf8(string& str)
{
- str += "</FeatureSet>";
+ str += "</FeatureSet>";
}
void MgProxyFeatureReader::BodyStartUtf8(string& str)
{
- str += "<Features>";
+ str += "<Features>";
}
void MgProxyFeatureReader::BodyEndUtf8(string& str)
{
- str += "</Features>";
+ str += "</Features>";
}
void MgProxyFeatureReader::HeaderToStringUtf8(string& str)
{
- Ptr<MgClassDefinition> classDef = this->GetClassDefinition();
+ Ptr<MgClassDefinition> classDef = this->GetClassDefinition();
if (classDef != NULL)
- {
- classDef->ToXml(str);
- }
+ {
+ classDef->ToXml(str);
+ }
}
void MgProxyFeatureReader::CurrentToStringUtf8(string& str)
{
- if (NULL != (MgFeatureSet*)m_set)
- {
- Ptr<MgPropertyCollection> propCol = m_set->GetFeatureAt(m_currRecord-1);
- INT32 cnt = propCol->GetCount();
- if (propCol != NULL && cnt > 0)
- {
- propCol->ToFeature(str);
- }
- }
+ if (NULL != (MgFeatureSet*)m_set)
+ {
+ Ptr<MgPropertyCollection> propCol = m_set->GetFeatureAt(m_currRecord-1);
+ INT32 cnt = propCol->GetCount();
+ if (propCol != NULL && cnt > 0)
+ {
+ propCol->ToFeature(str);
+ }
+ }
}
void MgProxyFeatureReader::SetService(MgFeatureService* service)
Modified: sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.h
===================================================================
--- sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.h 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxyFeatureReader.h 2012-12-14 14:32:00 UTC (rev 7269)
@@ -488,47 +488,47 @@
INTERNAL_API:
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseStartUtf8(string& str);
+ ///
+ void ResponseStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseEndUtf8(string& str);
+ ///
+ void ResponseEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyStartUtf8(string& str);
+ ///
+ void BodyStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyEndUtf8(string& str);
+ ///
+ void BodyEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the header in this reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
@@ -538,7 +538,7 @@
///
void HeaderToStringUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the current record/feature in the reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
Modified: sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.cpp
===================================================================
--- sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.cpp 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.cpp 2012-12-14 14:32:00 UTC (rev 7269)
@@ -699,44 +699,44 @@
void MgProxySqlDataReader::ResponseStartUtf8(string& str)
{
- str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
+ str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
str += "<RowSet>";
}
void MgProxySqlDataReader::ResponseEndUtf8(string& str)
{
- str += "</RowSet>";
+ str += "</RowSet>";
}
void MgProxySqlDataReader::BodyStartUtf8(string& str)
{
- str += "<Rows>";
+ str += "<Rows>";
}
void MgProxySqlDataReader::BodyEndUtf8(string& str)
{
- str += "</Rows>";
+ str += "</Rows>";
}
void MgProxySqlDataReader::HeaderToStringUtf8(string& str)
{
if (NULL != (MgPropertyDefinitionCollection*)m_propDefCol)
- {
- m_propDefCol->ToColumnDefinitions(str);
- }
+ {
+ m_propDefCol->ToColumnDefinitions(str);
+ }
}
void MgProxySqlDataReader::CurrentToStringUtf8(string& str)
{
- if (NULL != (MgBatchPropertyCollection*)m_set)
- {
- Ptr<MgPropertyCollection> propCol = m_set->GetItem(m_currRecord-1);
- INT32 cnt = propCol->GetCount();
- if (propCol != NULL && cnt > 0)
- {
- propCol->ToRow(str);
- }
- }
+ if (NULL != (MgBatchPropertyCollection*)m_set)
+ {
+ Ptr<MgPropertyCollection> propCol = m_set->GetItem(m_currRecord-1);
+ INT32 cnt = propCol->GetCount();
+ if (propCol != NULL && cnt > 0)
+ {
+ propCol->ToRow(str);
+ }
+ }
}
void MgProxySqlDataReader::SetService(MgFeatureService* service)
Modified: sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.h
===================================================================
--- sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.h 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Common/MapGuideCommon/Services/ProxySqlDataReader.h 2012-12-14 14:32:00 UTC (rev 7269)
@@ -485,47 +485,47 @@
INTERNAL_API:
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseStartUtf8(string& str);
+ ///
+ void ResponseStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseEndUtf8(string& str);
+ ///
+ void ResponseEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyStartUtf8(string& str);
+ ///
+ void BodyStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyEndUtf8(string& str);
+ ///
+ void BodyEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the header in this reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
@@ -535,7 +535,7 @@
///
void HeaderToStringUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the current record/feature in the reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
Modified: sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.cpp
===================================================================
--- sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.cpp 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.cpp 2012-12-14 14:32:00 UTC (rev 7269)
@@ -1514,25 +1514,25 @@
void MgServerDataReader::ResponseStartUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerDataReader.ResponseStartUtf8",
+ throw new MgInvalidOperationException(L"MgServerDataReader.ResponseStartUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerDataReader::ResponseEndUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerDataReader.ResponseEndUtf8",
+ throw new MgInvalidOperationException(L"MgServerDataReader.ResponseEndUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerDataReader::BodyStartUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerDataReader.BodyStartUtf8",
+ throw new MgInvalidOperationException(L"MgServerDataReader.BodyStartUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerDataReader::BodyEndUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerDataReader.BodyEndUtf8",
+ throw new MgInvalidOperationException(L"MgServerDataReader.BodyEndUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
@@ -1544,7 +1544,7 @@
void MgServerDataReader::CurrentToStringUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerDataReader.CurrentToStringUtf8",
+ throw new MgInvalidOperationException(L"MgServerDataReader.CurrentToStringUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
Modified: sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.h
===================================================================
--- sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.h 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Server/src/Services/Feature/ServerDataReader.h 2012-12-14 14:32:00 UTC (rev 7269)
@@ -436,47 +436,47 @@
INTERNAL_API:
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseStartUtf8(string& str);
+ ///
+ void ResponseStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseEndUtf8(string& str);
+ ///
+ void ResponseEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyStartUtf8(string& str);
+ ///
+ void BodyStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyEndUtf8(string& str);
+ ///
+ void BodyEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the header in this reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
@@ -486,7 +486,7 @@
///
void HeaderToStringUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the current record/feature in the reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
Modified: sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.cpp
===================================================================
--- sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.cpp 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.cpp 2012-12-14 14:32:00 UTC (rev 7269)
@@ -867,25 +867,25 @@
void MgServerFeatureReader::ResponseStartUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerFeatureReader.ResponseStartUtf8",
+ throw new MgInvalidOperationException(L"MgServerFeatureReader.ResponseStartUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerFeatureReader::ResponseEndUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerFeatureReader.ResponseEndUtf8",
+ throw new MgInvalidOperationException(L"MgServerFeatureReader.ResponseEndUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerFeatureReader::BodyStartUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerFeatureReader.BodyStartUtf8",
+ throw new MgInvalidOperationException(L"MgServerFeatureReader.BodyStartUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerFeatureReader::BodyEndUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerFeatureReader.BodyEndUtf8",
+ throw new MgInvalidOperationException(L"MgServerFeatureReader.BodyEndUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
@@ -897,7 +897,7 @@
void MgServerFeatureReader::CurrentToStringUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerFeatureReader.CurrentToStringUtf8",
+ throw new MgInvalidOperationException(L"MgServerFeatureReader.CurrentToStringUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
Modified: sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.h
===================================================================
--- sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.h 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Server/src/Services/Feature/ServerFeatureReader.h 2012-12-14 14:32:00 UTC (rev 7269)
@@ -401,47 +401,47 @@
INTERNAL_API:
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseStartUtf8(string& str);
+ ///
+ void ResponseStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseEndUtf8(string& str);
+ ///
+ void ResponseEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyStartUtf8(string& str);
+ ///
+ void BodyStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyEndUtf8(string& str);
+ ///
+ void BodyEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the header in this reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
@@ -451,7 +451,7 @@
///
void HeaderToStringUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the current record/feature in the reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
Modified: sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.cpp
===================================================================
--- sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.cpp 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.cpp 2012-12-14 14:32:00 UTC (rev 7269)
@@ -1354,25 +1354,25 @@
void MgServerSqlDataReader::ResponseStartUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerSqlDataReader.ResponseStartUtf8",
+ throw new MgInvalidOperationException(L"MgServerSqlDataReader.ResponseStartUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerSqlDataReader::ResponseEndUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerSqlDataReader.ResponseEndUtf8",
+ throw new MgInvalidOperationException(L"MgServerSqlDataReader.ResponseEndUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerSqlDataReader::BodyStartUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerSqlDataReader.BodyStartUtf8",
+ throw new MgInvalidOperationException(L"MgServerSqlDataReader.BodyStartUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
void MgServerSqlDataReader::BodyEndUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerSqlDataReader.BodyEndUtf8",
+ throw new MgInvalidOperationException(L"MgServerSqlDataReader.BodyEndUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
@@ -1384,7 +1384,7 @@
void MgServerSqlDataReader::CurrentToStringUtf8(string& str)
{
- throw new MgInvalidOperationException(L"MgServerSqlDataReader.CurrentToStringUtf8",
+ throw new MgInvalidOperationException(L"MgServerSqlDataReader.CurrentToStringUtf8",
__LINE__, __WFILE__, NULL, L"", NULL);
}
Modified: sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.h
===================================================================
--- sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.h 2012-12-14 14:17:47 UTC (rev 7268)
+++ sandbox/jng/streaming/Server/src/Services/Feature/ServerSqlDataReader.h 2012-12-14 14:32:00 UTC (rev 7269)
@@ -411,47 +411,47 @@
INTERNAL_API:
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseStartUtf8(string& str);
+ ///
+ void ResponseStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void ResponseEndUtf8(string& str);
+ ///
+ void ResponseEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the start of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyStartUtf8(string& str);
+ ///
+ void BodyStartUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the end of the response body as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
///
/// \param str
/// Destination string.
- ///
- void BodyEndUtf8(string& str);
+ ///
+ void BodyEndUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the header in this reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
@@ -461,7 +461,7 @@
///
void HeaderToStringUtf8(string& str);
- ///////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////////////////////
/// \brief
/// Returns the contents of the current record/feature in the reader as a UTF-8 string. The mime
/// type must be a text type, for example text/xml.
More information about the mapguide-commits
mailing list