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

#include <narynode.hpp>

Inheritance diagram for CSMFilter::NAryNode:
Collaboration diagram for CSMFilter::NAryNode:

Public Member Functions

 NAryNode (const std::vector< std::shared_ptr< Node > > &nodes, const std::string &name)
 
int getSize () const
 
const Nodeoperator[] (int index) const
 
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

std::vector< std::shared_ptr
< Node > > 
mNodes
 
std::string mName
 

Constructor & Destructor Documentation

CSMFilter::NAryNode::NAryNode ( const std::vector< std::shared_ptr< Node > > &  nodes,
const std::string &  name 
)

Member Function Documentation

std::vector< int > CSMFilter::NAryNode::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.

int CSMFilter::NAryNode::getSize ( ) const
const CSMFilter::Node & CSMFilter::NAryNode::operator[] ( int  index) const
std::string CSMFilter::NAryNode::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.

Here is the call graph for this function:

Member Data Documentation

std::string CSMFilter::NAryNode::mName
private
std::vector<std::shared_ptr<Node> > CSMFilter::NAryNode::mNodes
private

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