<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Yate: MimeAuthLine Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.7.1 --> <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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceTelEngine.html">TelEngine</a>::<a class="el" href="classTelEngine_1_1MimeAuthLine.html">MimeAuthLine</a> </div> </div> <div class="contents"> <h1>MimeAuthLine Class Reference</h1><!-- doxytag: class="TelEngine::MimeAuthLine" --><!-- doxytag: inherits="TelEngine::MimeHeaderLine" -->MIME authentication line. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="yatemime_8h-source.html">yatemime.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for MimeAuthLine:</div> <div class="dynsection"> <p><center><img src="classTelEngine_1_1MimeAuthLine.png" usemap="#MimeAuthLine_map" border="0" alt=""></center> <map name="MimeAuthLine_map"> <area href="classTelEngine_1_1MimeHeaderLine.html" alt="MimeHeaderLine" shape="rect" coords="0,168,108,192"> <area href="classTelEngine_1_1NamedString.html" alt="NamedString" shape="rect" coords="0,112,108,136"> <area href="classTelEngine_1_1String.html" alt="String" shape="rect" coords="0,56,108,80"> <area href="classTelEngine_1_1GenObject.html" alt="GenObject" shape="rect" coords="0,0,108,24"> </map> </div> <p> <a href="classTelEngine_1_1MimeAuthLine-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1MimeAuthLine.html#5e009ded0ed90baa32035286b8177025">MimeAuthLine</a> (const char *name, const <a class="el" href="classTelEngine_1_1String.html">String</a> &value)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1MimeAuthLine.html#34a57e148fb0cff457d753ca27b0abf7">MimeAuthLine</a> (const <a class="el" href="classTelEngine_1_1MimeAuthLine.html">MimeAuthLine</a> &original, const char *newName=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1MimeAuthLine.html#aa71c3294b1a073c3ad0b64a2ed6325a">getObject</a> (const <a class="el" href="classTelEngine_1_1String.html">String</a> &name) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classTelEngine_1_1MimeHeaderLine.html">MimeHeaderLine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1MimeAuthLine.html#e8dc27d73dad51d3329e96e49d60d329">clone</a> (const char *newName=0) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTelEngine_1_1MimeAuthLine.html#132c1afcf7564ed7606198414977c4dd">buildLine</a> (<a class="el" href="classTelEngine_1_1String.html">String</a> &line) const </td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> MIME authentication line. <p> A MIME header line containing authentication data. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="5e009ded0ed90baa32035286b8177025"></a><!-- doxytag: member="TelEngine::MimeAuthLine::MimeAuthLine" ref="5e009ded0ed90baa32035286b8177025" args="(const char *name, const String &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classTelEngine_1_1MimeAuthLine.html">MimeAuthLine</a> </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classTelEngine_1_1String.html">String</a> & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. Builds a MIME authentication header line from a string buffer. Splits the value into header parameters <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The header name </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The header value </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="34a57e148fb0cff457d753ca27b0abf7"></a><!-- doxytag: member="TelEngine::MimeAuthLine::MimeAuthLine" ref="34a57e148fb0cff457d753ca27b0abf7" args="(const MimeAuthLine &original, const char *newName=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classTelEngine_1_1MimeAuthLine.html">MimeAuthLine</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTelEngine_1_1MimeAuthLine.html">MimeAuthLine</a> & </td> <td class="paramname"> <em>original</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>newName</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. Builds this MIME authentication header line from another one <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>original</em> </td><td>Original header line to build from. </td></tr> <tr><td valign="top"></td><td valign="top"><em>newName</em> </td><td>Optional new header name. If 0, the original name will be used </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="132c1afcf7564ed7606198414977c4dd"></a><!-- doxytag: member="TelEngine::MimeAuthLine::buildLine" ref="132c1afcf7564ed7606198414977c4dd" args="(String &line) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void buildLine </td> <td>(</td> <td class="paramtype"><a class="el" href="classTelEngine_1_1String.html">String</a> & </td> <td class="paramname"> <em>line</em> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Build a string line from this MIME header without adding a line separator <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>line</em> </td><td>Destination string </td></tr> </table> </dl> <p>Reimplemented from <a class="el" href="classTelEngine_1_1MimeHeaderLine.html#132c1afcf7564ed7606198414977c4dd">MimeHeaderLine</a>.</p> </div> </div><p> <a class="anchor" name="e8dc27d73dad51d3329e96e49d60d329"></a><!-- doxytag: member="TelEngine::MimeAuthLine::clone" ref="e8dc27d73dad51d3329e96e49d60d329" args="(const char *newName=0) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classTelEngine_1_1MimeHeaderLine.html">MimeHeaderLine</a>* clone </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>newName</em> = <code>0</code> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Duplicate this MIME header line. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>newName</em> </td><td>Optional new header name. If 0, this header's name will be used </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>Copy of this MIME header line </dd></dl> <p>Reimplemented from <a class="el" href="classTelEngine_1_1MimeHeaderLine.html#e8dc27d73dad51d3329e96e49d60d329">MimeHeaderLine</a>.</p> </div> </div><p> <a class="anchor" name="aa71c3294b1a073c3ad0b64a2ed6325a"></a><!-- doxytag: member="TelEngine::MimeAuthLine::getObject" ref="aa71c3294b1a073c3ad0b64a2ed6325a" args="(const String &name) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void* getObject </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTelEngine_1_1String.html">String</a> & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> RTTI method, get a pointer to a derived class given the class name. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Name of the class we are asking for </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the requested class or NULL if this object doesn't implement it </dd></dl> <p>Reimplemented from <a class="el" href="classTelEngine_1_1MimeHeaderLine.html#aa71c3294b1a073c3ad0b64a2ed6325a">MimeHeaderLine</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="yatemime_8h-source.html">yatemime.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Dec 7 21:36:11 2008 for Yate by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address> </body> </html>