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::UnaryNode Class Reference

#include <unarynode.hpp>

Inheritance diagram for CSMFilter::UnaryNode:
Collaboration diagram for CSMFilter::UnaryNode:

Public Member Functions

 UnaryNode (boost::shared_ptr< Node > child, const std::string &name)
 
const NodegetChild () const
 
NodegetChild ()
 
virtual std::vector< intgetReferencedColumns () const
 
virtual std::string toString (bool numericColumns) const
 
- Public Member Functions inherited from CSMFilter::Node
 Node ()
 
virtual ~Node ()
 
virtual bool test (const CSMWorld::IdTableBase &table, int row, const std::map< int, int > &columns) const =0
 

Private Attributes

boost::shared_ptr< NodemChild
 
std::string mName
 

Constructor & Destructor Documentation

CSMFilter::UnaryNode::UnaryNode ( boost::shared_ptr< Node child,
const std::string &  name 
)

Member Function Documentation

const CSMFilter::Node & CSMFilter::UnaryNode::getChild ( ) const
CSMFilter::Node & CSMFilter::UnaryNode::getChild ( )
std::vector< int > CSMFilter::UnaryNode::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.

Implements CSMFilter::Node.

std::string CSMFilter::UnaryNode::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

boost::shared_ptr<Node> CSMFilter::UnaryNode::mChild
private
std::string CSMFilter::UnaryNode::mName
private

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