simplified filter nodes even more

pull/51/head
Marc Zinnschlag 12 years ago
parent cf58670c85
commit 78c7de440d

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

@ -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.
};
}

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

@ -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.
};
}

@ -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.
///

@ -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);

@ -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.
///

Loading…
Cancel
Save