peiyongz 2003/10/14 08:17:47
Modified: c/src/xercesc/framework Makefile.in XMLDTDDescription.hpp
XMLGrammarDescription.hpp XMLSchemaDescription.hpp
Log:
Implementation of Serialization/Deserialization
Revision Changes Path
1.14 +6 -0 xml-xerces/c/src/xercesc/framework/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/Makefile.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile.in 10 Oct 2003 16:23:29 -0000 1.13
+++ Makefile.in 14 Oct 2003 15:17:47 -0000 1.14
@@ -55,6 +55,9 @@
#
#
# $Log$
+# Revision 1.14 2003/10/14 15:17:47 peiyongz
+# Implementation of Serialization/Deserialization
+#
# Revision 1.13 2003/10/10 16:23:29 peiyongz
# Implementation of Serialization/Deserialization
#
@@ -217,12 +220,15 @@
XMLBuffer.$(TO) \
XMLBufferMgr.$(TO) \
XMLContentModel.$(TO) \
+ XMLDTDDescription.$(TO) \
XMLElementDecl.$(TO) \
XMLEntityDecl.$(TO) \
XMLFormatter.$(TO) \
+ XMLGrammarDescription.$(TO) \
XMLNotationDecl.$(TO) \
XMLRecognizer.$(TO) \
XMLRefInfo.$(TO) \
+ XMLSchemaDescription.$(TO) \
XMLValidator.$(TO)
all:: includes $(FRAMEWORK_CPP_OBJECTS) psvi
1.2 +12 -6 xml-xerces/c/src/xercesc/framework/XMLDTDDescription.hpp
Index: XMLDTDDescription.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLDTDDescription.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XMLDTDDescription.hpp 20 Jun 2003 18:37:39 -0000 1.1
+++ XMLDTDDescription.hpp 14 Oct 2003 15:17:47 -0000 1.2
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.2 2003/10/14 15:17:47 peiyongz
+ * Implementation of Serialization/Deserialization
+ *
* Revision 1.1 2003/06/20 18:37:39 peiyongz
* Stateless Grammar Pool :: Part I
*
@@ -81,7 +84,7 @@
* virtual destructor
*
*/
- virtual ~XMLDTDDescription(){};
+ virtual ~XMLDTDDescription();
//@}
// -----------------------------------------------------------------------
@@ -116,14 +119,17 @@
//@}
+ /***
+ * Support for Serialization/De-serialization
+ ***/
+ DECL_XSERIALIZABLE(XMLDTDDescription)
+
protected :
// -----------------------------------------------------------------------
/** Hidden Constructors */
// -----------------------------------------------------------------------
//@{
- XMLDTDDescription(MemoryManager* const memMgr)
- :XMLGrammarDescription(memMgr)
- {};
+ XMLDTDDescription(MemoryManager* const memMgr =
XMLPlatformUtils::fgMemoryManager);
//@}
private :
1.2 +15 -8 xml-xerces/c/src/xercesc/framework/XMLGrammarDescription.hpp
Index: XMLGrammarDescription.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLGrammarDescription.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XMLGrammarDescription.hpp 20 Jun 2003 18:37:39 -0000 1.1
+++ XMLGrammarDescription.hpp 14 Oct 2003 15:17:47 -0000 1.2
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.2 2003/10/14 15:17:47 peiyongz
+ * Implementation of Serialization/Deserialization
+ *
* Revision 1.1 2003/06/20 18:37:39 peiyongz
* Stateless Grammar Pool :: Part I
*
@@ -69,9 +72,11 @@
#include <xercesc/util/XMemory.hpp>
#include <xercesc/validators/common/Grammar.hpp>
+#include <xercesc/internal/XSerializable.hpp>
+
XERCES_CPP_NAMESPACE_BEGIN
-class XMLPARSER_EXPORT XMLGrammarDescription : public XMemory
+class XMLPARSER_EXPORT XMLGrammarDescription : public XSerializable, public XMemory
{
public :
// -----------------------------------------------------------------------
@@ -82,7 +87,7 @@
* virtual destructor
*
*/
- virtual ~XMLGrammarDescription(){};
+ virtual ~XMLGrammarDescription();
//@}
// -----------------------------------------------------------------------
@@ -104,15 +109,17 @@
inline MemoryManager* getMemoryManager() const;
+ /***
+ * Support for Serialization/De-serialization
+ ***/
+ DECL_XSERIALIZABLE(XMLGrammarDescription)
+
protected :
// -----------------------------------------------------------------------
/** Hidden Constructors */
// -----------------------------------------------------------------------
//@{
- XMLGrammarDescription(MemoryManager* const memMgr =
XMLPlatformUtils::fgMemoryManager)
- :fMemMgr(memMgr)
- {
- };
+ XMLGrammarDescription(MemoryManager* const memMgr =
XMLPlatformUtils::fgMemoryManager);
//@}
private :
1.3 +11 -5 xml-xerces/c/src/xercesc/framework/XMLSchemaDescription.hpp
Index: XMLSchemaDescription.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLSchemaDescription.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLSchemaDescription.hpp 31 Jul 2003 17:03:19 -0000 1.2
+++ XMLSchemaDescription.hpp 14 Oct 2003 15:17:47 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.3 2003/10/14 15:17:47 peiyongz
+ * Implementation of Serialization/Deserialization
+ *
* Revision 1.2 2003/07/31 17:03:19 peiyongz
* locationHint incrementally added
*
@@ -87,7 +90,7 @@
* virtual destructor
*
*/
- virtual ~XMLSchemaDescription(){};
+ virtual ~XMLSchemaDescription();
//@}
// -----------------------------------------------------------------------
@@ -195,14 +198,17 @@
virtual void setAttributes(XMLAttDef* const) = 0;
//@}
+ /***
+ * Support for Serialization/De-serialization
+ ***/
+ DECL_XSERIALIZABLE(XMLSchemaDescription)
+
protected :
// -----------------------------------------------------------------------
/** Hidden Constructors */
// -----------------------------------------------------------------------
//@{
- XMLSchemaDescription(MemoryManager* const memMgr)
- :XMLGrammarDescription(memMgr)
- {};
+ XMLSchemaDescription(MemoryManager* const memMgr =
XMLPlatformUtils::fgMemoryManager);
//@}
private :
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]