forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
898 B
C++
33 lines
898 B
C++
#ifndef CSM_FILTER_UNARYNODE_H
|
|
#define CSM_FILTER_UNARYNODE_H
|
|
|
|
#include "node.hpp"
|
|
|
|
namespace CSMFilter
|
|
{
|
|
class UnaryNode : public Node
|
|
{
|
|
std::shared_ptr<Node> mChild;
|
|
std::string mName;
|
|
|
|
public:
|
|
|
|
UnaryNode (std::shared_ptr<Node> child, const std::string& name);
|
|
|
|
const Node& getChild() const;
|
|
|
|
Node& getChild();
|
|
|
|
virtual std::vector<int> getReferencedColumns() const;
|
|
///< 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.
|
|
|
|
virtual std::string toString (bool numericColumns) const;
|
|
///< Return a string that represents this node.
|
|
///
|
|
/// \param numericColumns Use numeric IDs instead of string to represent columns.
|
|
};
|
|
}
|
|
|
|
#endif
|