/core/sdk-objc/Documentation/GMFinderInfo/Classes/GMFinderInfo_/Methods/Methods.html

http://macfuse.googlecode.com/ · HTML · 173 lines · 170 code · 3 blank · 0 comment · 0 complexity · 397b902b271eb703e01bc7258718b464 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
  2. <html>
  3. <head>
  4. <title>Methods</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <meta name="generator" content="HeaderDoc">
  7. <style type="text/css"><!--.keyword {background:#ffffff; color:#761550;}.template {background:#ffffff; color:#761550;}.number {background: #ffffff; color:#0000ff;}.function {background:#ffffff; color:#000000;}.string {background: #ffffff; color:#891315;}.preprocessor {background:#ffffff; color:#236e25}.comment {background:#ffffff; color:#236e25}.char {background: #ffffff; color:#0000ff;}.var {background:#ffffff; color:#000000;}.type {background:#ffffff; color:#761550;}.param {background:#ffffff; color:#000000;}a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}--></style>
  8. </head>
  9. <body bgcolor="#ffffff">
  10. <a name="top"></a><a name="HeaderDoc_methods"></a><dl>
  11. <dt><tt><a href="Methods.html#//apple_ref/occ/clm/GMFinderInfo/finderInfo" target="doc">+finderInfo</a></tt></dt>
  12. <dd>Returns an autorleased GMFinderInfo </dd>
  13. <dt><tt><a href="Methods.html#//apple_ref/occ/instm/GMFinderInfo/setFlags:" target="doc">-setFlags: </a></tt></dt>
  14. <dd>Sets FinderInfo flags.
  15. </dd>
  16. <dt><tt><a href="Methods.html#//apple_ref/occ/instm/GMFinderInfo/setExtendedFlags:" target="doc">-setExtendedFlags: </a></tt></dt>
  17. <dd>Sets FinderInfo extended flags.
  18. </dd>
  19. <dt><tt><a href="Methods.html#//apple_ref/occ/instm/GMFinderInfo/setTypeCode:" target="doc">-setTypeCode:</a></tt></dt>
  20. <dd>Sets FinderInfo four-char type code.
  21. </dd>
  22. <dt><tt><a href="Methods.html#//apple_ref/occ/instm/GMFinderInfo/setCreatorCode:" target="doc">-setCreatorCode:</a></tt></dt>
  23. <dd>Sets FinderInfo four-char creator code.
  24. </dd>
  25. <dt><tt><a href="Methods.html#//apple_ref/occ/instm/GMFinderInfo/data" target="doc">-data</a></tt></dt>
  26. <dd>Constucts the raw data for the FinderInfo.
  27. </dd>
  28. <dt><tt><a href="Methods.html#//apple_ref/occ/clm/GMFinderInfo/finderInfoWithFinderFlags:" target="doc">+finderInfoWithFinderFlags:</a></tt></dt>
  29. <dd>NSData for a FinderInfo with the given flags.
  30. </dd>
  31. <dt><tt><a href="Methods.html#//apple_ref/occ/clm/GMFinderInfo/finderInfoWithFinderFlags:typeCode:creatorCode:" target="doc">+finderInfoWithFinderFlags:typeCode:creatorCode:</a></tt></dt>
  32. <dd>NSData for a FinderInfo with the given flags, type, and creator.
  33. </dd>
  34. </dl>
  35. <hr>
  36. <!-- headerDoc=clm; uid=//apple_ref/occ/clm/GMFinderInfo/finderInfo; name=GMFinderInfo::finderInfo --><a name="//apple_ref/occ/clm/GMFinderInfo/finderInfo"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  37. <h3><a name="finderInfo">finderInfo</a></h3>
  38. </td></tr></table>
  39. <hr>
  40. <p><!-- begin abstract -->Returns an autorleased GMFinderInfo <!-- end abstract --></p>
  41. <p></p>
  42. <pre>+ (<a href="../../../../../Documentation/GMFinderInfo/Classes/GMFinderInfo_/index.html#//apple_ref/occ/cl/GMFinderInfo" logicalPath="//apple_ref/occ/cl/GMFinderInfo" target="_top"><span class="type">GMFinderInfo</span></a> <span class="type">*</span>)<span class="var">finderInfo</span>; </pre>
  43. <p></p>
  44. <hr>
  45. <!-- headerDoc=instm; uid=//apple_ref/occ/instm/GMFinderInfo/setFlags:; name=GMFinderInfo::setFlags: --><a name="//apple_ref/occ/instm/GMFinderInfo/setFlags:"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  46. <h3><a name="setFlags:">setFlags: </a></h3>
  47. </td></tr></table>
  48. <hr>
  49. <p><!-- begin abstract -->Sets FinderInfo flags.
  50. <!-- end abstract --></p>
  51. <p></p>
  52. <pre>- (<!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/setFlags //apple_ref/occ/clm/setFlags //apple_ref/occ/intfcm/setFlags //apple_ref/occ/intfm/setFlags //apple_ref/occ/func/setFlags //apple_ref/occ/ftmplt/setFlags //apple_ref/occ/defn/setFlags //apple_ref/occ/macro/setFlags" --><span class="function">setFlags</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/UInt16 //apple_ref/occ/tdef/UInt16 //apple_ref/occ/tag/UInt16 //apple_ref/occ/econst/UInt16 //apple_ref/occ/struct/UInt16 //apple_ref/occ/clconst/UInt16 //apple_ref/occ/intf/UInt16" --><span class="type">UInt16</span><!-- /a -->)<span class="var">flags</span>; </pre>
  53. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
  54. <dl>
  55. <dt><code>flags </code></dt>
  56. <dd>OR'd set of valid Finder flags.</dd>
  57. </dl>
  58. <h5 class="tight">
  59. <font face="Lucida Grande,Helvetica,Arial">Discussion</font>
  60. </h5>
  61. <p><!-- begin discussion -->See CarbonCore/Finder.h for the set of flags.
  62. <!-- end discussion --></p>
  63. <p></p>
  64. <hr>
  65. <!-- headerDoc=instm; uid=//apple_ref/occ/instm/GMFinderInfo/setExtendedFlags:; name=GMFinderInfo::setExtendedFlags: --><a name="//apple_ref/occ/instm/GMFinderInfo/setExtendedFlags:"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  66. <h3><a name="setExtendedFlags:">setExtendedFlags: </a></h3>
  67. </td></tr></table>
  68. <hr>
  69. <p><!-- begin abstract -->Sets FinderInfo extended flags.
  70. <!-- end abstract --></p>
  71. <p></p>
  72. <pre>- (<!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/setExtendedFlags //apple_ref/occ/clm/setExtendedFlags //apple_ref/occ/intfcm/setExtendedFlags //apple_ref/occ/intfm/setExtendedFlags //apple_ref/occ/func/setExtendedFlags //apple_ref/occ/ftmplt/setExtendedFlags //apple_ref/occ/defn/setExtendedFlags //apple_ref/occ/macro/setExtendedFlags" --><span class="function">setExtendedFlags</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/UInt16 //apple_ref/occ/tdef/UInt16 //apple_ref/occ/tag/UInt16 //apple_ref/occ/econst/UInt16 //apple_ref/occ/struct/UInt16 //apple_ref/occ/clconst/UInt16 //apple_ref/occ/intf/UInt16" --><span class="type">UInt16</span><!-- /a -->)<span class="var">extendedFlags</span>; </pre>
  73. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
  74. <dl>
  75. <dt><code>flags </code></dt>
  76. <dd>OR'd set of valid Finder extended flags.</dd>
  77. </dl>
  78. <h5 class="tight">
  79. <font face="Lucida Grande,Helvetica,Arial">Discussion</font>
  80. </h5>
  81. <p><!-- begin discussion -->See CarbonCore/Finder.h for the set of extended flags.
  82. <!-- end discussion --></p>
  83. <p></p>
  84. <hr>
  85. <!-- headerDoc=instm; uid=//apple_ref/occ/instm/GMFinderInfo/setTypeCode:; name=GMFinderInfo::setTypeCode: --><a name="//apple_ref/occ/instm/GMFinderInfo/setTypeCode:"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  86. <h3><a name="setTypeCode:">setTypeCode:</a></h3>
  87. </td></tr></table>
  88. <hr>
  89. <p><!-- begin abstract -->Sets FinderInfo four-char type code.
  90. <!-- end abstract --></p>
  91. <p></p>
  92. <pre>- (<!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/setTypeCode //apple_ref/occ/clm/setTypeCode //apple_ref/occ/intfcm/setTypeCode //apple_ref/occ/intfm/setTypeCode //apple_ref/occ/func/setTypeCode //apple_ref/occ/ftmplt/setTypeCode //apple_ref/occ/defn/setTypeCode //apple_ref/occ/macro/setTypeCode" --><span class="function">setTypeCode</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/OSType //apple_ref/occ/tdef/OSType //apple_ref/occ/tag/OSType //apple_ref/occ/econst/OSType //apple_ref/occ/struct/OSType //apple_ref/occ/clconst/OSType //apple_ref/occ/intf/OSType" --><span class="type">OSType</span><!-- /a -->)<span class="var">typeCode</span>; </pre>
  93. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
  94. <dl>
  95. <dt><code>typeCode </code></dt>
  96. <dd>The four-char type code to set.</dd>
  97. </dl>
  98. <p></p>
  99. <hr>
  100. <!-- headerDoc=instm; uid=//apple_ref/occ/instm/GMFinderInfo/setCreatorCode:; name=GMFinderInfo::setCreatorCode: --><a name="//apple_ref/occ/instm/GMFinderInfo/setCreatorCode:"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  101. <h3><a name="setCreatorCode:">setCreatorCode:</a></h3>
  102. </td></tr></table>
  103. <hr>
  104. <p><!-- begin abstract -->Sets FinderInfo four-char creator code.
  105. <!-- end abstract --></p>
  106. <p></p>
  107. <pre>- (<!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void</span><!-- /a -->)<!-- a logicalPath="//apple_ref/occ/instm/setCreatorCode //apple_ref/occ/clm/setCreatorCode //apple_ref/occ/intfcm/setCreatorCode //apple_ref/occ/intfm/setCreatorCode //apple_ref/occ/func/setCreatorCode //apple_ref/occ/ftmplt/setCreatorCode //apple_ref/occ/defn/setCreatorCode //apple_ref/occ/macro/setCreatorCode" --><span class="function">setCreatorCode</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/OSType //apple_ref/occ/tdef/OSType //apple_ref/occ/tag/OSType //apple_ref/occ/econst/OSType //apple_ref/occ/struct/OSType //apple_ref/occ/clconst/OSType //apple_ref/occ/intf/OSType" --><span class="type">OSType</span><!-- /a -->)<span class="var">creatorCode</span>; </pre>
  108. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
  109. <dl>
  110. <dt><code>typeCode </code></dt>
  111. <dd>The four-char creator code to set.</dd>
  112. </dl>
  113. <p></p>
  114. <hr>
  115. <!-- headerDoc=instm; uid=//apple_ref/occ/instm/GMFinderInfo/data; name=GMFinderInfo::data --><a name="//apple_ref/occ/instm/GMFinderInfo/data"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  116. <h3><a name="data">data</a></h3>
  117. </td></tr></table>
  118. <hr>
  119. <p><!-- begin abstract -->Constucts the raw data for the FinderInfo.
  120. <!-- end abstract --></p>
  121. <p></p>
  122. <pre>- (<!-- a logicalPath="//apple_ref/occ/cl/NSData //apple_ref/occ/tdef/NSData //apple_ref/occ/tag/NSData //apple_ref/occ/econst/NSData //apple_ref/occ/struct/NSData //apple_ref/occ/clconst/NSData //apple_ref/occ/intf/NSData" --><span class="type">NSData</span><!-- /a --> <span class="type">*</span>)<span class="var">data</span>; </pre>
  123. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Return Value</font></h5>
  124. <p><!-- begin return value -->NSData for the FinderInfo based on the current settings.
  125. <!-- end return value --></p>
  126. <p></p>
  127. <hr>
  128. <!-- headerDoc=clm; uid=//apple_ref/occ/clm/GMFinderInfo/finderInfoWithFinderFlags:; name=GMFinderInfo::finderInfoWithFinderFlags: --><a name="//apple_ref/occ/clm/GMFinderInfo/finderInfoWithFinderFlags:"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  129. <h3><a name="finderInfoWithFinderFlags:">finderInfoWithFinderFlags:</a></h3>
  130. </td></tr></table>
  131. <hr>
  132. <p><!-- begin abstract -->NSData for a FinderInfo with the given flags.
  133. <!-- end abstract --></p>
  134. <p><b>Deprecated:</b> This method is deprecated.<br></p>
  135. <pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSData //apple_ref/occ/tdef/NSData //apple_ref/occ/tag/NSData //apple_ref/occ/econst/NSData //apple_ref/occ/struct/NSData //apple_ref/occ/clconst/NSData //apple_ref/occ/intf/NSData" --><span class="type">NSData</span><!-- /a --> <span class="type">*</span>)<!-- a logicalPath="//apple_ref/occ/instm/finderInfoWithFinderFlags //apple_ref/occ/clm/finderInfoWithFinderFlags //apple_ref/occ/intfcm/finderInfoWithFinderFlags //apple_ref/occ/intfm/finderInfoWithFinderFlags //apple_ref/occ/func/finderInfoWithFinderFlags //apple_ref/occ/ftmplt/finderInfoWithFinderFlags //apple_ref/occ/defn/finderInfoWithFinderFlags //apple_ref/occ/macro/finderInfoWithFinderFlags" --><span class="function">finderInfoWithFinderFlags</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/UInt16 //apple_ref/occ/tdef/UInt16 //apple_ref/occ/tag/UInt16 //apple_ref/occ/econst/UInt16 //apple_ref/occ/struct/UInt16 //apple_ref/occ/clconst/UInt16 //apple_ref/occ/intf/UInt16" --><span class="type">UInt16</span><!-- /a -->)<span class="var">flags</span>; </pre>
  136. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
  137. <dl>
  138. <dt><code>flags </code></dt>
  139. <dd>OR'd set of FinderInfo flags.</dd>
  140. </dl>
  141. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Return Value</font></h5>
  142. <p><!-- begin return value -->NSData of the FinderInfo.
  143. <!-- end return value --></p>
  144. <p></p>
  145. <hr>
  146. <!-- headerDoc=clm; uid=//apple_ref/occ/clm/GMFinderInfo/finderInfoWithFinderFlags:typeCode:creatorCode:; name=GMFinderInfo::finderInfoWithFinderFlags:typeCode:creatorCode: --><a name="//apple_ref/occ/clm/GMFinderInfo/finderInfoWithFinderFlags:typeCode:creatorCode:"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
  147. <h3><a name="finderInfoWithFinderFlags:typeCode:creatorCode:">finderInfoWithFinderFlags:typeCode:creatorCode:</a></h3>
  148. </td></tr></table>
  149. <hr>
  150. <p><!-- begin abstract -->NSData for a FinderInfo with the given flags, type, and creator.
  151. <!-- end abstract --></p>
  152. <p><b>Deprecated:</b> This method is deprecated.<br></p>
  153. <pre>+ (<!-- a logicalPath="//apple_ref/occ/cl/NSData //apple_ref/occ/tdef/NSData //apple_ref/occ/tag/NSData //apple_ref/occ/econst/NSData //apple_ref/occ/struct/NSData //apple_ref/occ/clconst/NSData //apple_ref/occ/intf/NSData" --><span class="type">NSData</span><!-- /a --> <span class="type">*</span>)<!-- a logicalPath="//apple_ref/occ/instm/finderInfoWithFinderFlags //apple_ref/occ/clm/finderInfoWithFinderFlags //apple_ref/occ/intfcm/finderInfoWithFinderFlags //apple_ref/occ/intfm/finderInfoWithFinderFlags //apple_ref/occ/func/finderInfoWithFinderFlags //apple_ref/occ/ftmplt/finderInfoWithFinderFlags //apple_ref/occ/defn/finderInfoWithFinderFlags //apple_ref/occ/macro/finderInfoWithFinderFlags" --><span class="function">finderInfoWithFinderFlags</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/UInt16 //apple_ref/occ/tdef/UInt16 //apple_ref/occ/tag/UInt16 //apple_ref/occ/econst/UInt16 //apple_ref/occ/struct/UInt16 //apple_ref/occ/clconst/UInt16 //apple_ref/occ/intf/UInt16" --><span class="type">UInt16</span><!-- /a -->)<span class="param">flags</span> <!-- a logicalPath="//apple_ref/occ/instm/typeCode //apple_ref/occ/clm/typeCode //apple_ref/occ/intfcm/typeCode //apple_ref/occ/intfm/typeCode //apple_ref/occ/func/typeCode //apple_ref/occ/ftmplt/typeCode //apple_ref/occ/defn/typeCode //apple_ref/occ/macro/typeCode" --><span class="function">typeCode</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/OSType //apple_ref/occ/tdef/OSType //apple_ref/occ/tag/OSType //apple_ref/occ/econst/OSType //apple_ref/occ/struct/OSType //apple_ref/occ/clconst/OSType //apple_ref/occ/intf/OSType" --><span class="type">OSType</span><!-- /a -->)<span class="param">typeCode</span> <!-- a logicalPath="//apple_ref/occ/instm/creatorCode //apple_ref/occ/clm/creatorCode //apple_ref/occ/intfcm/creatorCode //apple_ref/occ/intfm/creatorCode //apple_ref/occ/func/creatorCode //apple_ref/occ/ftmplt/creatorCode //apple_ref/occ/defn/creatorCode //apple_ref/occ/macro/creatorCode" --><span class="function">creatorCode</span><!-- /a -->:(<!-- a logicalPath="//apple_ref/occ/cl/OSType //apple_ref/occ/tdef/OSType //apple_ref/occ/tag/OSType //apple_ref/occ/econst/OSType //apple_ref/occ/struct/OSType //apple_ref/occ/clconst/OSType //apple_ref/occ/intf/OSType" --><span class="type">OSType</span><!-- /a -->)<span class="var">creatorCode</span>; </pre>
  154. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters</font></h5>
  155. <dl>
  156. <dt><code>flags </code></dt>
  157. <dd>OR'd set of FinderInfo flags.</dd>
  158. <dt><code>typeCode </code></dt>
  159. <dd>The four-char type code.</dd>
  160. <dt><code>creatorCode </code></dt>
  161. <dd>The four-char creator code.</dd>
  162. </dl>
  163. <h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Return Value</font></h5>
  164. <p><!-- begin return value -->NSData of the FinderInfo.
  165. <!-- end return value --></p>
  166. <p></p>
  167. <p>Last Updated: Monday, November 17, 2008
  168. </p>
  169. </body>
  170. </html>