[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdom/patternist/data
From: Frans Englich <englich () kde ! org>
Date: 2007-01-17 16:41:01
Message-ID: 1169052061.726424.10036.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 624664 by englich:
* Inline constructors
* Document constraints for iterate().
M +0 -4 Item.cpp
M +3 -1 Item.h
M +0 -4 Node.cpp
M +6 -1 Node.h
--- trunk/kdenonbeta/kdom/patternist/data/Item.cpp #624663:624664
@@ -27,10 +27,6 @@
using namespace Patternist;
-Item::Item()
-{
-}
-
Item::~Item()
{
}
--- trunk/kdenonbeta/kdom/patternist/data/Item.h #624663:624664
@@ -82,7 +82,9 @@
/**
* Default constructor.
*/
- Item();
+ inline Item()
+ {
+ }
/**
* An ordinary destructor.
--- trunk/kdenonbeta/kdom/patternist/data/Node.cpp #624663:624664
@@ -23,10 +23,6 @@
using namespace Patternist;
-Node::Node()
-{
-}
-
Node::~Node()
{
}
--- trunk/kdenonbeta/kdom/patternist/data/Node.h #624663:624664
@@ -199,6 +199,9 @@
* @p axis is guaranteed by the caller to never be @p Parent, because
* the @c parent axis is implemented with parent(). TODO this is not
* true.
+ *
+ * For all axes, the implementor is guaranteed to return nodes that are
+ * in document order and without duplicates.
*/
virtual Item::Iterator::Ptr iterate(const Axis axis) const = 0;
@@ -316,7 +319,9 @@
static QString axisName(const Axis axis);
protected:
- Node();
+ inline Node()
+ {
+ }
};
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic