<!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"/> <title>id3lib: src/tag.cpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="id3lib.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <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> <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> <div class="header"> <div class="headertitle"> <h1>src/tag.cpp File Reference</h1> </div> </div> <div class="contents"> <div class="textblock"><code>#include "writers.h"</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><td colspan="2"><h2><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"><pre class="fragment"> <a class="code" href="class_i_d3___frame.html" title="The representative class of an id3v2 frame.">ID3_Frame</a> *pFrame, frame; p_frame = &frame; myTag << pFrame; myTag << frame; </pre></div><p>Both these methods copy the given frame to the tag---the tag creates its own copy of the frame.</p> <dl><dt><b>Parameters:</b></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><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[ID3_TAGHEADERSIZE])</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ab6d324d77a1d4aef5eca866d7efce5a1"></a><!-- doxytag: member="tag.cpp::ID3_IsTagHeader" ref="ab6d324d77a1d4aef5eca866d7efce5a1" args="(const uchar data[ID3_TAGHEADERSIZE])" --> <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> <hr size="1"><address style="text-align: right;"><small> Generated for id3lib by <a href="http://www.doxygen.org/ index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.3</small></address></body></html>