File: Poco.Data.BLOB.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 (142 lines) | stat: -rw-r--r-- 9,999 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
<!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::BLOB</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 BLOB</h1>
</div>
<div class="body">
<p>
<b>Library:</b> Data<br />
<b>Package:</b> DataCore<br />
<b>Header:</b> Poco/Data/BLOB.h</p>
<h2>Description</h2>
<div class="description">
<p>Representation of a Binary Large OBject. </p>
<p>A <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> can hold arbitrary binary data. The maximum size depends on the underlying database. </p>
<p>The <a href="Poco.Data.BLOBInputStream.html" title="class Poco::Data::BLOBInputStream">BLOBInputStream</a> and <a href="Poco.Data.BLOBOutputStream.html" title="class Poco::Data::BLOBOutputStream">BLOBOutputStream</a> classes provide a convenient way to access the data in a <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>. </p>
</div>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.Data.BLOB.html#2314" title="Poco::Data::BLOB::appendRaw()">appendRaw</a>, <a href="Poco.Data.BLOB.html#2311" title="Poco::Data::BLOB::assignRaw()">assignRaw</a>, <a href="Poco.Data.BLOB.html#2320" title="Poco::Data::BLOB::begin()">begin</a>, <a href="Poco.Data.BLOB.html#2317" title="Poco::Data::BLOB::clear()">clear</a>, <a href="Poco.Data.BLOB.html#2319" title="Poco::Data::BLOB::compact()">compact</a>, <a href="Poco.Data.BLOB.html#2309" title="Poco::Data::BLOB::content()">content</a>, <a href="Poco.Data.BLOB.html#2321" title="Poco::Data::BLOB::end()">end</a>, <a href="Poco.Data.BLOB.html#2305" title="Poco::Data::BLOB::operator !=()">operator&nbsp;!=</a>, <a href="Poco.Data.BLOB.html#2301" title="Poco::Data::BLOB::operator =()">operator&nbsp;=</a>, <a href="Poco.Data.BLOB.html#2303" title="Poco::Data::BLOB::operator ==()">operator&nbsp;==</a>, <a href="Poco.Data.BLOB.html#2310" title="Poco::Data::BLOB::rawContent()">rawContent</a>, <a href="Poco.Data.BLOB.html#2322" title="Poco::Data::BLOB::size()">size</a>, <a href="Poco.Data.BLOB.html#2307" title="Poco::Data::BLOB::swap()">swap</a></p>
<h2>Types</h2>
<h3><a name="2289">Iterator</a></h3>
<p class="decl">typedef std::vector &lt; char &gt;::const_iterator <a href="Poco.Data.BLOB.html#2289" title="Poco::Data::BLOB::Iterator">Iterator</a>;</p>
<div class="description">
<p></p>
</div>
<h2>Constructors</h2>
<h3><a name="2290">BLOB</a></h3>
<p class="decl"><a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>();</p>
<div class="description">
<p>Creates an empty <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>. </p>
</div>
<h3><a name="2291">BLOB</a></h3>
<p class="decl"><a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const std::vector &lt; char &gt; &amp; content<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>, content is deep-copied. </p>
</div>
<h3><a name="2296">BLOB</a></h3>
<p class="decl"><a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const std::string &amp; content<br />);</p>
<div class="description">
<p>Creates a <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> from a string. </p>
</div>
<h3><a name="2298">BLOB</a></h3>
<p class="decl"><a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> &amp; other<br />);</p>
<div class="description">
<p>Creates a <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> by copying another one. </p>
</div>
<h3><a name="2293">BLOB</a></h3>
<p class="decl"><a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>(<br />&nbsp;&nbsp;&nbsp;&nbsp;const char * const pContent,<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t size<br />);</p>
<div class="description">
<p>Creates the <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> by deep-copying pContent. </p>
</div>
<h2>Destructor</h2>
<h3><a name="2300">~BLOB</a></h3>
<p class="decl">~<a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>();</p>
<div class="description">
<p>Destroys the <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a>. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="2314">appendRaw</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void appendRaw(<br />&nbsp;&nbsp;&nbsp;&nbsp;const char * pChar,<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t count<br />);</p>
<div class="description">
<p>Assigns raw content to internal storage. </p>
</div>
<h3><a name="2311">assignRaw</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void assignRaw(<br />&nbsp;&nbsp;&nbsp;&nbsp;const char * pChar,<br />&nbsp;&nbsp;&nbsp;&nbsp;std::size_t count<br />);</p>
<div class="description">
<p>Assigns raw content to internal storage. </p>
</div>
<h3><a name="2320">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.BLOB.html#2289" title="Poco::Data::BLOB::Iterator">Iterator</a> begin() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="2317">clear</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void clear(<br />&nbsp;&nbsp;&nbsp;&nbsp;bool doCompact = false<br />);</p>
<div class="description">
<p>Clears the content of the blob. If doCompact is true, trims the excess capacity. </p>
</div>
<h3><a name="2319">compact</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void compact();</p>
<div class="description">
<p>Trims the internal storage excess capacity. </p>
</div>
<h3><a name="2309">content</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const std::vector &lt; char &gt; &amp; content() const;</p>
<div class="description">
<p>Returns the content. </p>
</div>
<h3><a name="2321">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.BLOB.html#2289" title="Poco::Data::BLOB::Iterator">Iterator</a> end() const;</p>
<div class="description">
<p></p>
</div>
<h3><a name="2305">operator !=</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool operator != (<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> &amp; other<br />) const;</p>
<div class="description">
<p>Compares for inequality <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> by value. </p>
</div>
<h3><a name="2301">operator =</a></h3>
<p class="decl"><a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> &amp; operator = (<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> &amp; other<br />);</p>
<div class="description">
<p>Assignment operator. </p>
</div>
<h3><a name="2303">operator ==</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">bool operator == (<br />&nbsp;&nbsp;&nbsp;&nbsp;const <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> &amp; other<br />) const;</p>
<div class="description">
<p>Compares for equality <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> by value. </p>
</div>
<h3><a name="2310">rawContent</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">const char * rawContent() const;</p>
<div class="description">
<p>Returns the raw content. </p>
<p>If the <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> is empty, returns NULL. </p>
</div>
<h3><a name="2322">size</a> <img src="images/inline.gif" alt="inline" title="inline" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">std::size_t size() const;</p>
<div class="description">
<p>Returns the size of the <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> in bytes. </p>
</div>
<h3><a name="2307">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.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> &amp; other<br />);</p>
<div class="description">
<p>Swaps the <a href="Poco.Data.BLOB.html" title="class Poco::Data::BLOB">BLOB</a> with another one. </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>