stencet
v0.1.16
Build C++ web server modules that allow easy routing and deployment.
Main Page
Related Pages
Classes
Files
File List
tag.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/template.h>
6
#include <stencet/region.h>
7
#include <stencet/factory.h>
8
namespace
stencet {
9
struct
ParseError
:
public
std::runtime_error {
10
ParseError
(
const
std::string& what) : std::runtime_error(what) {}
11
};
12
13
struct
BadlyFormedTagError
:
public
ParseError
{
14
BadlyFormedTagError
(
const
std::string& what) :
ParseError
(what) {}
15
};
16
17
struct
Tag
:
public
Region
{
18
19
};
20
21
struct
BodyTag
:
public
Tag
{
22
Template
body;
23
};
24
25
typedef
Factory<Tag, std::istream, std::string>
TagFactory
;
26
}
rikitiki
third
stencet
include
stencet
tag.h
Generated on Mon Apr 1 2013 17:50:01 for stencet by
1.8.3.1