stencet  v0.1.16
Build C++ web server modules that allow easy routing and deployment.
ForTag.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 {
31  struct ForTag : public BodyTag {
32  Template body, empty;
33 
34  std::string currentName, listName;
35 
36  virtual void render(std::ostream& out, ViewContext& vm) const;
37 
38  ForTag(std::istream& stream, const std::string& content);
39  };
40 }