Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_stable / c / union_p_p___var_value.html
1 {{+bindTo:partials.standard_nacl_article}}
2 <h1>PP_VarValue Union Reference</h1>
3 <div id="doxygen-ref">
4 {{- dummy div to appease doxygen -}}
5   <div>
6 <!-- Generated by Doxygen 1.7.6.1 -->
7
8
9 </div>
10 <!--header-->
11 <div class="contents">
12 <!-- doxytag: class="PP_VarValue" --><h2>
13 Data Fields</h2><table class="memberdecls">
14
15 <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>
16 <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>
17 <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>
18 <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>
19 </table>
20 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
21 <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>
22 </div><hr /><h2>Field Documentation</h2>
23 <a class="anchor" id="ab7c79b63a2e7fef545fcf8195bb5ad12"></a><!-- doxytag: member="PP_VarValue::as_bool" ref="ab7c79b63a2e7fef545fcf8195bb5ad12" args="" -->
24 <div class="memitem">
25 <div class="memproto">
26 <table class="memname">
27 <tr>
28 <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>
29 </tr>
30 </table>
31 </div>
32 <div class="memdoc">
33 <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>
34 </div>
35 </div>
36 <a class="anchor" id="aa4a3a6095ef825b30237d7c856ba4bf7"></a><!-- doxytag: member="PP_VarValue::as_double" ref="aa4a3a6095ef825b30237d7c856ba4bf7" args="" -->
37 <div class="memitem">
38 <div class="memproto">
39 <table class="memname">
40 <tr>
41 <td class="memname">double <a class="el" href="union_p_p___var_value.html#aa4a3a6095ef825b30237d7c856ba4bf7">PP_VarValue::as_double</a></td>
42 </tr>
43 </table>
44 </div>
45 <div class="memdoc">
46 <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>
47 </div>
48 </div>
49 <a class="anchor" id="af3087d15f3c1ee35fe48f215292df1ad"></a><!-- doxytag: member="PP_VarValue::as_id" ref="af3087d15f3c1ee35fe48f215292df1ad" args="" -->
50 <div class="memitem">
51 <div class="memproto">
52 <table class="memname">
53 <tr>
54 <td class="memname">int64_t <a class="el" href="union_p_p___var_value.html#af3087d15f3c1ee35fe48f215292df1ad">PP_VarValue::as_id</a></td>
55 </tr>
56 </table>
57 </div>
58 <div class="memdoc">
59 <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>
60 <p>This handle is guaranteed never to be 0, so a module can initialize this ID to 0 to indicate a "NULL handle." </p>
61 </div>
62 </div>
63 <a class="anchor" id="a74da1e2b62153f138ae49147842f6d2c"></a><!-- doxytag: member="PP_VarValue::as_int" ref="a74da1e2b62153f138ae49147842f6d2c" args="" -->
64 <div class="memitem">
65 <div class="memproto">
66 <table class="memname">
67 <tr>
68 <td class="memname">int32_t <a class="el" href="union_p_p___var_value.html#a74da1e2b62153f138ae49147842f6d2c">PP_VarValue::as_int</a></td>
69 </tr>
70 </table>
71 </div>
72 <div class="memdoc">
73 <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>
74 </div>
75 </div>
76 <hr />The documentation for this union was generated from the following file:<ul>
77 <li><a class="el" href="pp__var_8h.html">pp_var.h</a></li>
78 </ul>
79 </div><!-- contents -->
80 </div>
81 {{/partials.standard_nacl_article}}