OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
CSMFilter::BooleanNode Class Reference

#include <booleannode.hpp>

Inheritance diagram for CSMFilter::BooleanNode:
Collaboration diagram for CSMFilter::BooleanNode:

Public Member Functions

 BooleanNode (bool true_)
 
virtual bool test (const CSMWorld::IdTableBase &table, int row, const std::map< int, int > &columns) const
 
virtual std::string toString (bool numericColumns) const
 
- Public Member Functions inherited from CSMFilter::LeafNode
virtual std::vector< intgetReferencedColumns () const
 
- Public Member Functions inherited from CSMFilter::Node
 Node ()
 
virtual ~Node ()
 

Private Attributes

bool mTrue
 

Constructor & Destructor Documentation

CSMFilter::BooleanNode::BooleanNode ( bool  true_)

Member Function Documentation

bool CSMFilter::BooleanNode::test ( const CSMWorld::IdTableBase table,
int  row,
const std::map< int, int > &  columns 
) const
virtual
Returns
Can the specified table row pass through to filter?
Parameters
columnscolumn ID to column index mapping

Implements CSMFilter::Node.

std::string CSMFilter::BooleanNode::toString ( bool  numericColumns) const
virtual

Return a string that represents this node.

Parameters
numericColumnsUse numeric IDs instead of string to represent columns.

Implements CSMFilter::Node.

Member Data Documentation

bool CSMFilter::BooleanNode::mTrue
private

The documentation for this class was generated from the following files: