stencet  v0.1.16
Build C++ web server modules that allow easy routing and deployment.
IfTag.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/stencet>
6 
7 namespace stencet {
22  struct IfTag : public BodyTag {
23  std::vector<std::pair< Expr*, Template* > > bodies;
24  ~IfTag();
25  virtual void render(std::ostream& out, ViewContext& vm) const;
26  IfTag(std::istream& stream, const std::string& content);
27  };
28 
29 }