stencet  v0.1.16
Build C++ web server modules that allow easy routing and deployment.
default.h
1 /* Copyright (C) 2012-2013 Justin Berger
2  The full license is available in the LICENSE file at the root of this project and is also available at http://opensource.org/licenses/MIT. */
3 
4 #pragma once
5 #include <stencet/filter.h>
6 #include <string.h>
7 
8 namespace stencet {
24  struct DefaultFilter : public Filter {
25  Expr* _default = 0;
26  ~DefaultFilter();
27 
28  DefaultFilter(const Filter::Arg&);
29  virtual const ViewModel* Eval(const ViewModel* target, ViewContext& ctx);
30  };
31 }