From f1d5d670583b01985e97f25140105b821bc9e20e Mon Sep 17 00:00:00 2001 From: Myun2 Date: Mon, 28 May 2012 03:48:44 +0900 Subject: [PATCH] =?utf8?q?uri::scheme=20=E3=81=8C=E5=AE=9F=E7=8F=BE?= =?utf8?q?=E3=81=95=E3=82=8C=E3=81=9F=EF=BD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- roast/include/roast/net/uri.hpp | 2 ++ roast/include/roast/net/uri_schemes.hpp | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/roast/include/roast/net/uri.hpp b/roast/include/roast/net/uri.hpp index a8b75c0e..c9f197c5 100644 --- a/roast/include/roast/net/uri.hpp +++ b/roast/include/roast/net/uri.hpp @@ -34,6 +34,8 @@ namespace roast delay_ref<_Body> body; //_Scheme scheme; //_Body body; + + class schemes; public: uri_(){ diff --git a/roast/include/roast/net/uri_schemes.hpp b/roast/include/roast/net/uri_schemes.hpp index 2d0aad77..7dcbc40e 100644 --- a/roast/include/roast/net/uri_schemes.hpp +++ b/roast/include/roast/net/uri_schemes.hpp @@ -11,8 +11,12 @@ namespace roast { /*namespace uri {*/ - namespace uri_schemes + //template class uri_ : public uri_rule<_Scheme, _Body> + + template + class uri_<_Scheme, _Body>::schemes { + public: // URI // Permanent URI Schemes ROAST_LEXICAL_FIXSTR2(aaas) // Diameter Protocol with Secure Transport [RFC3588] @@ -122,7 +126,7 @@ namespace roast ROAST_LEXICAL_FIXSTR2(publicid) ROAST_LEXICAL_FIXSTR2(isbn) // } - } + }; } #endif//__SFJP_ROAST__net__uri_schemes_HPP__ -- 2.11.0