1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::gfx::Result</title> 51 </head> 52 <body> 53 <h1><CODE>nw::gfx::Result</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class Result</pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>Class for returning the results of operations.</p> 61 </div> 62 <a name="constant" id="constant"> 63 <h2>Member Constants</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <td width="100"> 68 <span class="static_style" title="static">S</span> 69 </td> 70 <th> 71 <span class="argument"><a href="../../../nw/gfx/Result/MASK_FAIL_BIT.html"><CODE>MASK_FAIL_BIT</CODE></a></span> 72 </th> 73 <td>Bits that represent either success or failure.</td> 74 </tr> 75 <tr> 76 <td width="100"> 77 <span class="static_style" title="static">S</span> 78 </td> 79 <th> 80 <span class="argument"><a href="../../../nw/gfx/Result/MASK_DESCRIPTION.html"><CODE>MASK_DESCRIPTION</CODE></a></span> 81 </th> 82 <td>Bits that represent the content of errors.</td> 83 </tr> </table> 84 </div> 85 </a> <a name="function" id="function"> 86 <h2>Member Functions</h2> 87 <div class="section"> 88 <table class="members"> 89 <tr> 90 <td width="100"> </td> 91 <th> 92 <a href="../../../nw/gfx/Result/Result.html">Result</a> 93 </th> 94 <td>Constructor.</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99 <a href="../../../nw/gfx/Result/operator=.html"><CODE>operator=</CODE></a> 100 </th> 101 <td>Bit assignment.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106 <a href="../../../nw/gfx/Result/operator-7c=.html"><CODE>operator|=</CODE></a> 107 </th> 108 <td>Bitwise OR assignment.</td> 109 </tr> 110 <tr> 111 <td width="100"> </td> 112 <th> 113 <CODE><a href="../../../nw/gfx/Result/operator&=.html">operator&=</a></CODE> 114 </th> 115 <td>Bitwise AND assignment.</td> 116 </tr> 117 <tr> 118 <td width="100"> </td> 119 <th> 120 <a href="../../../nw/gfx/Result/GetCode.html"><CODE>GetCode</CODE></a> 121 </th> 122 <td>Gets a value representing an error code.</td> 123 </tr> 124 <tr> 125 <td width="100"> </td> 126 <th> 127 <a href="../../../nw/gfx/Result/IsFailure.html"><CODE>IsFailure</CODE></a> 128 </th> 129 <td>Returns <CODE>true</CODE> if the operation failed, or <CODE>false</CODE> if it succeeded.</td> 130 </tr> 131 <tr> 132 <td width="100"> </td> 133 <th> 134 <a href="../../../nw/gfx/Result/IsSuccess.html"><CODE>IsSuccess</CODE></a> 135 </th> 136 <td>Returns <CODE>true</CODE> if the operation succeeded, or <CODE>false</CODE> if it failed.</td> 137 </tr> 138 <tr> 139 <td width="100"> </td> 140 <th> 141 <a href="../../../nw/gfx/Result/GetDescription.html"><CODE>GetDescription</CODE></a> 142 </th> 143 <td>Gets the error content.</td> 144 </tr> </table> 145 </div> 146 </a> 147 <h2>See Also</h2> 148 <div class="section"> 149 <p class="reference"><a href="../../../nw/gfx/ResourceResult.html">ResourceResult</a><br /><a href="../../../nw/gfx/InitializeResult.html">InitializeResult</a><br /><a href="../../../nw/gfx/BindResult.html">BindResult</a><br /> </p> 150 </div> 151 <hr><p>CONFIDENTIAL</p></body> 152</html>