alaCarte Maps
Renderer for OpenStreetMap tiles
eval::STNode Class Reference

The interface for nodes in the syntax tree. More...

#include <stnode.hpp>

Inheritance diagram for eval::STNode:
eval::BinaryOperationNode eval::FunctionOperationNode eval::STLeaf eval::UnaryOperationNode

Public Types

typedef shared_ptr< STNodenode_ptr
 Shared ptr to this node. More...

Public Member Functions

virtual string eval (GeoObject *obj) const
 Evaluates a subtree under this node. More...

Detailed Description

The interface for nodes in the syntax tree.

Definition at line 37 of file stnode.hpp.

Member Typedef Documentation

typedef shared_ptr<STNode> eval::STNode::node_ptr

Shared ptr to this node.

Definition at line 41 of file stnode.hpp.

Member Function Documentation

virtual string eval::STNode::eval ( GeoObject obj) const

Evaluates a subtree under this node.

objwhich is used to execute the eval tree

Reimplemented in eval::BinaryOperationNode, eval::FunctionOperationNode, eval::UnaryOperationNode, and eval::STLeaf.

Definition at line 48 of file stnode.hpp.

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