File: Poco.DynamicAnyHolderImpl.html

package info (click to toggle)
poco-doc 1.3.6-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 10,076 kB
  • ctags: 9,611
  • sloc: makefile: 31
file content (197 lines) | stat: -rw-r--r-- 19,569 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Class Poco::DynamicAnyHolderImpl</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="language" content="en"/>
<meta name="date" content="2009-11-24"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
<div class="header">
<h1 class="namespace"><a href="Poco.html" class="namespace">Poco</a></h1>
<h1 class="template">template &lt; typename T &gt;</h1>
<h1 class="symbol">class DynamicAnyHolderImpl</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Foundation<br />
<b>Package:</b> Core<br />
<b>Header:</b> Poco/DynamicAnyHolder.h</p>
<h2>Description</h2>
<div class="description">
<p>Template based implementation of a <a href="Poco.DynamicAnyHolder.html" title="class Poco::DynamicAnyHolder">DynamicAnyHolder</a>.  Conversion work happens in the template specializations of this class. </p>
<p><a href="Poco.DynamicAny.html" title="class Poco::DynamicAny">DynamicAny</a> can be used for any type for which a specialization for <a href="Poco.DynamicAnyHolderImpl.html" title="class Poco::DynamicAnyHolderImpl">DynamicAnyHolderImpl</a> is available. </p>
<p><a href="Poco.DynamicAnyHolderImpl.html" title="class Poco::DynamicAnyHolderImpl">DynamicAnyHolderImpl</a> throws following exceptions: <a href="Poco.NotImplementedException.html" title="class Poco::NotImplementedException">NotImplementedException</a> (if the specialization for a type does not exist) <a href="Poco.RangeException.html" title="class Poco::RangeException">RangeException</a> (if an attempt is made to assign a numeric value outside of the target min/max limits <a href="Poco.SyntaxException.html" title="class Poco::SyntaxException">SyntaxException</a> (if an attempt is made to convert a string containing non-numeric characters to number) </p>
<p>All specializations must additionally implement a public member function: </p>
<pre>const T&amp; value() const
</pre>
<p>returning a const reference to the actual stored value. </p>
</div>
<h2>Inheritance</h2>
<p><b>Direct Base Classes: </b><a href="Poco.DynamicAnyHolder.html" title="class Poco::DynamicAnyHolder">DynamicAnyHolder</a></p>
<p><b>All Base Classes: </b><a href="Poco.DynamicAnyHolder.html" title="class Poco::DynamicAnyHolder">DynamicAnyHolder</a></p>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.DynamicAnyHolderImpl.html#5579" title="Poco::DynamicAnyHolderImpl::clone()">clone</a>, <a href="Poco.DynamicAnyHolderImpl.html#5547" title="Poco::DynamicAnyHolderImpl::convert()">convert</a>, <a href="Poco.DynamicAnyHolderImpl.html#5580" title="Poco::DynamicAnyHolderImpl::isArray()">isArray</a>, <a href="Poco.DynamicAnyHolderImpl.html#5543" title="Poco::DynamicAnyHolderImpl::isInteger()">isInteger</a>, <a href="Poco.DynamicAnyHolderImpl.html#5545" title="Poco::DynamicAnyHolderImpl::isNumeric()">isNumeric</a>, <a href="Poco.DynamicAnyHolderImpl.html#5544" title="Poco::DynamicAnyHolderImpl::isSigned()">isSigned</a>, <a href="Poco.DynamicAnyHolderImpl.html#5546" title="Poco::DynamicAnyHolderImpl::isString()">isString</a>, <a href="Poco.DynamicAnyHolderImpl.html#5542" title="Poco::DynamicAnyHolderImpl::type()">type</a></p>
<p><b>Inherited Functions: </b><a href="Poco.DynamicAnyHolder.html#5472" title="Poco::DynamicAnyHolder::clone()">clone</a>, <a href="Poco.DynamicAnyHolder.html#5474" title="Poco::DynamicAnyHolder::convert()">convert</a>, <a href="Poco.DynamicAnyHolder.html#5524" title="Poco::DynamicAnyHolder::convertSignedFloatToUnsigned()">convertSignedFloatToUnsigned</a>, <a href="Poco.DynamicAnyHolder.html#5521" title="Poco::DynamicAnyHolder::convertSignedToUnsigned()">convertSignedToUnsigned</a>, <a href="Poco.DynamicAnyHolder.html#5515" title="Poco::DynamicAnyHolder::convertToSmaller()">convertToSmaller</a>, <a href="Poco.DynamicAnyHolder.html#5518" title="Poco::DynamicAnyHolder::convertToSmallerUnsigned()">convertToSmallerUnsigned</a>, <a href="Poco.DynamicAnyHolder.html#5527" title="Poco::DynamicAnyHolder::convertUnsignedToSigned()">convertUnsignedToSigned</a>, <a href="Poco.DynamicAnyHolder.html#5496" title="Poco::DynamicAnyHolder::isArray()">isArray</a>, <a href="Poco.DynamicAnyHolder.html#5497" title="Poco::DynamicAnyHolder::isInteger()">isInteger</a>, <a href="Poco.DynamicAnyHolder.html#5499" title="Poco::DynamicAnyHolder::isNumeric()">isNumeric</a>, <a href="Poco.DynamicAnyHolder.html#5498" title="Poco::DynamicAnyHolder::isSigned()">isSigned</a>, <a href="Poco.DynamicAnyHolder.html#5500" title="Poco::DynamicAnyHolder::isString()">isString</a>, <a href="Poco.DynamicAnyHolder.html#5473" title="Poco::DynamicAnyHolder::type()">type</a></p>
<h2>Constructors</h2>
<h3><a name="5540">DynamicAnyHolderImpl</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.DynamicAnyHolderImpl.html" title="class Poco::DynamicAnyHolderImpl">DynamicAnyHolderImpl</a>();</p>
<div class="description">
<p></p>
</div>
<h2>Destructor</h2>
<h3><a name="5541">~DynamicAnyHolderImpl</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">~<a href="Poco.DynamicAnyHolderImpl.html" title="class Poco::DynamicAnyHolderImpl">DynamicAnyHolderImpl</a>();</p>
<div class="description">
<p></p>
</div>
<h2>Member Functions</h2>
<h3><a name="5579">clone</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.DynamicAnyHolder.html" title="class Poco::DynamicAnyHolder">DynamicAnyHolder</a> * clone() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5472" title="Poco::DynamicAnyHolder::clone()">Poco::DynamicAnyHolder::clone()</a></p></div>
<h3><a name="5547">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11349" title="Poco::Int8">Int8</a> &amp; param88<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5474" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5549">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11351" title="Poco::Int16">Int16</a> &amp; param89<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5476" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5551">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11353" title="Poco::Int32">Int32</a> &amp; param90<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5478" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5553">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11357" title="Poco::Int64">Int64</a> &amp; param91<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5480" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5555">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11350" title="Poco::UInt8">UInt8</a> &amp; param92<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5482" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5557">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11352" title="Poco::UInt16">UInt16</a> &amp; param93<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5484" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5559">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11354" title="Poco::UInt32">UInt32</a> &amp; param94<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5486" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5561">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.html#11358" title="Poco::UInt64">UInt64</a> &amp; param95<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5488" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5563">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;bool &amp; param96<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5505" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5565">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;float &amp; param97<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5507" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5567">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;double &amp; param98<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5509" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5569">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;char &amp; param99<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5511" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5571">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::string &amp; param100<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5513" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5573">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.DateTime.html" title="class Poco::DateTime">DateTime</a> &amp; param101<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5490" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5575">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.LocalDateTime.html" title="class Poco::LocalDateTime">LocalDateTime</a> &amp; param102<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5492" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5577">convert</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void convert(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.Timestamp.html" title="class Poco::Timestamp">Timestamp</a> &amp; param103<br />) const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5494" title="Poco::DynamicAnyHolder::convert()">Poco::DynamicAnyHolder::convert()</a></p></div>
<h3><a name="5580">isArray</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isArray() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5496" title="Poco::DynamicAnyHolder::isArray()">Poco::DynamicAnyHolder::isArray()</a></p></div>
<h3><a name="5543">isInteger</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isInteger() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5497" title="Poco::DynamicAnyHolder::isInteger()">Poco::DynamicAnyHolder::isInteger()</a></p></div>
<h3><a name="5545">isNumeric</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isNumeric() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5499" title="Poco::DynamicAnyHolder::isNumeric()">Poco::DynamicAnyHolder::isNumeric()</a></p></div>
<h3><a name="5544">isSigned</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isSigned() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5498" title="Poco::DynamicAnyHolder::isSigned()">Poco::DynamicAnyHolder::isSigned()</a></p></div>
<h3><a name="5546">isString</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isString() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5500" title="Poco::DynamicAnyHolder::isString()">Poco::DynamicAnyHolder::isString()</a></p></div>
<h3><a name="5542">type</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" />  <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::type_info &amp; type() const;</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.DynamicAnyHolder.html#5473" title="Poco::DynamicAnyHolder::type()">Poco::DynamicAnyHolder::type()</a></p></div>
<p class="footer">POCO C++ Libraries 1.3.6-all<br />
Copyright &copy; 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>

</div>
</body>
</html>