File: Poco.Data.MetaColumn.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 (171 lines) | stat: -rw-r--r-- 9,654 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
<!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::MetaColumn</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="symbol">class MetaColumn</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Data<br />
<b>Package:</b> DataCore<br />
<b>Header:</b> Poco/Data/MetaColumn.h</p>
<h2>Description</h2>
<div class="description">
<p><a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a> class contains column metadata information. </p>
</div>
<h2>Inheritance</h2>
<p><b>Known Derived Classes: </b><a href="Poco.Data.ODBC.ODBCColumn.html" title="class Poco::Data::ODBC::ODBCColumn">Poco::Data::ODBC::ODBCColumn</a></p>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.Data.MetaColumn.html#2757" title="Poco::Data::MetaColumn::isNullable()">isNullable</a>, <a href="Poco.Data.MetaColumn.html#2753" title="Poco::Data::MetaColumn::length()">length</a>, <a href="Poco.Data.MetaColumn.html#2752" title="Poco::Data::MetaColumn::name()">name</a>, <a href="Poco.Data.MetaColumn.html#2755" title="Poco::Data::MetaColumn::position()">position</a>, <a href="Poco.Data.MetaColumn.html#2754" title="Poco::Data::MetaColumn::precision()">precision</a>, <a href="Poco.Data.MetaColumn.html#2760" title="Poco::Data::MetaColumn::setLength()">setLength</a>, <a href="Poco.Data.MetaColumn.html#2758" title="Poco::Data::MetaColumn::setName()">setName</a>, <a href="Poco.Data.MetaColumn.html#2766" title="Poco::Data::MetaColumn::setNullable()">setNullable</a>, <a href="Poco.Data.MetaColumn.html#2762" title="Poco::Data::MetaColumn::setPrecision()">setPrecision</a>, <a href="Poco.Data.MetaColumn.html#2764" title="Poco::Data::MetaColumn::setType()">setType</a>, <a href="Poco.Data.MetaColumn.html#2756" title="Poco::Data::MetaColumn::type()">type</a></p>
<h2>Enumerations</h2>
<h3><a name="2728">ColumnDataType</a></h3>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2729">FDT_BOOL</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2730">FDT_INT8</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2731">FDT_UINT8</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2732">FDT_INT16</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2733">FDT_UINT16</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2734">FDT_INT32</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2735">FDT_UINT32</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2736">FDT_INT64</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2737">FDT_UINT64</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2738">FDT_FLOAT</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2739">FDT_DOUBLE</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2740">FDT_STRING</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2741">FDT_BLOB</a></p>
<div class="description">
<p></p>
</div>
<p class="decl"><a name="2742">FDT_UNKNOWN</a></p>
<div class="description">
<p></p>
</div>
<h2>Constructors</h2>
<h3><a name="2743">MetaColumn</a></h3>
<p class="decl"><a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a>();</p>
<div class="description">
<p>Creates the <a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a>. </p>
</div>
<h3><a name="2744">MetaColumn</a></h3>
<p class="decl">explicit <a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t position,<br />&nbsp;&nbsp;&nbsp;&nbsp;const std::string &amp; name = "",<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.Data.MetaColumn.html#2728" title="enum  Poco::Data::MetaColumn::ColumnDataType">ColumnDataType</a> type = FDT_UNKNOWN,<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t length = 0,<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t precision = 0,<br />&nbsp;&nbsp;&nbsp;&nbsp;bool nullable = false<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a>. </p>
</div>
<h2>Destructor</h2>
<h3><a name="2751">~MetaColumn</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">virtual ~<a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a>();</p>
<div class="description">
<p>Destroys the <a href="Poco.Data.MetaColumn.html" title="class Poco::Data::MetaColumn">MetaColumn</a>. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="2757">isNullable</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool isNullable() const;</p>
<div class="description">
<p>Returns true if column allows null values, false otherwise. </p>
</div>
<h3><a name="2753">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="2752">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="2755">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="2754">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="2756">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">ColumnDataType</a> type() const;</p>
<div class="description">
<p>Returns column type. </p>
</div>
<h3><a name="2760">setLength</a> <img src="images/protected.gif" alt="protected" title="protected" 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 setLength(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t length<br />);</p>
<div class="description">
<p>Sets the column length. </p>
</div>
<h3><a name="2758">setName</a> <img src="images/protected.gif" alt="protected" title="protected" 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 setName(<br />&nbsp;&nbsp;&nbsp;&nbsp;const std::string &amp; name<br />);</p>
<div class="description">
<p>Sets the column name. </p>
</div>
<h3><a name="2766">setNullable</a> <img src="images/protected.gif" alt="protected" title="protected" 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 setNullable(<br />&nbsp;&nbsp;&nbsp;&nbsp;bool nullable<br />);</p>
<div class="description">
<p>Sets the column nullability. </p>
</div>
<h3><a name="2762">setPrecision</a> <img src="images/protected.gif" alt="protected" title="protected" 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 setPrecision(<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t precision<br />);</p>
<div class="description">
<p>Sets the column precision. </p>
</div>
<h3><a name="2764">setType</a> <img src="images/protected.gif" alt="protected" title="protected" 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 setType(<br />&nbsp;&nbsp;&nbsp;&nbsp;<a href="Poco.Data.MetaColumn.html#2728" title="enum  Poco::Data::MetaColumn::ColumnDataType">ColumnDataType</a> type<br />);</p>
<div class="description">
<p>Sets the column data type. </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>