1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00

simplified filter nodes even more

This commit is contained in:
Marc Zinnschlag 2013-08-24 14:49:05 +02:00
parent cf58670c85
commit 78c7de440d
7 changed files with 0 additions and 26 deletions

View File

@ -6,7 +6,3 @@ std::vector<int> CSMFilter::LeafNode::getReferencedColumns() const
return std::vector<int>();
}
bool CSMFilter::LeafNode::isSimple() const
{
return true;
}

View File

@ -14,9 +14,6 @@ namespace CSMFilter
virtual std::vector<int> getReferencedColumns() const;
///< Return a list of the IDs of the columns referenced by this node. The column mapping
/// passed into test as columns must contain all columns listed here.
virtual bool isSimple() const;
///< \return Can this filter be displayed in simple mode.
};
}

View File

@ -57,8 +57,4 @@ std::string CSMFilter::NAryNode::toString (bool numericColumns) const
return stream.str();
}
bool CSMFilter::NAryNode::isSimple() const
{
return false;
}

View File

@ -31,10 +31,6 @@ namespace CSMFilter
///< Return a string that represents this node.
///
/// \param numericColumns Use numeric IDs instead of string to represent columns.
virtual bool isSimple() const;
///< \return Can this filter be displayed in simple mode.
};
}

View File

@ -41,9 +41,6 @@ namespace CSMFilter
///< Return a list of the IDs of the columns referenced by this node. The column mapping
/// passed into test as columns must contain all columns listed here.
virtual bool isSimple() const = 0;
///< \return Can this filter be displayed in simple mode.
virtual std::string toString (bool numericColumns) const = 0;
///< Return a string that represents this node.
///

View File

@ -20,11 +20,6 @@ std::vector<int> CSMFilter::UnaryNode::getReferencedColumns() const
return mChild->getReferencedColumns();
}
bool CSMFilter::UnaryNode::isSimple() const
{
return false;
}
std::string CSMFilter::UnaryNode::toString (bool numericColumns) const
{
return mName + " " + mChild->toString (numericColumns);

View File

@ -24,9 +24,6 @@ namespace CSMFilter
///< Return a list of the IDs of the columns referenced by this node. The column mapping
/// passed into test as columns must contain all columns listed here.
virtual bool isSimple() const;
///< \return Can this filter be displayed in simple mode.
virtual std::string toString (bool numericColumns) const;
///< Return a string that represents this node.
///