Author: zengkun100 Date: Wed Mar 11 01:32:12 2009 New Revision: 217 Modified: trunk/libs/flyweight/doc/index.html Log: Modified: trunk/libs/flyweight/doc/index.html ============================================================================== --- trunk/libs/flyweight/doc/index.html (original) +++ trunk/libs/flyweight/doc/index.html Wed Mar 11 01:32:12 2009 @@ -1,23 +1,66 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN"> - <html> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>Boost.Flyweight Documentation - Index</title> -<link rel="stylesheet" href="style.css" type="text/css"> -<link rel="start" href="index.html"> -<link rel="next" href="tutorial/index.html"> + + + + + + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + + + + + + + + + <title>Boost.Flyweight Documentation - Index</title> + <link rel="stylesheet" href="style.css" type="text/css"> + + + + + + <link rel="start" href="index.html"> + + + + + + <link rel="next" href="tutorial/index.html"> </head> + <body> -<h1><img src="../../../boost.png" alt="Boost logo" align= -"middle" width="277" height="86">Boost Flyweight Library</h1> + + ++<h1><img src="../../../boost.png" alt="Boost logo" align="middle" height="86" width="277">Boost Flyweight Library</h1>
+ + + <div class="prev_link"></div> + + + <div class="up_link"></div> + + +<div class="next_link"><a href="tutorial/index.html"><img src="next.gif" alt="tutorial" border="0"><br>
+ + + Tutorial -</a></div><br clear="all" style="clear: all;"> +</a></div> + + +<br style="" clear="all"> + + + <hr> @@ -27,56 +70,148 @@ within reasonable memory limits. Boost.Flyweight makes it easy to use this common programming idiom by providing the class template <code>flyweight<T></code>, which acts as a drop-in replacement for -<code>const T</code>. +<code>const T</code>.</p> + ++<p>Flyweights是一些小型的句柄类授权对公共共享数据的常量访问,于是可以在有限 的内存里管理大量的实体。 +Boost.Flyweight提供的类模板flyweight<T>让这种常见的编程范式易于使 用,这个类模板起着const
+T非正式替代品的作用。 </p> + + + <p> Learning to use Boost.Flyweight can be accomplished in a matter of minutes. When special needs arise, however, an extensive customization interface-is provided which allows the user to control and extend the following aspects: +is provided which allows the user to control and extend the following aspects:</p>
+ ++<p>学习使用Boost.Flyweight只需要花几分钟的时间。然而,当出现特殊的需求 时,有一个可以广泛定制的接口允许用户对以下几个方面进行控制和扩展:
+</p> + + <ul> + + + <li>Type tagging for separation of domains using the same basic - flyweight types.</li>+ flyweight types. 采用类标注来区分使用了相同flyweight类型的域。 </li>
+ + + <li>Specification and parameterization of the so-called flyweight - factory.</li> - <li>Control of the factory instantiation procedure.</li> - <li>Specification of the internal synchronization mechanisms.</li> + factory. 所谓的flyweight工厂的专门化和参数化</li> + + ++ <li>Control of the factory instantiation procedure. 控制工厂实例化 的过程</li>
+ + ++ <li>Specification of the internal synchronization mechanisms. 内部 同步机制的专门化</li>
+ + + <li>Flyweight tracking, allowing for the disposal of stored - values when no longer referenced by any flyweight object.</li>+ values when no longer referenced by any flyweight object. Flyweight跟踪,当存储的值不再被任何flyweight对象引用的时候释放它们。 </li>
+ + + </ul> -</p> -<h2>Contents</h2> + + + + +<h2>Contents 目录</h2> + + + <ul> - <li><a href="tutorial/index.html">Tutorial</a></li> - <li><a href="reference/index.html">Reference</a></li> - <li><a href="performance.html">Performance</a></li> - <li><a href="examples.html">Examples</a></li> - <li><a href="tests.html">Tests</a></li> - <li><a href="future_work.html">Future work</a></li> - <li><a href="release_notes.html">Release notes</a></li> - <li><a href="acknowledgements.html">Acknowledgements</a></li> + + + + <li><a href="tutorial/index.html">Tutorial 指南</a></li> + + + + <li><a href="reference/index.html">Reference 参考</a></li> + + + + <li><a href="performance.html">Performance 性能</a></li> + + + + <li><a href="examples.html">Examples 示例</a></li> + + + + <li><a href="tests.html">Tests 测试</a></li> + + + + <li><a href="future_work.html">Future work 未来的工作</a></li> + + + + <li><a href="release_notes.html">Release notes 发布说明</a></li> + + + + <li><a href="acknowledgements.html">Acknowledgements 致谢</a></li> + + + </ul> + + + <hr> <div class="prev_link"></div> + + + <div class="up_link"></div> + + +<div class="next_link"><a href="tutorial/index.html"><img src="next.gif" alt="tutorial" border="0"><br>
+ + + Tutorial -</a></div><br clear="all" style="clear: all;"> +</a></div> + + +<br style="" clear="all"> + + + <br> + + + <p>Revised September 3rd 2008</p> + + + <p>© Copyright 2006-2008 Joaquín M López Muñoz. Distributed under the Boost SoftwareLicense, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt"> LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt";>
http://www.boost.org/LICENSE_1_0.txt</a>) </p> + + + </body> </html>