Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_beta / c / union_p_p___var_value.html
1 {{+bindTo:partials.standard_nacl_article}}
2 <h1>PP_VarValue Union Reference</h1>
3 <div>
4 <!-- Generated by Doxygen 1.7.6.1 -->
5
6
7 </div>
8 <!--header-->
9 <div class="contents">
10 <!-- doxytag: class="PP_VarValue" --><h2>
11 Data Fields</h2><table class="memberdecls">
12
13 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___enums.html#ga4f272d99be14aacafe08dfd4ef830918">PP_Bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_p_p___var_value.html#ab7c79b63a2e7fef545fcf8195bb5ad12">as_bool</a></td></tr>
14 <tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_p_p___var_value.html#a74da1e2b62153f138ae49147842f6d2c">as_int</a></td></tr>
15 <tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_p_p___var_value.html#aa4a3a6095ef825b30237d7c856ba4bf7">as_double</a></td></tr>
16 <tr><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_p_p___var_value.html#af3087d15f3c1ee35fe48f215292df1ad">as_id</a></td></tr>
17 </table>
18 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
19 <div class="textblock"><p>The <a class="el" href="union_p_p___var_value.html" title="The PP_VarValue union stores the data for any one of the types listed in the PP_VarType enum...">PP_VarValue</a> union stores the data for any one of the types listed in the PP_VarType enum. </p>
20 </div><hr /><h2>Field Documentation</h2>
21 <a class="anchor" id="ab7c79b63a2e7fef545fcf8195bb5ad12"></a><!-- doxytag: member="PP_VarValue::as_bool" ref="ab7c79b63a2e7fef545fcf8195bb5ad12" args="" -->
22 <div class="memitem">
23 <div class="memproto">
24 <table class="memname">
25 <tr>
26 <td class="memname"><a class="el" href="group___enums.html#ga4f272d99be14aacafe08dfd4ef830918">PP_Bool</a> <a class="el" href="union_p_p___var_value.html#ab7c79b63a2e7fef545fcf8195bb5ad12">PP_VarValue::as_bool</a></td>
27 </tr>
28 </table>
29 </div>
30 <div class="memdoc">
31 <p>If <code>type</code> is <code>PP_VARTYPE_BOOL</code>, <code>as_bool</code> represents the value of this <code><a class="el" href="struct_p_p___var.html" title="The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var</a></code> as <code>PP_Bool</code>. </p>
32 </div>
33 </div>
34 <a class="anchor" id="aa4a3a6095ef825b30237d7c856ba4bf7"></a><!-- doxytag: member="PP_VarValue::as_double" ref="aa4a3a6095ef825b30237d7c856ba4bf7" args="" -->
35 <div class="memitem">
36 <div class="memproto">
37 <table class="memname">
38 <tr>
39 <td class="memname">double <a class="el" href="union_p_p___var_value.html#aa4a3a6095ef825b30237d7c856ba4bf7">PP_VarValue::as_double</a></td>
40 </tr>
41 </table>
42 </div>
43 <div class="memdoc">
44 <p>If <code>type</code> is <code>PP_VARTYPE_DOUBLE</code>, <code>as_double</code> represents the value of this <code><a class="el" href="struct_p_p___var.html" title="The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var</a></code> as <code>double</code>. </p>
45 </div>
46 </div>
47 <a class="anchor" id="af3087d15f3c1ee35fe48f215292df1ad"></a><!-- doxytag: member="PP_VarValue::as_id" ref="af3087d15f3c1ee35fe48f215292df1ad" args="" -->
48 <div class="memitem">
49 <div class="memproto">
50 <table class="memname">
51 <tr>
52 <td class="memname">int64_t <a class="el" href="union_p_p___var_value.html#af3087d15f3c1ee35fe48f215292df1ad">PP_VarValue::as_id</a></td>
53 </tr>
54 </table>
55 </div>
56 <div class="memdoc">
57 <p>If <code>type</code> is <code>PP_VARTYPE_STRING</code>, <code>PP_VARTYPE_OBJECT</code>, <code>PP_VARTYPE_ARRAY</code>, <code>PP_VARTYPE_DICTIONARY</code>, <code>PP_VARTYPE_ARRAY_BUFFER</code>, or <code>PP_VARTYPE_RESOURCE</code>, <code>as_id</code> represents the value of this <code><a class="el" href="struct_p_p___var.html" title="The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var</a></code> as an opaque handle assigned by the browser. </p>
58 <p>This handle is guaranteed never to be 0, so a module can initialize this ID to 0 to indicate a "NULL handle." </p>
59 </div>
60 </div>
61 <a class="anchor" id="a74da1e2b62153f138ae49147842f6d2c"></a><!-- doxytag: member="PP_VarValue::as_int" ref="a74da1e2b62153f138ae49147842f6d2c" args="" -->
62 <div class="memitem">
63 <div class="memproto">
64 <table class="memname">
65 <tr>
66 <td class="memname">int32_t <a class="el" href="union_p_p___var_value.html#a74da1e2b62153f138ae49147842f6d2c">PP_VarValue::as_int</a></td>
67 </tr>
68 </table>
69 </div>
70 <div class="memdoc">
71 <p>If <code>type</code> is <code>PP_VARTYPE_INT32</code>, <code>as_int</code> represents the value of this <code><a class="el" href="struct_p_p___var.html" title="The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var</a></code> as <code>int32_t</code>. </p>
72 </div>
73 </div>
74 <hr />The documentation for this union was generated from the following file:<ul>
75 <li><a class="el" href="pp__var_8h.html">pp_var.h</a></li>
76 </ul>
77 </div><!-- contents -->
78 {{/partials.standard_nacl_article}}