<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: dox/Common/vtkByteSwap.h File 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="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="contents"> <h1>dox/Common/vtkByteSwap.h File Reference</h1> <p> <code>#include "<a class="el" href="a03875.html">vtkObject.h</a>"</code><br> <p> <div class="dynheader"> Include dependency graph for vtkByteSwap.h:</div> <div class="dynsection"> <p><center><img src="a05582.png" border="0" usemap="#dox/Common/vtkByteSwap.h_map" alt=""></center> <map name="dox/Common/vtkByteSwap.h_map"> <area shape="rect" href="a02079.html" title="vtkObject.h" alt="" coords="619,80,709,107"><area shape="rect" href="a02080.html" title="vtkObjectBase.h" alt="" coords="471,155,593,181"><area shape="rect" href="a02146.html" title="vtkTimeStamp.h" alt="" coords="669,229,789,256"><area shape="rect" href="a02038.html" title="vtkIndent.h" alt="" coords="487,229,577,256"><area shape="rect" href="a02139.html" title="vtkSystemIncludes.h" alt="" coords="541,304,688,331"><area shape="rect" href="a02170.html" title="vtkWin32Header.h" alt="" coords="5,453,141,480"><area shape="rect" href="a02064.html" title="vtkIOStream.h" alt="" coords="257,379,367,405"><area shape="rect" href="a02149.html" title="vtkType.h" alt="" coords="645,453,728,480"><area shape="rect" href="a02085.html" title="vtkOStreamWrapper.h" alt="" coords="441,379,599,405"><area shape="rect" href="a02086.html" title="vtkOStrStreamWrapper.h" alt="" coords="623,379,799,405"></map> </div> <p> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> <p><center><img src="a05583.png" border="0" usemap="#dox/Common/vtkByteSwap.hdep_map" alt=""></center> <map name="dox/Common/vtkByteSwap.hdep_map"> <area shape="rect" href="a03343.html" title="dox/Parallel/vtkSocketCommunicator.h" alt="" coords="6,80,262,107"></map> </div> <p> <a href="a03789.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00221.html">vtkByteSwap</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">perform machine dependent byte swapping <a href="a00221.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a01993.html#70c1b078111eb29f3d0afbf4d5a7f0e1">VTK_BYTE_SWAP_DECL</a>(T)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="70c1b078111eb29f3d0afbf4d5a7f0e1"></a><!-- doxytag: member="vtkByteSwap.h::VTK_BYTE_SWAP_DECL" ref="70c1b078111eb29f3d0afbf4d5a7f0e1" args="(T)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define VTK_BYTE_SWAP_DECL </td> <td>(</td> <td class="paramtype">T </td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">static</span> <span class="keywordtype">void</span> SwapLE(T* p); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapBE(T* p); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapLERange(T* p, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> num); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapBERange(T* p, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> num); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapLERangeWrite(<span class="keyword">const</span> T* p, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> num, FILE* file); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapBERangeWrite(<span class="keyword">const</span> T* p, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> num, FILE* file); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapLERangeWrite(<span class="keyword">const</span> T* p, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> num, ostream* os); \ <span class="keyword">static</span> <span class="keywordtype">void</span> SwapBERangeWrite(<span class="keyword">const</span> T* p, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> num, ostream* os) </pre></div>Type-safe swap signatures to swap for storage in either Little Endian or Big Endian format. Swapping is performed according to the true size of the type given. <p>Definition at line <a class="el" href="a03789.html#l00042">42</a> of file <a class="el" href="a03789.html">vtkByteSwap.h</a>.</p> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:36:12 2009 for VTK 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>