1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: Serializers</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>Serializers</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxRepXSerializer.html">PxRepXSerializer</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Serializer interface for RepX (Xml) serialization. <a href="classPxRepXSerializer.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Serializers.html#g6018c37f238db16a878cfcba49091c4a">PX_NEW_REPX_SERIALIZER</a>(T) *PX_PLACEMENT_NEW(PxGetFoundation().getAllocatorCallback().allocate(sizeof(T), "PxRepXSerializer", __FILE__, __LINE__ ), T)(PxGetFoundation().getAllocatorCallback())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Preprocessor macro for RepX serializer creation. <a href="#g6018c37f238db16a878cfcba49091c4a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Serializers.html#g58cfb644e0a72e0f2be6624397735411">PX_DELETE_REPX_SERIALIZER</a>(x) { <a class="el" href="classPxRepXSerializer.html">PxRepXSerializer</a>* s = x; if (s) { PxGetFoundation().getAllocatorCallback().deallocate(s); } }</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Preprocessor Macro to simplify RepX serializer delete. <a href="#g58cfb644e0a72e0f2be6624397735411"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template<typename TDataType > </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">PX_INLINE physx::PxRepXObject </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Serializers.html#g7b42a6fd550c853e7b1ae88a6dc85839">PxCreateRepXObject</a> (const TDataType *inType, const <a class="el" href="group__common.html#gb2ccfb663643cd2d66b59908189d88cd">physx::PxSerialObjectId</a> inId)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inline helper template function to create <a class="el" href="structPxRepXObject.html" title="Helper class containing the mapping of id to object, and type name.">PxRepXObject</a> from TDataType type supporting PxTypeInfo<TDataType>::name. <a href="#g7b42a6fd550c853e7b1ae88a6dc85839"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE physx::PxRepXObject </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Serializers.html#g52eaefd69a4f9833a09892780b797a8c">PxCreateRepXObject</a> (const physx::PxBase *inType, const <a class="el" href="group__common.html#gb2ccfb663643cd2d66b59908189d88cd">physx::PxSerialObjectId</a> inId)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inline helper function to create <a class="el" href="structPxRepXObject.html" title="Helper class containing the mapping of id to object, and type name.">PxRepXObject</a> from a <a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a> instance. <a href="#g52eaefd69a4f9833a09892780b797a8c"></a><br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template<typename TDataType > </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">PX_INLINE physx::PxRepXObject </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Serializers.html#g937770feac11b8cb9f23c734567aa47d">PxCreateRepXObject</a> (const TDataType *inType)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Inline helper template function to create <a class="el" href="structPxRepXObject.html" title="Helper class containing the mapping of id to object, and type name.">PxRepXObject</a> form TDataType type using inType pointer as a PxSerialObjectId id. <a href="#g937770feac11b8cb9f23c734567aa47d"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="g58cfb644e0a72e0f2be6624397735411"></a><!-- doxytag: member="PxRepXSerializer.h::PX_DELETE_REPX_SERIALIZER" ref="g58cfb644e0a72e0f2be6624397735411" args="(x)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PX_DELETE_REPX_SERIALIZER </td>
<td>(</td>
<td class="paramtype">x </td>
<td class="paramname"> </td>
<td> ) </td>
<td> { <a class="el" href="classPxRepXSerializer.html">PxRepXSerializer</a>* s = x; if (s) { PxGetFoundation().getAllocatorCallback().deallocate(s); } }</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Preprocessor Macro to simplify RepX serializer delete.
<p>
</div>
</div><p>
<a class="anchor" name="g6018c37f238db16a878cfcba49091c4a"></a><!-- doxytag: member="PxRepXSerializer.h::PX_NEW_REPX_SERIALIZER" ref="g6018c37f238db16a878cfcba49091c4a" args="(T)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PX_NEW_REPX_SERIALIZER </td>
<td>(</td>
<td class="paramtype">T </td>
<td class="paramname"> </td>
<td> ) </td>
<td> *PX_PLACEMENT_NEW(PxGetFoundation().getAllocatorCallback().allocate(sizeof(T), "PxRepXSerializer", __FILE__, __LINE__ ), T)(PxGetFoundation().getAllocatorCallback())</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Preprocessor macro for RepX serializer creation.
<p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="g937770feac11b8cb9f23c734567aa47d"></a><!-- doxytag: member="PxRepXSerializer.h::PxCreateRepXObject" ref="g937770feac11b8cb9f23c734567aa47d" args="(const TDataType *inType)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename TDataType > </div>
<table class="memname">
<tr>
<td class="memname">PX_INLINE physx::PxRepXObject PxCreateRepXObject </td>
<td>(</td>
<td class="paramtype">const TDataType * </td>
<td class="paramname"> <em>inType</em> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Inline helper template function to create <a class="el" href="structPxRepXObject.html" title="Helper class containing the mapping of id to object, and type name.">PxRepXObject</a> form TDataType type using inType pointer as a PxSerialObjectId id.
<p>
<p>References <a class="el" href="PxRepXSerializer_8h-source.html#l00111">PxCreateRepXObject()</a>.</p>
</div>
</div><p>
<a class="anchor" name="g52eaefd69a4f9833a09892780b797a8c"></a><!-- doxytag: member="PxRepXSerializer.h::PxCreateRepXObject" ref="g52eaefd69a4f9833a09892780b797a8c" args="(const physx::PxBase *inType, const physx::PxSerialObjectId inId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PX_INLINE physx::PxRepXObject PxCreateRepXObject </td>
<td>(</td>
<td class="paramtype">const physx::PxBase * </td>
<td class="paramname"> <em>inType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__common.html#gb2ccfb663643cd2d66b59908189d88cd">physx::PxSerialObjectId</a> </td>
<td class="paramname"> <em>inId</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Inline helper function to create <a class="el" href="structPxRepXObject.html" title="Helper class containing the mapping of id to object, and type name.">PxRepXObject</a> from a <a class="el" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a> instance.
<p>
<p>References <a class="el" href="PxAssert_8h-source.html#l00061">PX_ASSERT</a>.</p>
</div>
</div><p>
<a class="anchor" name="g7b42a6fd550c853e7b1ae88a6dc85839"></a><!-- doxytag: member="PxRepXSerializer.h::PxCreateRepXObject" ref="g7b42a6fd550c853e7b1ae88a6dc85839" args="(const TDataType *inType, const physx::PxSerialObjectId inId)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename TDataType > </div>
<table class="memname">
<tr>
<td class="memname">PX_INLINE physx::PxRepXObject PxCreateRepXObject </td>
<td>(</td>
<td class="paramtype">const TDataType * </td>
<td class="paramname"> <em>inType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__common.html#gb2ccfb663643cd2d66b59908189d88cd">physx::PxSerialObjectId</a> </td>
<td class="paramname"> <em>inId</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Inline helper template function to create <a class="el" href="structPxRepXObject.html" title="Helper class containing the mapping of id to object, and type name.">PxRepXObject</a> from TDataType type supporting PxTypeInfo<TDataType>::name.
<p>
<p>Referenced by <a class="el" href="PxRepXSerializer_8h-source.html#l00129">PxCreateRepXObject()</a>.</p>
</div>
</div><p>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>
|