![]() |
alaCarte Maps
Renderer for OpenStreetMap tiles
|
Represents a leaf in the eval syntax tree. More...
#include <stleaf.hpp>
Public Member Functions | |
| STLeaf (const string &value) | |
| Creates a leaf with a given string value. More... | |
| virtual string | eval (GeoObject *obj) const |
| Evaluates a subtree under this node. More... | |
Private Attributes | |
| const string | value |
| The value given back. More... | |
Additional Inherited Members | |
Public Types inherited from eval::STNode | |
| typedef shared_ptr< STNode > | node_ptr |
| Shared ptr to this node. More... | |
Represents a leaf in the eval syntax tree.
Every leaf contains a simple string, which will be used in other nodes.
Definition at line 39 of file stleaf.hpp.
| eval::STLeaf::STLeaf | ( | const string & | value | ) |
Creates a leaf with a given string value.
| value | The value given back by eval |
Definition at line 34 of file stleaf.cpp.
Evaluates a subtree under this node.
| obj | which is used to execute the eval tree |
Reimplemented from eval::STNode.
Definition at line 41 of file stleaf.cpp.
|
private |
The value given back.
Definition at line 49 of file stleaf.hpp.