You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/07/05 19:08:10 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/schema SchemaGrammar.hpp
tng 2002/07/05 10:08:10
Modified: c/src/xercesc/validators/DTD DTDGrammar.hpp
c/src/xercesc/validators/common Grammar.hpp
c/src/xercesc/validators/schema SchemaGrammar.hpp
Log:
[Bug 10119] Grammar::getGrammarType need a const modifier
Revision Changes Path
1.2 +5 -2 xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.hpp
Index: DTDGrammar.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DTDGrammar.hpp 1 Feb 2002 22:22:43 -0000 1.1
+++ DTDGrammar.hpp 5 Jul 2002 17:08:10 -0000 1.2
@@ -56,8 +56,11 @@
/*
* $Log$
- * Revision 1.1 2002/02/01 22:22:43 peiyongz
- * Initial revision
+ * Revision 1.2 2002/07/05 17:08:10 tng
+ * [Bug 10119] Grammar::getGrammarType need a const modifier
+ *
+ * Revision 1.1.1.1 2002/02/01 22:22:43 peiyongz
+ * sane_include
*
* Revision 1.5 2001/09/14 14:50:22 tng
* Schema: Fix some wildcard bugs, and some retrieving qualified/unqualified element decl problems.
@@ -109,7 +112,7 @@
// -----------------------------------------------------------------------
// Implementation of Virtual Interface
// -----------------------------------------------------------------------
- virtual Grammar::GrammarType getGrammarType();
+ virtual Grammar::GrammarType getGrammarType() const;
virtual const XMLCh* getTargetNamespace() const;
virtual XMLElementDecl* findOrAddElemDecl
@@ -258,7 +261,7 @@
// ---------------------------------------------------------------------------
// DTDGrammar: Virtual methods
// ---------------------------------------------------------------------------
-inline Grammar::GrammarType DTDGrammar::getGrammarType() {
+inline Grammar::GrammarType DTDGrammar::getGrammarType() const {
return Grammar::DTDGrammarType;
}
1.2 +4 -1 xml-xerces/c/src/xercesc/validators/common/Grammar.hpp
Index: Grammar.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/common/Grammar.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Grammar.hpp 1 Feb 2002 22:22:38 -0000 1.1
+++ Grammar.hpp 5 Jul 2002 17:08:10 -0000 1.2
@@ -56,8 +56,11 @@
/*
* $Log$
- * Revision 1.1 2002/02/01 22:22:38 peiyongz
- * Initial revision
+ * Revision 1.2 2002/07/05 17:08:10 tng
+ * [Bug 10119] Grammar::getGrammarType need a const modifier
+ *
+ * Revision 1.1.1.1 2002/02/01 22:22:38 peiyongz
+ * sane_include
*
* Revision 1.6 2001/09/14 14:50:22 tng
* Schema: Fix some wildcard bugs, and some retrieving qualified/unqualified element decl problems.
@@ -128,7 +131,7 @@
// -----------------------------------------------------------------------
// Virtual Getter methods
// -----------------------------------------------------------------------
- virtual GrammarType getGrammarType()=0;
+ virtual GrammarType getGrammarType() const =0;
virtual const XMLCh* getTargetNamespace() const =0;
// Element Decl
1.2 +5 -2 xml-xerces/c/src/xercesc/validators/schema/SchemaGrammar.hpp
Index: SchemaGrammar.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/SchemaGrammar.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SchemaGrammar.hpp 1 Feb 2002 22:22:46 -0000 1.1
+++ SchemaGrammar.hpp 5 Jul 2002 17:08:10 -0000 1.2
@@ -56,8 +56,11 @@
/*
* $Log$
- * Revision 1.1 2002/02/01 22:22:46 peiyongz
- * Initial revision
+ * Revision 1.2 2002/07/05 17:08:10 tng
+ * [Bug 10119] Grammar::getGrammarType need a const modifier
+ *
+ * Revision 1.1.1.1 2002/02/01 22:22:46 peiyongz
+ * sane_include
*
* Revision 1.14 2001/11/19 18:26:31 knoaman
* no message
@@ -151,7 +154,7 @@
// -----------------------------------------------------------------------
// Implementation of Virtual Interface
// -----------------------------------------------------------------------
- virtual Grammar::GrammarType getGrammarType();
+ virtual Grammar::GrammarType getGrammarType() const;
virtual const XMLCh* getTargetNamespace() const;
virtual XMLElementDecl* findOrAddElemDecl
@@ -445,7 +448,7 @@
// ---------------------------------------------------------------------------
// SchemaGrammar: Virtual methods
// ---------------------------------------------------------------------------
-inline Grammar::GrammarType SchemaGrammar::getGrammarType() {
+inline Grammar::GrammarType SchemaGrammar::getGrammarType() const {
return Grammar::SchemaGrammarType;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org