<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>fastcgi++: Fastcgipp::Block Struct 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.6 --> <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="namespaceFastcgipp.html">Fastcgipp</a>::<a class="el" href="structFastcgipp_1_1Block.html">Block</a> </div> </div> <div class="contents"> <h1>Fastcgipp::Block Struct Reference</h1><!-- doxytag: class="Fastcgipp::Block" -->A raw block of memory. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>></code> <p> <p> <a href="structFastcgipp_1_1Block-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="structFastcgipp_1_1Block.html#22087bb7e25a6ba6b45ccd0a80e23066">Block</a> (char *data_, size_t size_)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct from a pointer and size. <a href="#22087bb7e25a6ba6b45ccd0a80e23066"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastcgipp_1_1Block.html#9226974a6c021b674e1abbb857f752bf">Block</a> (const <a class="el" href="structFastcgipp_1_1Block.html">Block</a> &block)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies pointer and size, not data. <a href="#9226974a6c021b674e1abbb857f752bf"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structFastcgipp_1_1Block.html">Block</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastcgipp_1_1Block.html#90110dbc90ef7f2c6201ce06e625dfd2">operator=</a> (const <a class="el" href="structFastcgipp_1_1Block.html">Block</a> &block)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies pointer and size, not data. <a href="#90110dbc90ef7f2c6201ce06e625dfd2"></a><br></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastcgipp_1_1Block.html#bdc29a44ee3474fe007ac305504bd4b3">data</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to start of memory location. <a href="#bdc29a44ee3474fe007ac305504bd4b3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structFastcgipp_1_1Block.html#7ae19c5d24797e378b8435a9c22a8822">size</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Size in bytes of memory location. <a href="#7ae19c5d24797e378b8435a9c22a8822"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A raw block of memory. <p> The purpose of this structure is to communicate a block of data to be written to a <a class="el" href="classFastcgipp_1_1Transceiver_1_1Buffer.html" title="Buffer type for transmission of FastCGI records">Transceiver::Buffer</a> <p>Definition at line <a class="el" href="transceiver_8hpp-source.html#l00056">56</a> of file <a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="22087bb7e25a6ba6b45ccd0a80e23066"></a><!-- doxytag: member="Fastcgipp::Block::Block" ref="22087bb7e25a6ba6b45ccd0a80e23066" args="(char *data_, size_t size_)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Fastcgipp::Block::Block </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"> <em>data_</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>size_</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct from a pointer and size. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>data_</em> </td><td>Pointer to start of memory location </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>size_</em> </td><td>Size in bytes of memory location </td></tr> </table> </dl> <p>Definition at line <a class="el" href="transceiver_8hpp-source.html#l00063">63</a> of file <a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>.</p> </div> </div><p> <a class="anchor" name="9226974a6c021b674e1abbb857f752bf"></a><!-- doxytag: member="Fastcgipp::Block::Block" ref="9226974a6c021b674e1abbb857f752bf" args="(const Block &block)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Fastcgipp::Block::Block </td> <td>(</td> <td class="paramtype">const <a class="el" href="structFastcgipp_1_1Block.html">Block</a> & </td> <td class="paramname"> <em>block</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Copies pointer and size, not data. <p> <p>Definition at line <a class="el" href="transceiver_8hpp-source.html#l00065">65</a> of file <a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="90110dbc90ef7f2c6201ce06e625dfd2"></a><!-- doxytag: member="Fastcgipp::Block::operator=" ref="90110dbc90ef7f2c6201ce06e625dfd2" args="(const Block &block)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structFastcgipp_1_1Block.html">Block</a>& Fastcgipp::Block::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="structFastcgipp_1_1Block.html">Block</a> & </td> <td class="paramname"> <em>block</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Copies pointer and size, not data. <p> <p>Definition at line <a class="el" href="transceiver_8hpp-source.html#l00067">67</a> of file <a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>.</p> <p>References <a class="el" href="structFastcgipp_1_1Block.html#bdc29a44ee3474fe007ac305504bd4b3">data</a>, and <a class="el" href="structFastcgipp_1_1Block.html#7ae19c5d24797e378b8435a9c22a8822">size</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="bdc29a44ee3474fe007ac305504bd4b3"></a><!-- doxytag: member="Fastcgipp::Block::data" ref="bdc29a44ee3474fe007ac305504bd4b3" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structFastcgipp_1_1Block.html#bdc29a44ee3474fe007ac305504bd4b3">Fastcgipp::Block::data</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Pointer to start of memory location. <p> <p>Definition at line <a class="el" href="transceiver_8hpp-source.html#l00069">69</a> of file <a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>.</p> <p>Referenced by <a class="el" href="structFastcgipp_1_1Block.html#90110dbc90ef7f2c6201ce06e625dfd2">operator=()</a>.</p> </div> </div><p> <a class="anchor" name="7ae19c5d24797e378b8435a9c22a8822"></a><!-- doxytag: member="Fastcgipp::Block::size" ref="7ae19c5d24797e378b8435a9c22a8822" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t <a class="el" href="structFastcgipp_1_1Block.html#7ae19c5d24797e378b8435a9c22a8822">Fastcgipp::Block::size</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Size in bytes of memory location. <p> <p>Definition at line <a class="el" href="transceiver_8hpp-source.html#l00071">71</a> of file <a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a>.</p> <p>Referenced by <a class="el" href="structFastcgipp_1_1Block.html#90110dbc90ef7f2c6201ce06e625dfd2">operator=()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="transceiver_8hpp-source.html">transceiver.hpp</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 16 15:17:47 2008 for fastcgi++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>