peiyongz 2004/10/26 07:50:49
Modified: c/src/xercesc/util BinMemInputStream.hpp
Log:
net getter
Revision Changes Path
1.6 +11 -0 xml-xerces/c/src/xercesc/util/BinMemInputStream.hpp
Index: BinMemInputStream.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/BinMemInputStream.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- BinMemInputStream.hpp 8 Sep 2004 13:56:21 -0000 1.5
+++ BinMemInputStream.hpp 26 Oct 2004 14:50:49 -0000 1.6
@@ -16,6 +16,9 @@
/*
* $Log$
+ * Revision 1.6 2004/10/26 14:50:49 peiyongz
+ * net getter
+ *
* Revision 1.5 2004/09/08 13:56:21 peiyongz
* Apache License Version 2.0
*
@@ -90,6 +93,9 @@
// Implementation of the input stream interface
// -----------------------------------------------------------------------
virtual unsigned int curPos() const;
+
+ unsigned int getSize() const;
+
virtual unsigned int readBytes
(
XMLByte* const toFill
@@ -144,6 +150,11 @@
inline unsigned int BinMemInputStream::curPos() const
{
return fCurIndex;
+}
+
+inline unsigned int BinMemInputStream::getSize() const
+{
+ return fCapacity;
}
XERCES_CPP_NAMESPACE_END
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]