1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>FLAC: FLAC::Metadata::Picture Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.4.2 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
9
<b>FLAC</b>::<b>Metadata</b>::<a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a></div>
10
<h1>FLAC::Metadata::Picture Class Reference<br>
12
[<a class="el" href="group__flacpp__metadata__object.html">FLAC++/metadata.h: metadata object classes</a>]</small>
13
</h1><code>#include <<a class="el" href="+_2metadata_8h-source.html">metadata.h</a>></code>
15
<p>Inheritance diagram for FLAC::Metadata::Picture:
16
<p><center><img src="classFLAC_1_1Metadata_1_1Picture.png" usemap="#FLAC::Metadata::Picture_map" border="0" alt=""></center>
17
<map name="FLAC::Metadata::Picture_map">
18
<area href="classFLAC_1_1Metadata_1_1Prototype.html" alt="FLAC::Metadata::Prototype" shape="rect" coords="0,0,163,24">
20
<a href="classFLAC_1_1Metadata_1_1Picture-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
21
PICTURE metadata block. See the <a class="el" href="group__flacpp__metadata__object.html">overview </a> for more, and the <a href="../format.html#metadata_block_picture">format specification</a>.
23
<table border="0" cellpadding="0" cellspacing="0">
25
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
26
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea1">Picture</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> &object)</td></tr>
28
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea2" doxytag="FLAC::Metadata::Picture::Picture"></a>
29
</td><td class="memItemRight" valign="bottom"><b>Picture</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &object)</td></tr>
31
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea3" doxytag="FLAC::Metadata::Picture::Picture"></a>
32
</td><td class="memItemRight" valign="bottom"><b>Picture</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object)</td></tr>
34
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea4">Picture</a> (::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object, bool copy)</td></tr>
36
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea6">operator=</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> &object)</td></tr>
38
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea7" doxytag="FLAC::Metadata::Picture::operator="></a>
39
<a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &object)</td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea8" doxytag="FLAC::Metadata::Picture::operator="></a>
42
<a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object)</td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea9">assign</a> (::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object, bool copy)</td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea10">operator==</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> &object) const </td></tr>
48
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea11" doxytag="FLAC::Metadata::Picture::operator=="></a>
49
bool </td><td class="memItemRight" valign="bottom"><b>operator==</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &object) const </td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea12" doxytag="FLAC::Metadata::Picture::operator=="></a>
52
bool </td><td class="memItemRight" valign="bottom"><b>operator==</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object) const </td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea13">operator!=</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> &object) const </td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea14" doxytag="FLAC::Metadata::Picture::operator!="></a>
57
bool </td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &object) const </td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea15" doxytag="FLAC::Metadata::Picture::operator!="></a>
60
bool </td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object) const </td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">::<a class="el" href="group__flac__format.html#ga110">FLAC__StreamMetadata_Picture_Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea16">get_type</a> () const </td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea17" doxytag="FLAC::Metadata::Picture::get_mime_type"></a>
65
const char * </td><td class="memItemRight" valign="bottom"><b>get_mime_type</b> () const </td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea18" doxytag="FLAC::Metadata::Picture::get_description"></a>
68
const FLAC__byte * </td><td class="memItemRight" valign="bottom"><b>get_description</b> () const </td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea19" doxytag="FLAC::Metadata::Picture::get_width"></a>
71
FLAC__uint32 </td><td class="memItemRight" valign="bottom"><b>get_width</b> () const </td></tr>
73
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea20" doxytag="FLAC::Metadata::Picture::get_height"></a>
74
FLAC__uint32 </td><td class="memItemRight" valign="bottom"><b>get_height</b> () const </td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea21" doxytag="FLAC::Metadata::Picture::get_depth"></a>
77
FLAC__uint32 </td><td class="memItemRight" valign="bottom"><b>get_depth</b> () const </td></tr>
79
<tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea22">get_colors</a> () const </td></tr>
81
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea23" doxytag="FLAC::Metadata::Picture::get_data_length"></a>
82
FLAC__uint32 </td><td class="memItemRight" valign="bottom"><b>get_data_length</b> () const </td></tr>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea24" doxytag="FLAC::Metadata::Picture::get_data"></a>
85
const FLAC__byte * </td><td class="memItemRight" valign="bottom"><b>get_data</b> () const </td></tr>
87
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea25" doxytag="FLAC::Metadata::Picture::set_type"></a>
88
void </td><td class="memItemRight" valign="bottom"><b>set_type</b> (::<a class="el" href="group__flac__format.html#ga110">FLAC__StreamMetadata_Picture_Type</a> type)</td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea26">set_mime_type</a> (const char *string)</td></tr>
92
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea27">set_description</a> (const FLAC__byte *string)</td></tr>
94
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea28" doxytag="FLAC::Metadata::Picture::set_width"></a>
95
void </td><td class="memItemRight" valign="bottom"><b>set_width</b> (FLAC__uint32 value) const </td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea29" doxytag="FLAC::Metadata::Picture::set_height"></a>
98
void </td><td class="memItemRight" valign="bottom"><b>set_height</b> (FLAC__uint32 value) const </td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Picturea30" doxytag="FLAC::Metadata::Picture::set_depth"></a>
101
void </td><td class="memItemRight" valign="bottom"><b>set_depth</b> (FLAC__uint32 value) const </td></tr>
103
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea31">set_colors</a> (FLAC__uint32 value) const </td></tr>
105
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea32">set_data</a> (const FLAC__byte *data, FLAC__uint32 data_length)</td></tr>
107
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__flacpp__metadata__object.html#ga1">operator==</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> &) const </td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__flacpp__metadata__object.html#ga4">operator!=</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> &) const </td></tr>
111
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group__flacpp__metadata__object.html#ga7">is_valid</a> () const </td></tr>
113
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommenta27">get_is_last</a> () const </td></tr>
115
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommenta29">get_length</a> () const </td></tr>
117
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommenta30">set_is_last</a> (bool)</td></tr>
119
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__flacpp__metadata__object.html#ga8">operator const ::FLAC__StreamMetadata *</a> () const </td></tr>
121
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
122
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommentb0">assign_object</a> (::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object, bool copy)</td></tr>
124
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommentb1">clear</a> ()</td></tr>
126
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
127
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentp0" doxytag="FLAC::Metadata::Picture::object_"></a>
128
::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td><td class="memItemRight" valign="bottom"><b>object_</b></td></tr>
130
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
131
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentn0" doxytag="FLAC::Metadata::Picture::SimpleIterator"></a>
132
class </td><td class="memItemRight" valign="bottom"><b>SimpleIterator</b></td></tr>
134
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentn1" doxytag="FLAC::Metadata::Picture::Iterator"></a>
135
class </td><td class="memItemRight" valign="bottom"><b>Iterator</b></td></tr>
138
<hr><h2>Constructor & Destructor Documentation</h2>
139
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea1" doxytag="FLAC::Metadata::Picture::Picture"></a><p>
140
<table class="mdTable" cellpadding="2" cellspacing="0">
143
<table cellpadding="0" cellspacing="0" border="0">
145
<td class="md" nowrap valign="top">FLAC::Metadata::Picture::Picture </td>
146
<td class="md" valign="top">( </td>
147
<td class="md" nowrap valign="top">const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td>
148
<td class="mdname1" valign="top" nowrap> <em>object</em> </td>
149
<td class="md" valign="top"> ) </td>
150
<td class="md" nowrap><code> [inline]</code></td>
156
<table cellspacing="5" cellpadding="0" border="0">
164
Constructs a copy of the given object. This form always performs a deep copy. </td>
167
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea4" doxytag="FLAC::Metadata::Picture::Picture"></a><p>
168
<table class="mdTable" cellpadding="2" cellspacing="0">
171
<table cellpadding="0" cellspacing="0" border="0">
173
<td class="md" nowrap valign="top">FLAC::Metadata::Picture::Picture </td>
174
<td class="md" valign="top">( </td>
175
<td class="md" nowrap valign="top">::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td>
176
<td class="mdname" nowrap> <em>object</em>, </td>
179
<td class="md" nowrap align="right"></td>
181
<td class="md" nowrap>bool </td>
182
<td class="mdname" nowrap> <em>copy</em></td>
186
<td class="md">) </td>
187
<td class="md" colspan="2"><code> [inline]</code></td>
193
<table cellspacing="5" cellpadding="0" border="0">
201
Constructs an object with copy control. See <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1Prototypeb3">Prototype(::FLAC__StreamMetadata *object, bool copy)</a>. </td>
204
<hr><h2>Member Function Documentation</h2>
205
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea6" doxytag="FLAC::Metadata::Picture::operator="></a><p>
206
<table class="mdTable" cellpadding="2" cellspacing="0">
209
<table cellpadding="0" cellspacing="0" border="0">
211
<td class="md" nowrap valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a>& FLAC::Metadata::Picture::operator= </td>
212
<td class="md" valign="top">( </td>
213
<td class="md" nowrap valign="top">const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td>
214
<td class="mdname1" valign="top" nowrap> <em>object</em> </td>
215
<td class="md" valign="top"> ) </td>
216
<td class="md" nowrap><code> [inline]</code></td>
222
<table cellspacing="5" cellpadding="0" border="0">
230
Assign from another object. Always performs a deep copy. </td>
233
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea9" doxytag="FLAC::Metadata::Picture::assign"></a><p>
234
<table class="mdTable" cellpadding="2" cellspacing="0">
237
<table cellpadding="0" cellspacing="0" border="0">
239
<td class="md" nowrap valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a>& FLAC::Metadata::Picture::assign </td>
240
<td class="md" valign="top">( </td>
241
<td class="md" nowrap valign="top">::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td>
242
<td class="mdname" nowrap> <em>object</em>, </td>
245
<td class="md" nowrap align="right"></td>
247
<td class="md" nowrap>bool </td>
248
<td class="mdname" nowrap> <em>copy</em></td>
252
<td class="md">) </td>
253
<td class="md" colspan="2"><code> [inline]</code></td>
259
<table cellspacing="5" cellpadding="0" border="0">
267
Assigns an object with copy control. See <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommentb0">Prototype::assign_object(::FLAC__StreamMetadata *object, bool copy)</a>. </td>
270
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea10" doxytag="FLAC::Metadata::Picture::operator=="></a><p>
271
<table class="mdTable" cellpadding="2" cellspacing="0">
274
<table cellpadding="0" cellspacing="0" border="0">
276
<td class="md" nowrap valign="top">bool FLAC::Metadata::Picture::operator== </td>
277
<td class="md" valign="top">( </td>
278
<td class="md" nowrap valign="top">const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td>
279
<td class="mdname1" valign="top" nowrap> <em>object</em> </td>
280
<td class="md" valign="top"> ) </td>
281
<td class="md" nowrap> const<code> [inline]</code></td>
287
<table cellspacing="5" cellpadding="0" border="0">
295
Check for equality, performing a deep compare by following pointers. </td>
298
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea13" doxytag="FLAC::Metadata::Picture::operator!="></a><p>
299
<table class="mdTable" cellpadding="2" cellspacing="0">
302
<table cellpadding="0" cellspacing="0" border="0">
304
<td class="md" nowrap valign="top">bool FLAC::Metadata::Picture::operator!= </td>
305
<td class="md" valign="top">( </td>
306
<td class="md" nowrap valign="top">const <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html">Picture</a> & </td>
307
<td class="mdname1" valign="top" nowrap> <em>object</em> </td>
308
<td class="md" valign="top"> ) </td>
309
<td class="md" nowrap> const<code> [inline]</code></td>
315
<table cellspacing="5" cellpadding="0" border="0">
323
Check for inequality, performing a deep compare by following pointers. </td>
326
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea16" doxytag="FLAC::Metadata::Picture::get_type"></a><p>
327
<table class="mdTable" cellpadding="2" cellspacing="0">
330
<table cellpadding="0" cellspacing="0" border="0">
332
<td class="md" nowrap valign="top">::<a class="el" href="group__flac__format.html#ga110">FLAC__StreamMetadata_Picture_Type</a> FLAC::Metadata::Picture::get_type </td>
333
<td class="md" valign="top">( </td>
334
<td class="mdname1" valign="top" nowrap> </td>
335
<td class="md" valign="top"> ) </td>
336
<td class="md" nowrap> const</td>
342
<table cellspacing="5" cellpadding="0" border="0">
350
Returns the type of the block.<p>
351
<dl compact><dt><b>Assertions: </b></dt><dd><div class="fragment"><pre class="fragment"> <a class="code" href="group__flacpp__metadata__object.html#ga7">is_valid</a>()
352
</pre></div> </dd></dl>
355
Reimplemented from <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommenta28">FLAC::Metadata::Prototype</a>. </td>
358
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea22" doxytag="FLAC::Metadata::Picture::get_colors"></a><p>
359
<table class="mdTable" cellpadding="2" cellspacing="0">
362
<table cellpadding="0" cellspacing="0" border="0">
364
<td class="md" nowrap valign="top">FLAC__uint32 FLAC::Metadata::Picture::get_colors </td>
365
<td class="md" valign="top">( </td>
366
<td class="mdname1" valign="top" nowrap> </td>
367
<td class="md" valign="top"> ) </td>
368
<td class="md" nowrap> const</td>
374
<table cellspacing="5" cellpadding="0" border="0">
382
a return value of <code>0</code> means true-color, i.e. 2^depth colors
387
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea26" doxytag="FLAC::Metadata::Picture::set_mime_type"></a><p>
388
<table class="mdTable" cellpadding="2" cellspacing="0">
391
<table cellpadding="0" cellspacing="0" border="0">
393
<td class="md" nowrap valign="top">bool FLAC::Metadata::Picture::set_mime_type </td>
394
<td class="md" valign="top">( </td>
395
<td class="md" nowrap valign="top">const char * </td>
396
<td class="mdname1" valign="top" nowrap> <em>string</em> </td>
397
<td class="md" valign="top"> ) </td>
398
<td class="md" nowrap></td>
404
<table cellspacing="5" cellpadding="0" border="0">
412
See <a class="el" href="group__flac__metadata__object.html#ga42">FLAC__metadata_object_picture_set_mime_type()</a>.
417
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea27" doxytag="FLAC::Metadata::Picture::set_description"></a><p>
418
<table class="mdTable" cellpadding="2" cellspacing="0">
421
<table cellpadding="0" cellspacing="0" border="0">
423
<td class="md" nowrap valign="top">bool FLAC::Metadata::Picture::set_description </td>
424
<td class="md" valign="top">( </td>
425
<td class="md" nowrap valign="top">const FLAC__byte * </td>
426
<td class="mdname1" valign="top" nowrap> <em>string</em> </td>
427
<td class="md" valign="top"> ) </td>
428
<td class="md" nowrap></td>
434
<table cellspacing="5" cellpadding="0" border="0">
442
See <a class="el" href="group__flac__metadata__object.html#ga43">FLAC__metadata_object_picture_set_description()</a>.
447
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea31" doxytag="FLAC::Metadata::Picture::set_colors"></a><p>
448
<table class="mdTable" cellpadding="2" cellspacing="0">
451
<table cellpadding="0" cellspacing="0" border="0">
453
<td class="md" nowrap valign="top">void FLAC::Metadata::Picture::set_colors </td>
454
<td class="md" valign="top">( </td>
455
<td class="md" nowrap valign="top">FLAC__uint32 </td>
456
<td class="mdname1" valign="top" nowrap> <em>value</em> </td>
457
<td class="md" valign="top"> ) </td>
458
<td class="md" nowrap> const</td>
464
<table cellspacing="5" cellpadding="0" border="0">
472
a value of <code>0</code> means true-color, i.e. 2^depth colors
477
<a class="anchor" name="FLAC_1_1Metadata_1_1Picturea32" doxytag="FLAC::Metadata::Picture::set_data"></a><p>
478
<table class="mdTable" cellpadding="2" cellspacing="0">
481
<table cellpadding="0" cellspacing="0" border="0">
483
<td class="md" nowrap valign="top">bool FLAC::Metadata::Picture::set_data </td>
484
<td class="md" valign="top">( </td>
485
<td class="md" nowrap valign="top">const FLAC__byte * </td>
486
<td class="mdname" nowrap> <em>data</em>, </td>
489
<td class="md" nowrap align="right"></td>
491
<td class="md" nowrap>FLAC__uint32 </td>
492
<td class="mdname" nowrap> <em>data_length</em></td>
496
<td class="md">) </td>
497
<td class="md" colspan="2"></td>
503
<table cellspacing="5" cellpadding="0" border="0">
511
See <a class="el" href="group__flac__metadata__object.html#ga44">FLAC__metadata_object_picture_set_data()</a>.
516
<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentb0" doxytag="FLAC::Metadata::Picture::assign_object"></a><p>
517
<table class="mdTable" cellpadding="2" cellspacing="0">
520
<table cellpadding="0" cellspacing="0" border="0">
522
<td class="md" nowrap valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a>& FLAC::Metadata::Prototype::assign_object </td>
523
<td class="md" valign="top">( </td>
524
<td class="md" nowrap valign="top">::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td>
525
<td class="mdname" nowrap> <em>object</em>, </td>
528
<td class="md" nowrap align="right"></td>
530
<td class="md" nowrap>bool </td>
531
<td class="mdname" nowrap> <em>copy</em></td>
535
<td class="md">) </td>
536
<td class="md" colspan="2"><code> [protected, inherited]</code></td>
542
<table cellspacing="5" cellpadding="0" border="0">
550
Assigns an object with copy control. See <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1Prototypeb3">Prototype(::FLAC__StreamMetadata *object, bool copy)</a>. </td>
553
<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentb1" doxytag="FLAC::Metadata::Picture::clear"></a><p>
554
<table class="mdTable" cellpadding="2" cellspacing="0">
557
<table cellpadding="0" cellspacing="0" border="0">
559
<td class="md" nowrap valign="top">virtual void FLAC::Metadata::Prototype::clear </td>
560
<td class="md" valign="top">( </td>
561
<td class="mdname1" valign="top" nowrap> </td>
562
<td class="md" valign="top"> ) </td>
563
<td class="md" nowrap><code> [protected, virtual, inherited]</code></td>
569
<table cellspacing="5" cellpadding="0" border="0">
577
Deletes the underlying <a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> object. </td>
580
<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta27" doxytag="FLAC::Metadata::Picture::get_is_last"></a><p>
581
<table class="mdTable" cellpadding="2" cellspacing="0">
584
<table cellpadding="0" cellspacing="0" border="0">
586
<td class="md" nowrap valign="top">bool FLAC::Metadata::Prototype::get_is_last </td>
587
<td class="md" valign="top">( </td>
588
<td class="mdname1" valign="top" nowrap> </td>
589
<td class="md" valign="top"> ) </td>
590
<td class="md" nowrap> const<code> [inherited]</code></td>
596
<table cellspacing="5" cellpadding="0" border="0">
604
Returns <code>true</code> if this block is the last block in a stream, else <code>false</code>.<p>
605
<dl compact><dt><b>Assertions: </b></dt><dd><div class="fragment"><pre class="fragment"> <a class="code" href="group__flacpp__metadata__object.html#ga7">is_valid</a>()
606
</pre></div> </dd></dl>
610
<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta29" doxytag="FLAC::Metadata::Picture::get_length"></a><p>
611
<table class="mdTable" cellpadding="2" cellspacing="0">
614
<table cellpadding="0" cellspacing="0" border="0">
616
<td class="md" nowrap valign="top">unsigned FLAC::Metadata::Prototype::get_length </td>
617
<td class="md" valign="top">( </td>
618
<td class="mdname1" valign="top" nowrap> </td>
619
<td class="md" valign="top"> ) </td>
620
<td class="md" nowrap> const<code> [inherited]</code></td>
626
<table cellspacing="5" cellpadding="0" border="0">
634
Returns the stream length of the metadata block.<p>
635
<dl compact><dt><b>Note:</b></dt><dd>The length does not include the metadata block header, per spec.</dd></dl>
636
<dl compact><dt><b>Assertions: </b></dt><dd><div class="fragment"><pre class="fragment"> <a class="code" href="group__flacpp__metadata__object.html#ga7">is_valid</a>()
637
</pre></div> </dd></dl>
641
<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta30" doxytag="FLAC::Metadata::Picture::set_is_last"></a><p>
642
<table class="mdTable" cellpadding="2" cellspacing="0">
645
<table cellpadding="0" cellspacing="0" border="0">
647
<td class="md" nowrap valign="top">void FLAC::Metadata::Prototype::set_is_last </td>
648
<td class="md" valign="top">( </td>
649
<td class="md" nowrap valign="top">bool </td>
650
<td class="mdname1" valign="top" nowrap> </td>
651
<td class="md" valign="top"> ) </td>
652
<td class="md" nowrap><code> [inherited]</code></td>
658
<table cellspacing="5" cellpadding="0" border="0">
666
Sets the "is_last" flag for the block. When using the iterators it is not necessary to set this flag; they will do it for you.<p>
667
<dl compact><dt><b>Assertions: </b></dt><dd><div class="fragment"><pre class="fragment"> <a class="code" href="group__flacpp__metadata__object.html#ga7">is_valid</a>()
668
</pre></div> </dd></dl>
672
<hr>The documentation for this class was generated from the following file:<ul>
673
<li>include/FLAC++/<a class="el" href="+_2metadata_8h-source.html">metadata.h</a></ul>
676
<div class="copyright">
677
<!-- @@@ oh so hacky -->
681
Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
683
<td width="1%" align="right">
684
<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
689
<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
690
<!-- Permission is granted to copy, distribute and/or modify this document -->
691
<!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
692
<!-- or any later version published by the Free Software Foundation; -->
693
<!-- with no invariant sections. -->
694
<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->