dbertoni    01/11/30 13:54:21

  Modified:    c/src/XPath MutableNodeRefList.hpp
  Log:
  Added a few accessors for ordering information.
  
  Revision  Changes    Path
  1.16      +27 -0     xml-xalan/c/src/XPath/MutableNodeRefList.hpp
  
  Index: MutableNodeRefList.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/MutableNodeRefList.hpp,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- MutableNodeRefList.hpp    2001/09/26 20:58:46     1.15
  +++ MutableNodeRefList.hpp    2001/11/30 21:54:21     1.16
  @@ -265,6 +265,24 @@
        }
   
        /**
  +      * See if the order of the nodes is an unknown order.
  +      */
  +     bool
  +     getUnknownOrder() const
  +     {
  +             return m_order == eUnknownOrder ? true : false;
  +     }
  +
  +     /**
  +      * See if the order of the nodes is document order.
  +      */
  +     bool
  +     getDocumentOrder() const
  +     {
  +             return m_order == eDocumentOrder ? true : false;
  +     }
  +
  +     /**
         * Set the known order of the nodes.  This should
         * only be done when the order is known. Otherwise,
         * disaster will ensue.
  @@ -273,6 +291,15 @@
        setDocumentOrder()
        {
                m_order = eDocumentOrder;
  +     }
  +
  +     /**
  +      * See if the order of the nodes is reverse document order.
  +      */
  +     bool
  +     getReverseDocumentOrder() const
  +     {
  +             return m_order == eReverseDocumentOrder ? true : false;
        }
   
        /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to