<!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> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3"/> <title>id3lib: src/tag.cpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="id3lib.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">id3lib  <span id="projectnumber">3.8.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">tag.cpp File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="writers_8h_source.html">writers.h</a>"</code><br/> <code>#include "<a class="el" href="tag__impl_8h_source.html">tag_impl.h</a>"</code><br/> </div> <p><a href="tag_8cpp_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">operator<<</div></td></tr> <tr><td colspan="2"><div class="groupText"><p>Copies a frame to the tag.</p> <p>The frame parameter can thus safely be deleted or allowed to go out of scope.</p> <p>Operator<< supports the addition of a pointer to a frame object, or the frame object itself.</p> <div class="fragment"><div class="line"><a class="code" href="class_i_d3___frame.html" title="The representative class of an id3v2 frame.">ID3_Frame</a> *pFrame, frame;</div> <div class="line">p_frame = &frame;</div> <div class="line">myTag << pFrame;</div> <div class="line">myTag << frame;</div> </div><!-- fragment --><p>Both these methods copy the given frame to the tag—the tag creates its own copy of the frame.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">frame</td><td>The frame to be added to the tag. </td></tr> </table> </dd> </dl> </div></td></tr> <tr class="memitem:ab6d324d77a1d4aef5eca866d7efce5a1"><td class="memItemLeft" align="right" valign="top">int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="tag_8cpp.html#ab6d324d77a1d4aef5eca866d7efce5a1">ID3_IsTagHeader</a> (const <a class="el" href="globals_8h.html#a65f85814a8290f9797005d3b28e7e5fc">uchar</a> data[<a class="el" href="globals_8h.html#ab868d84472615bfe3b84411ae816334a">ID3_TAGHEADERSIZE</a>])</td></tr> <tr class="separator:ab6d324d77a1d4aef5eca866d7efce5a1"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="ab6d324d77a1d4aef5eca866d7efce5a1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32 ID3_IsTagHeader </td> <td>(</td> <td class="paramtype">const <a class="el" href="globals_8h.html#a65f85814a8290f9797005d3b28e7e5fc">uchar</a> </td> <td class="paramname"><em>data</em>[ID3_TAGHEADERSIZE]</td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="tag_8cpp_source.html#l01054">1054</a> of file <a class="el" href="tag_8cpp_source.html">tag.cpp</a>.</p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Apr 5 2013 19:40:29 for id3lib by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3 </small></address> </body> </html>