|
OpenMW
|
#include <valuenode.hpp>
Public Types | |
| enum | Type { Type_Closed, Type_Open, Type_Infinite } |
Public Member Functions | |
| ValueNode (int columnId, Type lowerType, Type upperType, double lower, double upper) | |
| virtual bool | test (const CSMWorld::IdTable &table, int row, const std::map< int, int > &columns) const |
| virtual std::vector< int > | getReferencedColumns () const |
| virtual std::string | toString (bool numericColumns) const |
Private Attributes | |
| int | mColumnId |
| std::string | mText |
| double | mLower |
| double | mUpper |
| Type | mLowerType |
| Type | mUpperType |
| CSMFilter::ValueNode::ValueNode | ( | int | columnId, |
| Type | lowerType, | ||
| Type | upperType, | ||
| double | lower, | ||
| double | upper | ||
| ) |
| std::vector< int > CSMFilter::ValueNode::getReferencedColumns | ( | ) | const [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.
Reimplemented from CSMFilter::LeafNode.
| bool CSMFilter::ValueNode::test | ( | const CSMWorld::IdTable & | table, |
| int | row, | ||
| const std::map< int, int > & | columns | ||
| ) | const [virtual] |
| columns | column ID to column index mapping |
Implements CSMFilter::Node.
| std::string CSMFilter::ValueNode::toString | ( | bool | numericColumns | ) | const [virtual] |
Return a string that represents this node.
| numericColumns | Use numeric IDs instead of string to represent columns. |
Implements CSMFilter::Node.
int CSMFilter::ValueNode::mColumnId [private] |
double CSMFilter::ValueNode::mLower [private] |
Type CSMFilter::ValueNode::mLowerType [private] |
std::string CSMFilter::ValueNode::mText [private] |
double CSMFilter::ValueNode::mUpper [private] |
Type CSMFilter::ValueNode::mUpperType [private] |
1.7.6.1