OpenMW
|
Root class for the filter node hierarchy. More...
#include <node.hpp>
Public Member Functions | |
Node () | |
virtual | ~Node () |
virtual bool | test (const CSMWorld::IdTableBase &table, int row, const std::map< int, int > &columns) const =0 |
virtual std::vector< int > | getReferencedColumns () const =0 |
virtual std::string | toString (bool numericColumns) const =0 |
Private Member Functions | |
Node (const Node &) | |
Node & | operator= (const Node &) |
Root class for the filter node hierarchy.
|
private |
CSMFilter::Node::Node | ( | ) |
|
virtual |
|
pure virtual |
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.
Implemented in CSMFilter::ValueNode, CSMFilter::NAryNode, CSMFilter::UnaryNode, CSMFilter::TextNode, and CSMFilter::LeafNode.
|
pure virtual |
columns | column ID to column index mapping |
Implemented in CSMFilter::ValueNode, CSMFilter::TextNode, CSMFilter::BooleanNode, CSMFilter::AndNode, CSMFilter::NotNode, and CSMFilter::OrNode.
|
pure virtual |
Return a string that represents this node.
numericColumns | Use numeric IDs instead of string to represent columns. |
Implemented in CSMFilter::ValueNode, CSMFilter::NAryNode, CSMFilter::UnaryNode, CSMFilter::TextNode, and CSMFilter::BooleanNode.