1 <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin
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)
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)
13 Some files are held under additional license.
14 Please see "http://stlab.adobe.com/licenses.html" for more information.
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">
22 <TITLE>Generic Image Library: variant.hpp File Reference
</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"/>
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>
37 <!-- Generated by Doxygen 1.5.6 -->
38 <div class=
"navpath"><a class=
"el" href=
"g_i_l_0076.html">boost
</a> »
<a class=
"el" href=
"g_i_l_0079.html">gil
</a> »
<a class=
"el" href=
"g_i_l_0078.html">extension
</a> »
<a class=
"el" href=
"g_i_l_0075.html">dynamic_image
</a>
40 <div class=
"contents">
41 <h1>variant.hpp File Reference
</h1><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
42 Support for run-time instantiated types.
44 <dl class=
"author" compact
><dt><b>Author:
</b></dt><dd>Lubomir Bourdev and Hailin Jin
<br>
45 Adobe Systems Incorporated
</dd></dl>
46 <dl class=
"date" compact
><dt><b>Date:
</b></dt><dd>2005-
2007 <br>
47 Last updated on September
18,
2007 </dd></dl>
50 <code>#include
"<a class=
"el" href=
"g_i_l_0093.html">../../gil_config.hpp
</a>"</code><br>
51 <code>#include
"<a class=
"el" href=
"g_i_l_0642.html">../../utilities.hpp
</a>"</code><br>
52 <code>#include
<cstddef
></code><br>
53 <code>#include
<cassert
></code><br>
54 <code>#include
<algorithm
></code><br>
55 <code>#include
<typeinfo
></code><br>
56 <code>#include
<boost/bind.hpp
></code><br>
57 <code>#include
<boost/mpl/transform.hpp
></code><br>
58 <code>#include
<boost/mpl/size.hpp
></code><br>
59 <code>#include
<boost/mpl/sizeof.hpp
></code><br>
60 <code>#include
<boost/mpl/max.hpp
></code><br>
61 <code>#include
<boost/mpl/at.hpp
></code><br>
62 <code>#include
<boost/mpl/fold.hpp
></code><br>
65 <a href=
"g_i_l_0643.html">Go to the source code of this file.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
67 <tr><td colspan=
"2"><br><h2>Namespaces
</h2></td></tr>
68 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">namespace
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"namespaceboost.html">boost
</a></td></tr>
70 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">namespace
</td><td class=
"memItemRight" valign=
"bottom"><b>boost::gil
</b></td></tr>
72 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">namespace
</td><td class=
"memItemRight" valign=
"bottom"><b>boost::gil::detail
</b></td></tr>
74 <tr><td colspan=
"2"><br><h2>Classes
</h2></td></tr>
75 <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>
77 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Represents a concrete instance of a run-time specified type from a set of types
<p>
78 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>
79 <tr><td colspan=
"2"><br><h2>Functions
</h2></td></tr>
80 <tr><td class=
"memTemplParams" nowrap
colspan=
"2"><a class=
"anchor" name=
"d395ff260e9fe1692ab06d4807ff544e"></a><!-- doxytag: member="variant.hpp::copy_construct_in_place" ref="d395ff260e9fe1692ab06d4807ff544e" args="(const T &t, Bits &bits)" -->
81 template
<typename T, typename Bits
> </td></tr>
82 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>copy_construct_in_place
</b> (const T
&t, Bits
&bits)
</td></tr>
84 <tr><td class=
"memTemplParams" nowrap
colspan=
"2"><a class=
"anchor" name=
"aa05c9377e5bf77dc656cd70dbd9e2de"></a><!-- doxytag: member="variant.hpp::swap" ref="aa05c9377e5bf77dc656cd70dbd9e2de" args="(variant< Types > &x, variant< Types > &y)" -->
85 template
<typename Types
> </td></tr>
86 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>swap
</b> (variant
< Types
> &x, variant
< Types
> &y)
</td></tr>
88 <tr><td class=
"memTemplParams" nowrap
colspan=
"2"><a class=
"anchor" name=
"7ecd31f71df620d0909121dd839f37ad"></a><!-- doxytag: member="variant.hpp::operator==" ref="7ecd31f71df620d0909121dd839f37ad" args="(const variant< Types > &x, const variant< Types > &y)" -->
89 template
<typename Types
> </td></tr>
90 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">bool
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>operator==
</b> (const variant
< Types
> &x, const variant
< Types
> &y)
</td></tr>
92 <tr><td class=
"memTemplParams" nowrap
colspan=
"2"><a class=
"anchor" name=
"cb1656cb452d209d32bf6177ab664988"></a><!-- doxytag: member="variant.hpp::operator!=" ref="cb1656cb452d209d32bf6177ab664988" args="(const variant< C > &x, const variant< C > &y)" -->
93 template
<typename C
> </td></tr>
94 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">bool
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>operator!=
</b> (const variant
< C
> &x, const variant
< C
> &y)
</td></tr>
98 <hr size=
"1"><address style=
"text-align: right;"><small>Generated on Sat May
2 13:
50:
16 2009 for Generic Image Library by
99 <a href=
"http://www.doxygen.org/index.html">
100 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
"0"></a> 1.5.6 </small></address>