dbertoni 2002/08/11 20:58:38
Modified: c/src/XalanExtensions FunctionNodeSet.cpp
Log:
Removed unused code.
Revision Changes Path
1.10 +0 -76 xml-xalan/c/src/XalanExtensions/FunctionNodeSet.cpp
Index: FunctionNodeSet.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanExtensions/FunctionNodeSet.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- FunctionNodeSet.cpp 5 Aug 2002 04:55:50 -0000 1.9
+++ FunctionNodeSet.cpp 12 Aug 2002 03:58:38 -0000 1.10
@@ -66,82 +66,6 @@
-class XResultTreeFragNodeSetProxy : public XNodeSetBase
-{
-public:
-
- XResultTreeFragNodeSetProxy(const XObjectPtr& theXObject) :
- m_xobject(theXObject),
-#if defined(XALAN_OLD_STYLE_CASTS)
- m_proxy(*(const XResultTreeFrag*)theXObject.get())
-#else
- m_proxy(*static_cast<const XResultTreeFrag*>(theXObject.get()))
-#endif
- {
- assert(theXObject.null() == false);
- assert(theXObject->getType() == XObject::eTypeResultTreeFrag);
- }
-
- XResultTreeFragNodeSetProxy(const XResultTreeFragNodeSetProxy&
theSource) :
- m_xobject(theSource.m_xobject),
-#if defined(XALAN_OLD_STYLE_CASTS)
- m_proxy(*(const XResultTreeFrag*)m_xobject.get())
-#else
- m_proxy(*static_cast<const XResultTreeFrag*>(m_xobject.get()))
-#endif
- {
- }
-
- virtual
- ~XResultTreeFragNodeSetProxy()
- {
- }
-
- // These methods are inherited from XNodeSetBase...
-#if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
- virtual XObject*
-#else
- virtual XResultTreeFragNodeSetProxy*
-#endif
- clone(void* theAddress = 0) const
- {
- return theAddress == 0 ? new XResultTreeFragNodeSetProxy(*this)
:
- new (theAddress)
XResultTreeFragNodeSetProxy(*this);
- }
-
- virtual const NodeRefListBase&
- nodeset() const
- {
- return m_proxy;
- }
-
- virtual void
- dereferenced()
- {
- delete this;
- }
-
- virtual XalanNode*
- item(size_type index) const
- {
- return m_proxy.item(index);
- }
-
- virtual size_type
- getLength() const
- {
- return m_proxy.getLength();
- }
-
-private:
-
- const XObjectPtr
m_xobject;
-
- const XResultTreeFrag::NodeRefListBaseProxy m_proxy;
-};
-
-
-
class ResultTreeFragBaseXNodeSetBaseProxy : public XNodeSetBase
{
public:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]