|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ImageStone: FCOXOHelper Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a></div>
<h1>FCOXOHelper Class Reference</h1>Some helper funtion.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="oxo__helper_8h-source.html">oxo_helper.h</a>></code>
<p>
<a href="class_f_c_o_x_o_helper-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0" doxytag="FCOXOHelper::GetFileExt"></a>
static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#e0">GetFileExt</a> (const char *pFile)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get filename's ext name. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1" doxytag="FCOXOHelper::GetImageTypeFromName"></a>
static IMAGE_TYPE </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#e1">GetImageTypeFromName</a> (const char *szFileName)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get image file's format by ext name. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2" doxytag="FCOXOHelper::BubbleSort"></a>
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#e2">BubbleSort</a> (int pArray[], int iNumElement)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Output is from small to big. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Memory helper.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z45_0" doxytag="FCOXOHelper::ZeroMalloc"></a>
static BYTE * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z45_0">ZeroMalloc</a> (int nBytes)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allocate memory with initialized to zero. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z45_1" doxytag="FCOXOHelper::ZeroFree"></a>
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z45_1">ZeroFree</a> (void *pPixel)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Free memory alloc by ZeroMalloc. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">File helper.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z47_0" doxytag="FCOXOHelper::SaveBufferToFile"></a>
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z47_0">SaveBufferToFile</a> (const char *szFilename, const char *pBuffer, int nLength)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Save buffer to file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z47_1" doxytag="FCOXOHelper::LoadFileToBuffer"></a>
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z47_1">LoadFileToBuffer</a> (const char *szFilename, char *&pBuffer, int &nLength)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Load file to memory (you must use <b>delete[]</b> to free returned pBuffer). <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">String convert helper.</div></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="z49_0" doxytag="FCOXOHelper::X2A"></a>
template<class T> </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static std::string </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z49_0">X2A</a> (const T &tNumber, int nWidth=0)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">int/long/float/double ==> ASCII <br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="z49_1" doxytag="FCOXOHelper::A2X"></a>
template<class T> </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z49_1">A2X</a> (const std::string &strNumber, T &tResult)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">ASCII ==> int/long/float/double. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z49_2" doxytag="FCOXOHelper::EncodeURL"></a>
static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z49_2">EncodeURL</a> (const char *pBufDummy, int nLen)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">URL encode. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">File type.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z51_0" doxytag="FCOXOHelper::LoadPhotoshopACF"></a>
static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z51_0">LoadPhotoshopACF</a> (const char *szFileName, std::deque< int > &listElem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Load Photoshop's .acf file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z51_1" doxytag="FCOXOHelper::SavePhotoshopACF"></a>
static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z51_1">SavePhotoshopACF</a> (const char *szFileName, const std::deque< int > &listElem)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Save Photoshop's .acf file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z51_2" doxytag="FCOXOHelper::LoadPhoXoSettingFile"></a>
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z51_2">LoadPhoXoSettingFile</a> (const char *szFileName, <a class="el" href="struct_f_c_o_x_o_helper_1_1_p_h_o_x_o_s_e_t_t_i_n_g.html">PHOXOSETTING</a> &oXoSetting)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Load PhoXo's setting. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z51_3" doxytag="FCOXOHelper::SavePhoXoSettingFile"></a>
static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_o_x_o_helper.html#z51_3">SavePhoXoSettingFile</a> (const char *szFileName, const <a class="el" href="struct_f_c_o_x_o_helper_1_1_p_h_o_x_o_s_e_t_t_i_n_g.html">PHOXOSETTING</a> &oXoSetting)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Save PhoXo's setting. <br></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_f_c_o_x_o_helper_1_1_p_h_o_x_o_s_e_t_t_i_n_g.html">PHOXOSETTING</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">PhoXo setting file format. <a href="struct_f_c_o_x_o_helper_1_1_p_h_o_x_o_s_e_t_t_i_n_g.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Some helper funtion.
<p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="oxo__helper_8h-source.html">oxo_helper.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Mar 8 11:12:47 2006 for ImageStone by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
graduate from University of Science and Technology of China at 2002.
Now I work at www.phoxo.com.