• R/O
  • SSH
  • HTTPS

hamigaki: 提交


Commit MetaInfo

修訂1618 (tree)
時間2008-04-26 17:55:39
作者hamigaki

Log Message

supported wpath

Change Summary

差異

--- hamigaki/trunk/libs/archivers/doc/reference/tbz2_file.xml (revision 1617)
+++ hamigaki/trunk/libs/archivers/doc/reference/tbz2_file.xml (revision 1618)
@@ -4,7 +4,7 @@
44 <!--
55 Hamigaki.Archivers Library Document Source
66
7- Copyright Takeshi Mouri 2006, 2007.
7+ Copyright Takeshi Mouri 2006-2008.
88 Distributed under the Boost Software License, Version 1.0.
99 (See accompanying file LICENSE_1_0.txt or copy at
1010 http://www.boost.org/LICENSE_1_0.txt)
@@ -17,10 +17,13 @@
1717 <class name="basic_tbz2_file_source">
1818 <template>
1919 <template-type-parameter name="Source"/>
20+ <template-type-parameter name="Path">
21+ <default>boost::filesystem::path</default>
22+ </template-type-parameter>
2023 </template>
2124
2225 <inherit access="public">
23- <type><classname>basic_tar_file_source</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::bzip2_decompressor, Source&gt; &gt;</type>
26+ <type><classname>basic_tar_file_source</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::bzip2_decompressor, Source&gt;, Path&gt;</type>
2427 <purpose>Exposition only</purpose>
2528 </inherit>
2629
@@ -50,13 +53,29 @@
5053 </constructor>
5154 </class>
5255
56+ <class name="wtbz2_file_source">
57+ <inherit access="public">
58+ <type><classname>basic_tbz2_file_source</classname>&lt;<classname>hamigaki::iostreams::file_source</classname>, boost::filesystem::wpath&gt;</type>
59+ <purpose>Exposition only</purpose>
60+ </inherit>
61+
62+ <constructor specifiers="explicit">
63+ <parameter name="path">
64+ <paramtype>const std::string&amp;</paramtype>
65+ </parameter>
66+ </constructor>
67+ </class>
68+
5369 <class name="basic_tbz2_file_sink">
5470 <template>
5571 <template-type-parameter name="Sink"/>
72+ <template-type-parameter name="Path">
73+ <default>boost::filesystem::path</default>
74+ </template-type-parameter>
5675 </template>
5776
5877 <inherit access="public">
59- <type><classname>basic_tar_file_sink</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::bzip2_compressor, Sink&gt; &gt;</type>
78+ <type><classname>basic_tar_file_sink</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::bzip2_compressor, Sink&gt;, Path&gt;</type>
6079 <purpose>Exposition only</purpose>
6180 </inherit>
6281
@@ -85,6 +104,19 @@
85104 </parameter>
86105 </constructor>
87106 </class>
107+
108+ <class name="wtbz2_file_sink">
109+ <inherit access="public">
110+ <type><classname>basic_tbz2_file_sink</classname>&lt;<classname>hamigaki::iostreams::file_sink</classname>, boost::filesystem::wpath&gt;</type>
111+ <purpose>Exposition only</purpose>
112+ </inherit>
113+
114+ <constructor>
115+ <parameter name="path">
116+ <paramtype>const std::string&amp;</paramtype>
117+ </parameter>
118+ </constructor>
119+ </class>
88120 </namespace>
89121 </namespace>
90122 </header>
--- hamigaki/trunk/libs/archivers/doc/reference/tar_file.xml (revision 1617)
+++ hamigaki/trunk/libs/archivers/doc/reference/tar_file.xml (revision 1618)
@@ -4,7 +4,7 @@
44 <!--
55 Hamigaki.Archivers Library Document Source
66
7- Copyright Takeshi Mouri 2006, 2007.
7+ Copyright Takeshi Mouri 2006-2008.
88 Distributed under the Boost Software License, Version 1.0.
99 (See accompanying file LICENSE_1_0.txt or copy at
1010 http://www.boost.org/LICENSE_1_0.txt)
@@ -17,6 +17,9 @@
1717 <class name="basic_tar_file_source">
1818 <template>
1919 <template-type-parameter name="Source"/>
20+ <template-type-parameter name="Path">
21+ <default>boost::filesystem::path</default>
22+ </template-type-parameter>
2023 </template>
2124
2225 <purpose><para>tarファイルへの読み込み専用アクセスを提供するSourceモデル</para></purpose>
@@ -36,8 +39,12 @@
3639 <type><emphasis>implementation defined</emphasis></type>
3740 </typedef>
3841
42+ <typedef name="path_type">
43+ <type>Path</type>
44+ </typedef>
45+
3946 <typedef name="header_type">
40- <type><classname>tar::header</classname></type>
47+ <type><classname>tar::basic_header</classname>&lt;Path&gt;</type>
4148 </typedef>
4249
4350 <constructor specifiers="explicit">
@@ -66,7 +73,7 @@
6673 </method>
6774
6875 <method name="header" cv="const">
69- <type><classname>tar::header</classname></type>
76+ <type><classname>tar::basic_header</classname>&lt;Path&gt;</type>
7077 <returns><simpara>ヘッダ情報</simpara></returns>
7178 </method>
7279 </method-group>
@@ -85,9 +92,25 @@
8592 </constructor>
8693 </class>
8794
95+ <class name="wtar_file_source">
96+ <inherit access="public">
97+ <type><classname>basic_tar_file_source</classname>&lt;<classname>hamigaki::iostreams::file_source</classname>, boost::filesysten::wpath&gt;</type>
98+ <purpose>Exposition only</purpose>
99+ </inherit>
100+
101+ <constructor specifiers="explicit">
102+ <parameter name="path">
103+ <paramtype>const std::string&amp;</paramtype>
104+ </parameter>
105+ </constructor>
106+ </class>
107+
88108 <class name="basic_tar_file_sink">
89109 <template>
90110 <template-type-parameter name="Sink"/>
111+ <template-type-parameter name="Path">
112+ <default>boost::filesystem::path</default>
113+ </template-type-parameter>
91114 </template>
92115
93116 <purpose><para>tarファイルへの書き込み専用アクセスを提供するSinkモデル</para></purpose>
@@ -108,8 +131,12 @@
108131 <type><emphasis>implementation defined</emphasis></type>
109132 </typedef>
110133
134+ <typedef name="path_type">
135+ <type>Path</type>
136+ </typedef>
137+
111138 <typedef name="header_type">
112- <type><classname>tar::header</classname></type>
139+ <type><classname>tar::basic_header</classname>&lt;Path&gt;</type>
113140 </typedef>
114141
115142 <constructor>
@@ -138,7 +165,7 @@
138165 <method name="create_entry">
139166 <type>void</type>
140167 <parameter name="head">
141- <paramtype>const <classname>tar::header</classname>&amp;</paramtype>
168+ <paramtype>const <classname>tar::basic_header</classname>&lt;Path&gt;&amp;</paramtype>
142169 </parameter>
143170 <effects><simpara>新しいエントリを作成し、書き込みの対象とする</simpara></effects>
144171 </method>
@@ -167,6 +194,19 @@
167194 </parameter>
168195 </constructor>
169196 </class>
197+
198+ <class name="wtar_file_sink">
199+ <inherit access="public">
200+ <type><classname>basic_tar_file_sink</classname>&lt;<classname>hamigaki::iostreams::file_sink</classname>, boost::filesysten::wpath&gt;&gt;</type>
201+ <purpose>Exposition only</purpose>
202+ </inherit>
203+
204+ <constructor>
205+ <parameter name="path">
206+ <paramtype>const std::string&amp;</paramtype>
207+ </parameter>
208+ </constructor>
209+ </class>
170210 </namespace>
171211 </namespace>
172212 </header>
--- hamigaki/trunk/libs/archivers/doc/reference/tar/headers.xml (revision 1617)
+++ hamigaki/trunk/libs/archivers/doc/reference/tar/headers.xml (revision 1618)
@@ -4,7 +4,7 @@
44 <!--
55 Hamigaki.Archivers Library Document Source
66
7- Copyright Takeshi Mouri 2006, 2007.
7+ Copyright Takeshi Mouri 2006-2008.
88 Distributed under the Boost Software License, Version 1.0.
99 (See accompanying file LICENSE_1_0.txt or copy at
1010 http://www.boost.org/LICENSE_1_0.txt)
@@ -15,7 +15,19 @@
1515 <namespace name="hamigaki">
1616 <namespace name="archivers">
1717 <namespace name="tar">
18- <struct name="header">
18+ <struct name="basic_header">
19+ <template>
20+ <template-type-parameter name="Path"/>
21+ </template>
22+
23+ <typedef name="path_type">
24+ <type>Path</type>
25+ </typedef>
26+
27+ <typedef name="string_type">
28+ <type>typename Path::string_type</type>
29+ </typedef>
30+
1931 <method-group name="queries">
2032 <method name="is_regular" cv="const">
2133 <type>bool</type>
@@ -44,7 +56,7 @@
4456 </method-group>
4557
4658 <data-member name="path">
47- <type>boost::filesystem::path</type>
59+ <type>Path</type>
4860 </data-member>
4961
5062 <data-member name="permissions">
@@ -80,7 +92,7 @@
8092 </data-member>
8193
8294 <data-member name="link_path">
83- <type>boost::filesystem::path</type>
95+ <type>Path</type>
8496 </data-member>
8597
8698 <data-member name="format">
@@ -88,11 +100,11 @@
88100 </data-member>
89101
90102 <data-member name="user_name">
91- <type>std::string</type>
103+ <type>string_type</type>
92104 </data-member>
93105
94106 <data-member name="group_name">
95- <type>std::string</type>
107+ <type>string_type</type>
96108 </data-member>
97109
98110 <data-member name="dev_major">
@@ -104,7 +116,7 @@
104116 </data-member>
105117
106118 <data-member name="comment">
107- <type>std::string</type>
119+ <type>string_type</type>
108120 </data-member>
109121
110122 <description>
@@ -205,6 +217,15 @@
205217 </para>
206218 </description>
207219 </struct>
220+
221+ <typedef name="header">
222+ <type><classname>basic_header</classname>&lt;boost::filesystem::path&gt;</type>
223+ </typedef>
224+
225+ <typedef name="wheader">
226+ <type><classname>basic_header</classname>&lt;boost::filesystem::wpath&gt;</type>
227+ </typedef>
228+
208229 </namespace>
209230 </namespace>
210231 </namespace>
--- hamigaki/trunk/libs/archivers/doc/reference/zip/headers.xml (revision 1617)
+++ hamigaki/trunk/libs/archivers/doc/reference/zip/headers.xml (revision 1618)
@@ -40,6 +40,14 @@
4040 <template-type-parameter name="Path"/>
4141 </template>
4242
43+ <typedef name="path_type">
44+ <type>Path</type>
45+ </typedef>
46+
47+ <typedef name="string_type">
48+ <type>typename Path::string_type</type>
49+ </typedef>
50+
4351 <method-group name="queries">
4452 <method name="is_regular" cv="const">
4553 <type>bool</type>
@@ -68,11 +76,11 @@
6876 </method-group>
6977
7078 <data-member name="path">
71- <type>boost::filesystem::path</type>
79+ <type>Path</type>
7280 </data-member>
7381
7482 <data-member name="link_path">
75- <type>boost::filesystem::path</type>
83+ <type>Path</type>
7684 </data-member>
7785
7886 <data-member name="os">
@@ -124,7 +132,7 @@
124132 </data-member>
125133
126134 <data-member name="comment">
127- <type>std::string</type>
135+ <type>string_type</type>
128136 </data-member>
129137
130138 <data-member name="modified_time">
--- hamigaki/trunk/libs/archivers/doc/reference/tgz_file.xml (revision 1617)
+++ hamigaki/trunk/libs/archivers/doc/reference/tgz_file.xml (revision 1618)
@@ -4,7 +4,7 @@
44 <!--
55 Hamigaki.Archivers Library Document Source
66
7- Copyright Takeshi Mouri 2006, 2007.
7+ Copyright Takeshi Mouri 2006-2008.
88 Distributed under the Boost Software License, Version 1.0.
99 (See accompanying file LICENSE_1_0.txt or copy at
1010 http://www.boost.org/LICENSE_1_0.txt)
@@ -17,10 +17,13 @@
1717 <class name="basic_tgz_file_source">
1818 <template>
1919 <template-type-parameter name="Source"/>
20+ <template-type-parameter name="Path">
21+ <default>boost::filesystem::path</default>
22+ </template-type-parameter>
2023 </template>
2124
2225 <inherit access="public">
23- <type><classname>basic_tar_file_source</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::gzip_decompressor, Source&gt; &gt;</type>
26+ <type><classname>basic_tar_file_source</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::gzip_decompressor, Source&gt;, Path&gt;</type>
2427 <purpose>Exposition only</purpose>
2528 </inherit>
2629
@@ -50,13 +53,29 @@
5053 </constructor>
5154 </class>
5255
56+ <class name="wtgz_file_source">
57+ <inherit access="public">
58+ <type><classname>basic_tgz_file_source</classname>&lt;<classname>hamigaki::iostreams::file_source</classname>, boost::filesystem::wpath&gt;</type>
59+ <purpose>Exposition only</purpose>
60+ </inherit>
61+
62+ <constructor specifiers="explicit">
63+ <parameter name="path">
64+ <paramtype>const std::string&amp;</paramtype>
65+ </parameter>
66+ </constructor>
67+ </class>
68+
5369 <class name="basic_tgz_file_sink">
5470 <template>
5571 <template-type-parameter name="Sink"/>
72+ <template-type-parameter name="Path">
73+ <default>boost::filesystem::path</default>
74+ </template-type-parameter>
5675 </template>
5776
5877 <inherit access="public">
59- <type><classname>basic_tar_file_sink</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::gzip_compressor, Sink&gt; &gt;</type>
78+ <type><classname>basic_tar_file_sink</classname>&lt;boost::iostreams::composite&lt;boost::iostreams::gzip_compressor, Sink&gt;, Path&gt;</type>
6079 <purpose>Exposition only</purpose>
6180 </inherit>
6281
@@ -85,6 +104,19 @@
85104 </parameter>
86105 </constructor>
87106 </class>
107+
108+ <class name="wtgz_file_sink">
109+ <inherit access="public">
110+ <type><classname>basic_tgz_file_sink</classname>&lt;<classname>hamigaki::iostreams::file_sink</classname>, boost::filesystem::wpath&gt;</type>
111+ <purpose>Exposition only</purpose>
112+ </inherit>
113+
114+ <constructor>
115+ <parameter name="path">
116+ <paramtype>const std::string&amp;</paramtype>
117+ </parameter>
118+ </constructor>
119+ </class>
88120 </namespace>
89121 </namespace>
90122 </header>
Show on old repository browser