|
OpenMW
|
Root class for the filter node hierarchy. More...
#include <node.hpp>
Public Member Functions | |
| Node () | |
| virtual | ~Node () |
| virtual bool | test (const CSMWorld::IdTable &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.
| CSMFilter::Node::Node | ( | const Node & | ) | [private] |
| CSMFilter::Node::~Node | ( | ) | [virtual] |
| virtual std::vector<int> CSMFilter::Node::getReferencedColumns | ( | ) | const [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.
| virtual bool CSMFilter::Node::test | ( | const CSMWorld::IdTable & | table, |
| int | row, | ||
| const std::map< int, int > & | columns | ||
| ) | const [pure virtual] |
| columns | column ID to column index mapping |
Implemented in CSMFilter::ValueNode, CSMFilter::TextNode, CSMFilter::BooleanNode, CSMFilter::AndNode, CSMFilter::NotNode, and CSMFilter::OrNode.
| virtual std::string CSMFilter::Node::toString | ( | bool | numericColumns | ) | const [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.
1.7.6.1