alaCarte Maps
Renderer for OpenStreetMap tiles
stnode.hpp
Go to the documentation of this file.
1 
21 #pragma once
22 #ifndef _STNODE_HPP
23 #define _STNODE_HPP
24 
25 
26 #include "settings.hpp"
27 
28 class GeoObject;
29 
30 namespace eval {
31 
32 
37 class STNode
38 {
39 public:
41  typedef shared_ptr<STNode> node_ptr;
42 
48  inline virtual string eval(GeoObject* obj) const
49  {
50  return "";
51  }
52 };
53 
54 
55 
56 
57 
58 
59 
60 
61 }
62 
63 #endif
This file is part of alaCarte.
The interface for nodes in the syntax tree.
Definition: stnode.hpp:37
shared_ptr< STNode > node_ptr
Shared ptr to this node.
Definition: stnode.hpp:41
virtual string eval(GeoObject *obj) const
Evaluates a subtree under this node.
Definition: stnode.hpp:48