File: Poco.Data.Column.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 (140 lines) | stat: -rw-r--r-- 9,873 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
<!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::Data::Column</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.Data.html" class="namespace">Poco::Data</a></h1>
<h1 class="template">template &lt; class T &gt;</h1>
<h1 class="symbol">class Column</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Data<br />
<b>Package:</b> DataCore<br />
<b>Header:</b> Poco/Data/Column.h</p>
<h2>Description</h2>
<div class="description">
<p><a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a> class is column data container. <a href="Poco.Data.html" title="namespace Poco::Data">Data</a> (a pointer to vector of contained values) is assigned to the class  through either constructor or set() member function. Construction with null pointer is not allowed. This class owns the data assigned to it and deletes the storage on destruction. </p>
</div>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.Data.Column.html#2388" title="Poco::Data::Column::begin()">begin</a>, <a href="Poco.Data.Column.html#2376" title="Poco::Data::Column::data()">data</a>, <a href="Poco.Data.Column.html#2389" title="Poco::Data::Column::end()">end</a>, <a href="Poco.Data.Column.html#2384" title="Poco::Data::Column::length()">length</a>, <a href="Poco.Data.Column.html#2383" title="Poco::Data::Column::name()">name</a>, <a href="Poco.Data.Column.html#2379" title="Poco::Data::Column::operator()">operator</a>, <a href="Poco.Data.Column.html#2372" title="Poco::Data::Column::operator =()">operator&nbsp;=</a>, <a href="Poco.Data.Column.html#2386" title="Poco::Data::Column::position()">position</a>, <a href="Poco.Data.Column.html#2385" title="Poco::Data::Column::precision()">precision</a>, <a href="Poco.Data.Column.html#2382" title="Poco::Data::Column::reset()">reset</a>, <a href="Poco.Data.Column.html#2381" title="Poco::Data::Column::rowCount()">rowCount</a>, <a href="Poco.Data.Column.html#2374" title="Poco::Data::Column::swap()">swap</a>, <a href="Poco.Data.Column.html#2387" title="Poco::Data::Column::type()">type</a>, <a href="Poco.Data.Column.html#2377" title="Poco::Data::Column::value()">value</a></p>
<h2>Types</h2>
<h3><a name="2363">DataVec</a></h3>
<p class="decl">typedef std::vector &lt; T &gt; <a href="Poco.Data.Column.html#2363" title="Poco::Data::Column::DataVec">DataVec</a>;</p>
<div class="description">
<p></p>
</div>
<h3><a name="2364">Iterator</a></h3>
<p class="decl">typedef typename DataVec::const_iterator <a href="Poco.Data.Column.html#2364" title="Poco::Data::Column::Iterator">Iterator</a>;</p>
<div class="description">
<p></p>
</div>
<h3><a name="2365">Size</a></h3>
<p class="decl">typedef typename DataVec::size_type <a href="Poco.Data.Column.html#2365" title="Poco::Data::Column::Size">Size</a>;</p>
<div class="description">
<p></p>
</div>
<h2>Constructors</h2>
<h3><a name="2369">Column</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a> &amp; col<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a>. </p>
</div>
<h3><a name="2366">Column</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a> &amp; metaColumn,<br />&nbsp;&nbsp;&nbsp;&nbsp;std::vector &lt; T &gt; * pData<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a>. </p>
</div>
<h2>Destructor</h2>
<h3><a name="2371">~Column</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">~<a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a>();</p>
<div class="description">
<p>Destroys the <a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a>. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="2388">begin</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html#2364" title="Poco::Data::Column::Iterator">Iterator</a> begin() const;</p>
<div class="description">
<p>Returns iterator pointing to the beginning of data storage vector. </p>
</div>
<h3><a name="2376">data</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html#2363" title="Poco::Data::Column::DataVec">DataVec</a> &amp; data();</p>
<div class="description">
<p>Returns reference to contained data. </p>
</div>
<h3><a name="2389">end</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html#2364" title="Poco::Data::Column::Iterator">Iterator</a> end() const;</p>
<div class="description">
<p>Returns iterator pointing to the end of data storage vector. </p>
</div>
<h3><a name="2384">length</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">std::size_t length() const;</p>
<div class="description">
<p>Returns column maximum length. </p>
</div>
<h3><a name="2383">name</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::string &amp; name() const;</p>
<div class="description">
<p>Returns column name. </p>
</div>
<h3><a name="2379">operator</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const T &amp; operator[] (<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t row<br />) const;</p>
<div class="description">
<p>Returns the field value in specified row. </p>
</div>
<h3><a name="2372">operator =</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a> &amp; operator = (<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a> &amp; col<br />);</p>
<div class="description">
<p>Assignment operator. </p>
</div>
<h3><a name="2386">position</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">std::size_t position() const;</p>
<div class="description">
<p>Returns column position. </p>
</div>
<h3><a name="2385">precision</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">std::size_t precision() const;</p>
<div class="description">
<p>Returns column precision. Valid for floating point fields only (zero for other data types). </p>
</div>
<h3><a name="2382">reset</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void reset();</p>
<div class="description">
<p>Clears and shrinks the storage. </p>
</div>
<h3><a name="2381">rowCount</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.Column.html#2365" title="Poco::Data::Column::Size">Size</a> rowCount() const;</p>
<div class="description">
<p>Returns number of rows. </p>
</div>
<h3><a name="2374">swap</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void swap(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.Data.Column.html" title="class Poco::Data::Column">Column</a> &amp; other<br />);</p>
<div class="description">
<p>Swaps the column with another one. </p>
</div>
<h3><a name="2387">type</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.Data.MetaColumn.html#2728" title="enum  Poco::Data::MetaColumn::ColumnDataType">MetaColumn::ColumnDataType</a> type() const;</p>
<div class="description">
<p>Returns column type. </p>
</div>
<h3><a name="2377">value</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const T &amp; value(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t row<br />) const;</p>
<div class="description">
<p>Returns the field value in specified row. </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>