Artifact Content
Not logged in

Artifact 66f1242be8634b0708db123dd9838a470037ee5d



<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tricks.tricks</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tricks.tricks");</script>
	<table class="content">
		<tr><td id="docbody"><h1>tricks.tricks</h1><!-- Generated by Ddoc from tricks\tricks.d -->
<b>Authors:</b><br>
k.inaba
<br><br>
<b>License:</b><br>
NYSL 0.9982 http://www.kmonos.net/nysl/
<br><br>

 Common 
<span class="currsymbol">tricks</span>
<script>explorer.outline.addDecl('tricks');</script>

 and utilities for programming in D.<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string 
<span class="currsymbol">sprintf</span>
<script>explorer.outline.addDecl('sprintf');</script>

(string fmt, T...)(T <span class="funcparam">params</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Simple Wrapper for std.format.doFormat<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">ExceptionType 
<span class="currsymbol">genex</span>
<script>explorer.outline.addDecl('genex');</script>

(ExceptionType, string fn = __FILE__, int ln = __LINE__, T...)(T <span class="funcparam">params</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Create an exception with automatically completed filename and lineno information<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">SimpleConstructor</span>
<script>explorer.outline.addDecl('SimpleConstructor');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Mixing-in the bean constructor for a class<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">this(typeof(this.tupleof) params);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>member-by-member constructor<br><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">SimpleToHash</span>
<script>explorer.outline.addDecl('SimpleToHash');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Mixing-in the MOST-DERIVED-member-wise comparator for a class
 BE SURE THAT THIS IS CONSISTENT WITH opCmp and opEquals<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const hash_t 
<span class="currsymbol">toHash</span>
<script>explorer.outline.addDecl('toHash');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>member-by-member hash<br><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">SimpleCompareWithoutToHash</span>
<script>explorer.outline.addDecl('SimpleCompareWithoutToHash');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Mixing-in the MOST-DERIVED-member-wise comparator for a class<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const bool 
<span class="currsymbol">opEquals</span>
<script>explorer.outline.addDecl('opEquals');</script>

(Object <span class="funcparam">rhs</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>member-by-member equality<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const int 
<span class="currsymbol">opCmp</span>
<script>explorer.outline.addDecl('opCmp');</script>

(Object <span class="funcparam">rhs_</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>member-by-member compare<br><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">SimpleCompare</span>
<script>explorer.outline.addDecl('SimpleCompare');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Mixing-in the MOST-DERIVED-member-wise comparator for a class<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">SimpleToString</span>
<script>explorer.outline.addDecl('SimpleToString');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Mixing-in a simple toString method<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string 
<span class="currsymbol">toString</span>
<script>explorer.outline.addDecl('toString');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>member-by-member 
<span class="currsymbol">toString</span>
<script>explorer.outline.addDecl('toString');</script>

<br><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">SimpleClass</span>
<script>explorer.outline.addDecl('SimpleClass');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Everything is in<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">firstParam</span>
<script>explorer.outline.addDecl('firstParam');</script>

(T)</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Utility<br><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</td></tr>
		<tr><td id="docfooter">
			Page was generated with
			<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
			on Fri Nov 26 16:41:52 2010

		</td></tr>
	</table>
</div>
<script>
	explorer.packageExplorer.addModule("index");
	explorer.packageExplorer.addModule("main");
	explorer.packageExplorer.addModule("tricks.tricks");
	explorer.packageExplorer.addModule("tricks.test");
	explorer.packageExplorer.addModule("polemy._common");
	explorer.packageExplorer.addModule("polemy.failure");
	explorer.packageExplorer.addModule("polemy.layer");
	explorer.packageExplorer.addModule("polemy.fresh");
	explorer.packageExplorer.addModule("polemy.lex");
	explorer.packageExplorer.addModule("polemy.parse");
	explorer.packageExplorer.addModule("polemy.ast");
	explorer.packageExplorer.addModule("polemy.value");
	explorer.packageExplorer.addModule("polemy.valueconv");
	explorer.packageExplorer.addModule("polemy.eval");
	explorer.packageExplorer.addModule("polemy.runtime");
	explorer.packageExplorer.addModule("polemy.repl");</script>
</body></html>