]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin |
2 | ||
3 | Distributed under the Boost Software License, Version 1.0. | |
4 | (See accompanying file LICENSE_1_0.txt or copy at | |
5 | http://www.boost.org/LICENSE_1_0.txt) | |
6 | --> | |
7 | ||
8 | <!-- | |
9 | Copyright 2005-2007 Adobe Systems Incorporated | |
10 | Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt | |
11 | or a copy at http://stlab.adobe.com/licenses.html) | |
12 | ||
13 | Some files are held under additional license. | |
14 | Please see "http://stlab.adobe.com/licenses.html" for more information. | |
15 | --> | |
16 | ||
17 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
18 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
19 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
20 | ||
21 | <head> | |
22 | <TITLE>Generic Image Library: Variant</TITLE> | |
23 | <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/> | |
24 | <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/> | |
25 | </head> | |
26 | <body> | |
27 | <table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr> | |
28 | <td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'> | |
29 | <div class="qindex"><a class="qindex" href="index.html">Modules</a> | |
30 | | <a class="qindex" href="classes.html">Alphabetical List</a> | |
31 | | <a class="qindex" href="annotated.html">Class List</a> | |
32 | | <a class="qindex" href="dirs.html">Directories</a> | |
33 | | <a class="qindex" href="files.html">File List</a> | |
34 | | <a class="qindex" href="../index.html">GIL Home Page</a> | |
35 | </div> | |
36 | <!-- End Header --> | |
37 | <!-- Generated by Doxygen 1.5.6 --> | |
38 | <div class="contents"> | |
39 | <h1>Variant</h1><hr><a name="_details"></a><h2>Detailed Description</h2> | |
40 | A holder of a runtime instantiated type. Used to provide runtime-specified images and views. | |
41 | <p> | |
42 | ||
43 | <p> | |
44 | <table border="0" cellpadding="0" cellspacing="0"> | |
45 | <tr><td></td></tr> | |
46 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> | |
47 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0062.html">variant</a></td></tr> | |
48 | ||
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Represents a concrete instance of a run-time specified type from a set of types<p> | |
50 | A concept is typically modeled by a collection of different types. They may be instantiations of a templated type with different template parameters or even completely unrelated types. <a href="g_i_l_0062.html#_details">More...</a><br></td></tr> | |
51 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> | |
52 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g3c8fd0f3dc2495060bf062428dccc505"></a><!-- doxytag: member="Variant::apply_operation" ref="g3c8fd0f3dc2495060bf062428dccc505" args="(variant< Types > &arg, UnaryOp op)" --> | |
53 | template<typename Types, typename UnaryOp> </td></tr> | |
54 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">GIL_FORCEINLINE <br> | |
55 | UnaryOp::result_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group___variant.html#g3c8fd0f3dc2495060bf062428dccc505">apply_operation</a> (variant< Types > &arg, UnaryOp op)</td></tr> | |
56 | ||
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Invokes a generic mutable operation (represented as a unary function object) on a <a class="el" href="g_i_l_0062.html" title="Represents a concrete instance of a run-time specified type from a set of typesA...">variant</a>. <br></td></tr> | |
58 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g65c13b01bb2b7725fe96e56bcc2659b6"></a><!-- doxytag: member="Variant::apply_operation" ref="g65c13b01bb2b7725fe96e56bcc2659b6" args="(const variant< Types > &arg, UnaryOp op)" --> | |
59 | template<typename Types, typename UnaryOp> </td></tr> | |
60 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">GIL_FORCEINLINE <br> | |
61 | UnaryOp::result_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group___variant.html#g65c13b01bb2b7725fe96e56bcc2659b6">apply_operation</a> (const variant< Types > &arg, UnaryOp op)</td></tr> | |
62 | ||
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Invokes a generic constant operation (represented as a unary function object) on a <a class="el" href="g_i_l_0062.html" title="Represents a concrete instance of a run-time specified type from a set of typesA...">variant</a>. <br></td></tr> | |
64 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g3dc0a90911c08815be11e1e49ec06037"></a><!-- doxytag: member="Variant::apply_operation" ref="g3dc0a90911c08815be11e1e49ec06037" args="(const variant< Types1 > &arg1, const variant< Types2 > &arg2, BinaryOp op)" --> | |
65 | template<typename Types1, typename Types2, typename BinaryOp> </td></tr> | |
66 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">GIL_FORCEINLINE <br> | |
67 | BinaryOp::result_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group___variant.html#g3dc0a90911c08815be11e1e49ec06037">apply_operation</a> (const variant< Types1 > &arg1, const variant< Types2 > &arg2, BinaryOp op)</td></tr> | |
68 | ||
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Invokes a generic constant operation (represented as a binary function object) on two variants. <br></td></tr> | |
70 | </table> | |
71 | </div> | |
72 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:16 2009 for Generic Image Library by | |
73 | <a href="http://www.doxygen.org/index.html"> | |
74 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> | |
75 | </body> | |
76 | </html> |