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