You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/02/27 00:47:12 UTC

cvs commit: xml-xalan/c/src/PlatformSupport XalanReferenceCountedObject.hpp

dbertoni    01/02/26 15:47:12

  Modified:    c/src/PlatformSupport XalanReferenceCountedObject.hpp
  Log:
  Added accessor for reference count.
  
  Revision  Changes    Path
  1.3       +6 -0      xml-xalan/c/src/PlatformSupport/XalanReferenceCountedObject.hpp
  
  Index: XalanReferenceCountedObject.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanReferenceCountedObject.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanReferenceCountedObject.hpp	2000/12/16 02:16:45	1.2
  +++ XalanReferenceCountedObject.hpp	2001/02/26 23:47:12	1.3
  @@ -100,6 +100,12 @@
   	virtual void 
   	dereferenced() = 0;
   
  +	virtual unsigned int
  +	getReferenceCount() const
  +	{
  +		return m_referenceCount;
  +	}
  +
   private:
   
   	unsigned int	m_referenceCount;