<!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.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="tabs"> <ul> <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="contents"> <h1>src/tag.cpp File Reference</h1><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/> <p><a href="tag_8cpp_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader">operator<<</div></td></tr> <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp210d0c7a1cd3e8b9a392cd7c51ec8df4"></a>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 border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>frame</em> </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 class="footer"/><address style="text-align: right;"><small>Generated on Wed Jan 12 23:46:36 2011 for id3lib by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>