logo       

cvs: pecl /sdo/sdolib/src/xmldas SDOXSDWriter.h: msg#00230

php.pecl.cvs

Subject: cvs: pecl /sdo/sdolib/src/xmldas SDOXSDWriter.h

cem Thu Jul 28 09:59:18 2005 EDT

Modified files:
/pecl/sdo/sdolib/src/xmldas SDOXSDWriter.h
Log:
Sort out include ordering to satisfy MS compiler

http://cvs.php.net/diff.php/pecl/sdo/sdolib/src/xmldas/SDOXSDWriter.h?r1=1.1&r2=1.2&ty=u
Index: pecl/sdo/sdolib/src/xmldas/SDOXSDWriter.h
diff -u pecl/sdo/sdolib/src/xmldas/SDOXSDWriter.h:1.1
pecl/sdo/sdolib/src/xmldas/SDOXSDWriter.h:1.2
--- pecl/sdo/sdolib/src/xmldas/SDOXSDWriter.h:1.1 Mon Jul 18 14:33:09 2005
+++ pecl/sdo/sdolib/src/xmldas/SDOXSDWriter.h Thu Jul 28 09:59:18 2005
@@ -1,22 +1,22 @@
-/*
+/*
+----------------------------------------------------------------------+
-| (c) Copyright IBM Corporation 2005. |
+| (c) Copyright IBM Corporation 2005. |
| All Rights Reserved. |
-+----------------------------------------------------------------------+
-| |
-| Licensed under the Apache License, Version 2.0 (the "License"); you |
-| may not use this file except in compliance with the License. You may |
-| obtain a copy of the License at |
++----------------------------------------------------------------------+
+| |
+| Licensed under the Apache License, Version 2.0 (the "License"); you |
+| may not use this file except in compliance with the License. You may |
+| obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
-| |
-| Unless required by applicable law or agreed to in writing, software |
-| distributed under the License is distributed on an "AS IS" BASIS, |
-| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
-| implied. See the License for the specific language governing |
-| permissions and limitations under the License. |
-+----------------------------------------------------------------------+
-| Author: Pete Robbins |
-+----------------------------------------------------------------------+
+| |
+| Unless required by applicable law or agreed to in writing, software |
+| distributed under the License is distributed on an "AS IS" BASIS, |
+| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
+| implied. See the License for the specific language governing |
+| permissions and limitations under the License. |
++----------------------------------------------------------------------+
+| Author: Pete Robbins |
++----------------------------------------------------------------------+

*/

@@ -24,6 +24,7 @@
#define _SDOXSDWRITER_H_
#include <libxml/xmlwriter.h>
#include "SDOXMLString.h"
+#include "DataObject.h"
#include "DASDataFactory.h"


@@ -33,22 +34,22 @@
{
namespace xmldas
{
-
+
class SDOXSDWriter
{
-
+
public:
-
+
SDOXSDWriter(DASDataFactoryPtr dataFactory =
NULL);
-
+
virtual ~SDOXSDWriter();
-
+
int write(const TypeList& types, const
SDOXMLString& targetNamespaceURI);

protected:
void setWriter(xmlTextWriterPtr textWriter);
void freeWriter();
-
+
private:
xmlTextWriterPtr writer;

@@ -57,7 +58,7 @@
DASDataFactoryPtr dataFactory;

SDOXMLString resolveName(const SDOXMLString&
uri, const SDOXMLString& name, const SDOXMLString& targetNamespaceURI);
-
+
};
} // End - namespace xmldas
} // End - namespace sdo



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise