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::Prototype Class Reference</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 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> 8<div class="nav"> 9<b>FLAC</b>::<b>Metadata</b>::<a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a></div> 10<h1>FLAC::Metadata::Prototype Class Reference<br> 11<small> 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> 14<p> 15<p>Inheritance diagram for FLAC::Metadata::Prototype: 16<p><center><img src="classFLAC_1_1Metadata_1_1Prototype.png" usemap="#FLAC::Metadata::Prototype_map" border="0" alt=""></center> 17<map name="FLAC::Metadata::Prototype_map"> 18<area href="classFLAC_1_1Metadata_1_1Application.html" alt="FLAC::Metadata::Application" shape="rect" coords="207,56,404,80"> 19<area href="classFLAC_1_1Metadata_1_1CueSheet.html" alt="FLAC::Metadata::CueSheet" shape="rect" coords="207,112,404,136"> 20<area href="classFLAC_1_1Metadata_1_1Padding.html" alt="FLAC::Metadata::Padding" shape="rect" coords="207,168,404,192"> 21<area href="classFLAC_1_1Metadata_1_1Picture.html" alt="FLAC::Metadata::Picture" shape="rect" coords="207,224,404,248"> 22<area href="classFLAC_1_1Metadata_1_1SeekTable.html" alt="FLAC::Metadata::SeekTable" shape="rect" coords="207,280,404,304"> 23<area href="classFLAC_1_1Metadata_1_1StreamInfo.html" alt="FLAC::Metadata::StreamInfo" shape="rect" coords="207,336,404,360"> 24<area href="classFLAC_1_1Metadata_1_1Unknown.html" alt="FLAC::Metadata::Unknown" shape="rect" coords="207,392,404,416"> 25<area href="classFLAC_1_1Metadata_1_1VorbisComment.html" alt="FLAC::Metadata::VorbisComment" shape="rect" coords="207,448,404,472"> 26</map> 27<a href="classFLAC_1_1Metadata_1_1Prototype-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 28Base class for all metadata block types. See the <a class="el" href="group__flacpp__metadata__object.html">overview </a> for more. 29<p> 30<table border="0" cellpadding="0" cellspacing="0"> 31<tr><td></td></tr> 32<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 33<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1Prototypea0">~Prototype</a> ()</td></tr> 34 35<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> 36 37<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga2" doxytag="FLAC::Metadata::Prototype::operator=="></a> 38bool </td><td class="memItemRight" valign="bottom"><b>operator==</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &) const </td></tr> 39 40<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga3" doxytag="FLAC::Metadata::Prototype::operator=="></a> 41bool </td><td class="memItemRight" valign="bottom"><b>operator==</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *) const </td></tr> 42 43<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> 44 45<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga5" doxytag="FLAC::Metadata::Prototype::operator!="></a> 46bool </td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &) const </td></tr> 47 48<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga6" doxytag="FLAC::Metadata::Prototype::operator!="></a> 49bool </td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *) const </td></tr> 50 51<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> 52 53<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> 54 55<tr><td class="memItemLeft" nowrap align="right" valign="top">::<a class="el" href="group__flac__format.html#ga113">FLAC__MetadataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1VorbisCommenta28">get_type</a> () const </td></tr> 56 57<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> 58 59<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> 60 61<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> 62 63<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> 64<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1Prototypeb0">Prototype</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> &)</td></tr> 65 66<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb1" doxytag="FLAC::Metadata::Prototype::Prototype"></a> 67 </td><td class="memItemRight" valign="bottom"><b>Prototype</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &)</td></tr> 68 69<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb2" doxytag="FLAC::Metadata::Prototype::Prototype"></a> 70 </td><td class="memItemRight" valign="bottom"><b>Prototype</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *)</td></tr> 71 72<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html#FLAC_1_1Metadata_1_1Prototypeb3">Prototype</a> (::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *object, bool copy)</td></tr> 73 74<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_1Prototypeb4">operator=</a> (const <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> &)</td></tr> 75 76<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb5" doxytag="FLAC::Metadata::Prototype::operator="></a> 77<a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> &)</td></tr> 78 79<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb6" doxytag="FLAC::Metadata::Prototype::operator="></a> 80<a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const ::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> *)</td></tr> 81 82<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> 83 84<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> 85 86<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentp0" doxytag="FLAC::Metadata::Prototype::object_"></a> 88::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td><td class="memItemRight" valign="bottom"><b>object_</b></td></tr> 89 90<tr><td colspan="2"><br><h2>Friends</h2></td></tr> 91<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentn0" doxytag="FLAC::Metadata::Prototype::SimpleIterator"></a> 92class </td><td class="memItemRight" valign="bottom"><b>SimpleIterator</b></td></tr> 93 94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentn1" doxytag="FLAC::Metadata::Prototype::Iterator"></a> 95class </td><td class="memItemRight" valign="bottom"><b>Iterator</b></td></tr> 96 97</table> 98<hr><h2>Constructor & Destructor Documentation</h2> 99<a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb0" doxytag="FLAC::Metadata::Prototype::Prototype"></a><p> 100<table class="mdTable" cellpadding="2" cellspacing="0"> 101 <tr> 102 <td class="mdRow"> 103 <table cellpadding="0" cellspacing="0" border="0"> 104 <tr> 105 <td class="md" nowrap valign="top">FLAC::Metadata::Prototype::Prototype </td> 106 <td class="md" valign="top">( </td> 107 <td class="md" nowrap valign="top">const <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> & </td> 108 <td class="mdname1" valign="top" nowrap> </td> 109 <td class="md" valign="top"> ) </td> 110 <td class="md" nowrap><code> [protected]</code></td> 111 </tr> 112 </table> 113 </td> 114 </tr> 115</table> 116<table cellspacing="5" cellpadding="0" border="0"> 117 <tr> 118 <td> 119 120 </td> 121 <td> 122 123<p> 124Constructs a copy of the given object. This form always performs a deep copy. </td> 125 </tr> 126</table> 127<a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb3" doxytag="FLAC::Metadata::Prototype::Prototype"></a><p> 128<table class="mdTable" cellpadding="2" cellspacing="0"> 129 <tr> 130 <td class="mdRow"> 131 <table cellpadding="0" cellspacing="0" border="0"> 132 <tr> 133 <td class="md" nowrap valign="top">FLAC::Metadata::Prototype::Prototype </td> 134 <td class="md" valign="top">( </td> 135 <td class="md" nowrap valign="top">::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td> 136 <td class="mdname" nowrap> <em>object</em>, </td> 137 </tr> 138 <tr> 139 <td class="md" nowrap align="right"></td> 140 <td class="md"></td> 141 <td class="md" nowrap>bool </td> 142 <td class="mdname" nowrap> <em>copy</em></td> 143 </tr> 144 <tr> 145 <td class="md"></td> 146 <td class="md">) </td> 147 <td class="md" colspan="2"><code> [protected]</code></td> 148 </tr> 149 </table> 150 </td> 151 </tr> 152</table> 153<table cellspacing="5" cellpadding="0" border="0"> 154 <tr> 155 <td> 156 157 </td> 158 <td> 159 160<p> 161Constructs an object with copy control. When <em>copy</em> is <code>true</code>, behaves identically to FLAC::Metadata::Prototype::Prototype(const ::FLAC__StreamMetadata *object). When <em>copy</em> is <code>false</code>, the instance takes ownership of the pointer and the <a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> object will be freed by the destructor.<p> 162<dl compact><dt><b>Assertions: </b></dt><dd><div class="fragment"><pre class="fragment"> object != NULL 163</pre></div> </dd></dl> 164 </td> 165 </tr> 166</table> 167<a class="anchor" name="FLAC_1_1Metadata_1_1Prototypea0" doxytag="FLAC::Metadata::Prototype::~Prototype"></a><p> 168<table class="mdTable" cellpadding="2" cellspacing="0"> 169 <tr> 170 <td class="mdRow"> 171 <table cellpadding="0" cellspacing="0" border="0"> 172 <tr> 173 <td class="md" nowrap valign="top">virtual FLAC::Metadata::Prototype::~Prototype </td> 174 <td class="md" valign="top">( </td> 175 <td class="mdname1" valign="top" nowrap> </td> 176 <td class="md" valign="top"> ) </td> 177 <td class="md" nowrap><code> [virtual]</code></td> 178 </tr> 179 </table> 180 </td> 181 </tr> 182</table> 183<table cellspacing="5" cellpadding="0" border="0"> 184 <tr> 185 <td> 186 187 </td> 188 <td> 189 190<p> 191Deletes the underlying <a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> object. </td> 192 </tr> 193</table> 194<hr><h2>Member Function Documentation</h2> 195<a class="anchor" name="FLAC_1_1Metadata_1_1Prototypeb4" doxytag="FLAC::Metadata::Prototype::operator="></a><p> 196<table class="mdTable" cellpadding="2" cellspacing="0"> 197 <tr> 198 <td class="mdRow"> 199 <table cellpadding="0" cellspacing="0" border="0"> 200 <tr> 201 <td class="md" nowrap valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a>& FLAC::Metadata::Prototype::operator= </td> 202 <td class="md" valign="top">( </td> 203 <td class="md" nowrap valign="top">const <a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a> & </td> 204 <td class="mdname1" valign="top" nowrap> </td> 205 <td class="md" valign="top"> ) </td> 206 <td class="md" nowrap><code> [protected]</code></td> 207 </tr> 208 </table> 209 </td> 210 </tr> 211</table> 212<table cellspacing="5" cellpadding="0" border="0"> 213 <tr> 214 <td> 215 216 </td> 217 <td> 218 219<p> 220Assign from another object. Always performs a deep copy. </td> 221 </tr> 222</table> 223<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentb0" doxytag="FLAC::Metadata::Prototype::assign_object"></a><p> 224<table class="mdTable" cellpadding="2" cellspacing="0"> 225 <tr> 226 <td class="mdRow"> 227 <table cellpadding="0" cellspacing="0" border="0"> 228 <tr> 229 <td class="md" nowrap valign="top"><a class="el" href="classFLAC_1_1Metadata_1_1Prototype.html">Prototype</a>& FLAC::Metadata::Prototype::assign_object </td> 230 <td class="md" valign="top">( </td> 231 <td class="md" nowrap valign="top">::<a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> * </td> 232 <td class="mdname" nowrap> <em>object</em>, </td> 233 </tr> 234 <tr> 235 <td class="md" nowrap align="right"></td> 236 <td class="md"></td> 237 <td class="md" nowrap>bool </td> 238 <td class="mdname" nowrap> <em>copy</em></td> 239 </tr> 240 <tr> 241 <td class="md"></td> 242 <td class="md">) </td> 243 <td class="md" colspan="2"><code> [protected]</code></td> 244 </tr> 245 </table> 246 </td> 247 </tr> 248</table> 249<table cellspacing="5" cellpadding="0" border="0"> 250 <tr> 251 <td> 252 253 </td> 254 <td> 255 256<p> 257Assigns 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> 258 </tr> 259</table> 260<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommentb1" doxytag="FLAC::Metadata::Prototype::clear"></a><p> 261<table class="mdTable" cellpadding="2" cellspacing="0"> 262 <tr> 263 <td class="mdRow"> 264 <table cellpadding="0" cellspacing="0" border="0"> 265 <tr> 266 <td class="md" nowrap valign="top">virtual void FLAC::Metadata::Prototype::clear </td> 267 <td class="md" valign="top">( </td> 268 <td class="mdname1" valign="top" nowrap> </td> 269 <td class="md" valign="top"> ) </td> 270 <td class="md" nowrap><code> [protected, virtual]</code></td> 271 </tr> 272 </table> 273 </td> 274 </tr> 275</table> 276<table cellspacing="5" cellpadding="0" border="0"> 277 <tr> 278 <td> 279 280 </td> 281 <td> 282 283<p> 284Deletes the underlying <a class="el" href="structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a> object. </td> 285 </tr> 286</table> 287<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta27" doxytag="FLAC::Metadata::Prototype::get_is_last"></a><p> 288<table class="mdTable" cellpadding="2" cellspacing="0"> 289 <tr> 290 <td class="mdRow"> 291 <table cellpadding="0" cellspacing="0" border="0"> 292 <tr> 293 <td class="md" nowrap valign="top">bool FLAC::Metadata::Prototype::get_is_last </td> 294 <td class="md" valign="top">( </td> 295 <td class="mdname1" valign="top" nowrap> </td> 296 <td class="md" valign="top"> ) </td> 297 <td class="md" nowrap> const</td> 298 </tr> 299 </table> 300 </td> 301 </tr> 302</table> 303<table cellspacing="5" cellpadding="0" border="0"> 304 <tr> 305 <td> 306 307 </td> 308 <td> 309 310<p> 311Returns <code>true</code> if this block is the last block in a stream, else <code>false</code>.<p> 312<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>() 313</pre></div> </dd></dl> 314 </td> 315 </tr> 316</table> 317<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta28" doxytag="FLAC::Metadata::Prototype::get_type"></a><p> 318<table class="mdTable" cellpadding="2" cellspacing="0"> 319 <tr> 320 <td class="mdRow"> 321 <table cellpadding="0" cellspacing="0" border="0"> 322 <tr> 323 <td class="md" nowrap valign="top">::<a class="el" href="group__flac__format.html#ga113">FLAC__MetadataType</a> FLAC::Metadata::Prototype::get_type </td> 324 <td class="md" valign="top">( </td> 325 <td class="mdname1" valign="top" nowrap> </td> 326 <td class="md" valign="top"> ) </td> 327 <td class="md" nowrap> const</td> 328 </tr> 329 </table> 330 </td> 331 </tr> 332</table> 333<table cellspacing="5" cellpadding="0" border="0"> 334 <tr> 335 <td> 336 337 </td> 338 <td> 339 340<p> 341Returns the type of the block.<p> 342<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>() 343</pre></div> </dd></dl> 344 345<p> 346Reimplemented in <a class="el" href="classFLAC_1_1Metadata_1_1Picture.html#FLAC_1_1Metadata_1_1Picturea16">FLAC::Metadata::Picture</a>. </td> 347 </tr> 348</table> 349<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta29" doxytag="FLAC::Metadata::Prototype::get_length"></a><p> 350<table class="mdTable" cellpadding="2" cellspacing="0"> 351 <tr> 352 <td class="mdRow"> 353 <table cellpadding="0" cellspacing="0" border="0"> 354 <tr> 355 <td class="md" nowrap valign="top">unsigned FLAC::Metadata::Prototype::get_length </td> 356 <td class="md" valign="top">( </td> 357 <td class="mdname1" valign="top" nowrap> </td> 358 <td class="md" valign="top"> ) </td> 359 <td class="md" nowrap> const</td> 360 </tr> 361 </table> 362 </td> 363 </tr> 364</table> 365<table cellspacing="5" cellpadding="0" border="0"> 366 <tr> 367 <td> 368 369 </td> 370 <td> 371 372<p> 373Returns the stream length of the metadata block.<p> 374<dl compact><dt><b>Note:</b></dt><dd>The length does not include the metadata block header, per spec.</dd></dl> 375<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>() 376</pre></div> </dd></dl> 377 </td> 378 </tr> 379</table> 380<a class="anchor" name="FLAC_1_1Metadata_1_1VorbisCommenta30" doxytag="FLAC::Metadata::Prototype::set_is_last"></a><p> 381<table class="mdTable" cellpadding="2" cellspacing="0"> 382 <tr> 383 <td class="mdRow"> 384 <table cellpadding="0" cellspacing="0" border="0"> 385 <tr> 386 <td class="md" nowrap valign="top">void FLAC::Metadata::Prototype::set_is_last </td> 387 <td class="md" valign="top">( </td> 388 <td class="md" nowrap valign="top">bool </td> 389 <td class="mdname1" valign="top" nowrap> </td> 390 <td class="md" valign="top"> ) </td> 391 <td class="md" nowrap></td> 392 </tr> 393 </table> 394 </td> 395 </tr> 396</table> 397<table cellspacing="5" cellpadding="0" border="0"> 398 <tr> 399 <td> 400 401 </td> 402 <td> 403 404<p> 405Sets 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> 406<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>() 407</pre></div> </dd></dl> 408 </td> 409 </tr> 410</table> 411<hr>The documentation for this class was generated from the following file:<ul> 412<li>include/FLAC++/<a class="el" href="+_2metadata_8h-source.html">metadata.h</a></ul> 413 414<hr size="1"> 415<div class="copyright"> 416 <!-- @@@ oh so hacky --> 417 <table> 418 <tr> 419 <td align="left"> 420 Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson 421 </td> 422 <td width="1%" align="right"> 423 <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> 424 </td> 425 </tr> 426 </table> 427</div> 428<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson --> 429<!-- Permission is granted to copy, distribute and/or modify this document --> 430<!-- under the terms of the GNU Free Documentation License, Version 1.1 --> 431<!-- or any later version published by the Free Software Foundation; --> 432<!-- with no invariant sections. --> 433<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> 434</body> 435</html> 436