OSDN Git Service

web/html_tags.hpp: br, blockquote, frameset 追加
authorMyun2 <myun2@nwhite.info>
Tue, 4 Jan 2011 11:11:48 +0000 (20:11 +0900)
committerMyun2 <myun2@nwhite.info>
Tue, 4 Jan 2011 11:11:48 +0000 (20:11 +0900)
roast/include/roast/web/html_tags.hpp

index 585ea47..6a76ba1 100644 (file)
@@ -112,6 +112,7 @@ namespace roast
                        
                        /////////////////////////////////////////////////////////////////////
 
+                       //      a
                        template <typename _Attrs=no_attrs, typename _Inners=no_inner>
                        struct a_ : public _tagbase<_tagname_str::a, _Attrs, _Inners>
                        {
@@ -122,20 +123,35 @@ namespace roast
                        };
                        typedef a_<> a;
 
-
+                       //      b
                        template <typename _Attrs=no_attrs, typename _Inners=no_inner>
                        struct b_ : public _tagbase<_tagname_str::b, _Attrs, _Inners>
                        {
                        };
                        typedef b_<> b;
 
-
+                       //      body
                        template <typename _Attrs=no_attrs, typename _Inners=no_inner>
                        struct body_ : public _tagbase<_tagname_str::body, _Attrs, _Inners>
                        {
                        };
                        typedef body_<> body;
 
+                       //      br
+                       template <typename _Attrs=no_attrs, typename _Inners=no_inner>
+                       struct br_ : public _tagbase<_tagname_str::br, _Attrs, _Inners>
+                       {
+                       };
+                       typedef br_<> br;
+
+                       //      blockquote
+                       template <typename _Attrs=no_attrs, typename _Inners=no_inner>
+                       struct blockquote_ : public _tagbase<_tagname_str::blockquote, _Attrs, _Inners>
+                       {
+                       };
+                       typedef blockquote_<> blockquote;
+
+                       /////////////////////////////////////////////
 
                        template <typename _Attrs=no_attrs, typename _Inners=no_inner>
                        struct head_ : public _tagbase<_tagname_str::head, _Attrs, _Inners>
@@ -151,6 +167,13 @@ namespace roast
                        typedef html_<> html;
 
 
+                       template <typename _Attrs=no_attrs, typename _Inners=no_inner>
+                       struct frameset_ : public _tagbase<_tagname_str::frameset, _Attrs, _Inners>
+                       {
+                       };
+                       typedef frameset_<> frameset;
+
+
                        template <typename _Attrs=no_attrs/*, typename _Inners*/>
                        struct img_ : public _tagbase<_tagname_str::img, _Attrs>
                        {