1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
\r
4 <title>IEPairsClassDocumentationExample Doxygen Documentation</title>
\r
5 <link href="doxygen_gtkradiant.css" rel="stylesheet" type="text/css">
\r
6 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
\r
8 <body bgcolor="black">
\r
10 <div align="center">
\r
12 <table cellpadding="0" cellspacing="0" border="0" width="94%">
\r
15 <img src="../images/top-title.gif" alt="" width="254" height="92">
\r
17 <td background="../images/top-tile.gif" valign="top" align="right" width="100%">
\r
18 <br><img src="../images/history_id_logo.gif" alt="idsoftware" border="0">
\r
21 <img src="../images/top-right.gif" alt="" width="12" height="92">
\r
26 <table cellpadding="0" cellspacing="0" border="0" width="95%">
\r
28 <td valign="top" align="left">
\r
29 <img src="../images/body-upper-left.gif" alt="" width="19" height="12">
\r
31 <td valign="top" background="../images/body-upper-tile.gif">
\r
32 <img border="0" src="../images/body-upper-tile.gif" height="12" width="100%">
\r
34 <td valign="top" align="right">
\r
35 <img src="../images/body-upper-right.gif" alt="" width="19" height="12">
\r
39 <td background="../images/body-left-tile.gif" height="100%"> </td>
\r
40 <td width="100%" height="100%" bgcolor="#EEEEEE" cellpadding="0" cellspacing="0" border="1"><div>
\r
44 <table cellpadding="0" cellspacing="0" border="0" width="95%"><tr><td>
\r
46 <!-- ----------------- End Header ----------------- -->
\r
49 <!-- Generated by Doxygen 1.2.8.1 -->
\r
51 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center>
\r
52 <hr><h1>IEpair Class Reference</h1>Virtual class to allow plugin operations on entity pairs.
\r
53 <a href="#_details">More...</a>
\r
55 <a href="classIEpair-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
\r
56 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
\r
57 <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classIEpair.html#a0">IncRef</a> ()=0</td></tr>
\r
58 <tr><td> </td><td><font size=-1><em>Increment the number of references to this object.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
\r
59 <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classIEpair.html#a1">DecRef</a> ()=0</td></tr>
\r
60 <tr><td> </td><td><font size=-1><em>Decrement the reference count.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
\r
61 <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classIEpair.html#a2">GetVectorForKey</a> (char *key, vec3_t vec)=0</td></tr>
\r
62 <tr><td> </td><td><font size=-1><em>Get a vector from a key.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
\r
63 <tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classIEpair.html#a3">FloatForKey</a> (char *key)=0</td></tr>
\r
64 <tr><td> </td><td><font size=-1><em>Get a float from a key.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
\r
65 <tr><td nowrap align=right valign=top>virtual char* </td><td valign=bottom><a class="el" href="classIEpair.html#a4">ValueForKey</a> (char *key)=0</td></tr>
\r
66 <tr><td> </td><td><font size=-1><em>Get a string (char *) from a key.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
\r
67 <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classIEpair.html#a5">SetKeyValue</a> (char *key, char *value)=0</td></tr>
\r
68 <tr><td> </td><td><font size=-1><em>Set a key value to char *value.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
\r
69 <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classIEpair.html#a6">GetEntityOrigin</a> (vec3_t vec)=0</td></tr>
\r
70 <tr><td> </td><td><font size=-1><em>Get a vec3_t for the entities origin.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
\r
71 <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classIEpair.html#a7">CalculateRotatedBounds</a> (vec3_t mins, vec3_t maxs)=0</td></tr>
\r
72 <tr><td> </td><td><font size=-1><em>Compute the rotated bounds of the BBox based on "angle" and "angles" keys.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
\r
74 <hr><a name="_details"></a><h2>Detailed Description</h2>
\r
75 Virtual class to allow plugin operations on entity pairs.
\r
80 <b><a class="el" href="todo.html#_todo000001">Todo: </a></b><dd>
\r
81 Write more complete documentation for this class so that it's use is clear</dl>
\r
83 An interface to entity keys and key pairs that allows plugins to; read and write entity keys and key values, get a key value as a vec3_t
\r
87 Definition at line <a class="el" href="test_8c-source.html#l00010">10</a> of file <a class="el" href="test_8c-source.html">iepairs.h</a>.<hr><h2>Member Function Documentation</h2>
\r
88 <a name="a7" doxytag="IEpair::CalculateRotatedBounds"></a><p>
\r
89 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
92 <table cellpadding="0" cellspacing="0" border="0">
\r
94 <td nowrap valign="top"><b>
\r
95 void IEpair::CalculateRotatedBounds (
\r
97 <td valign="bottom"><b>
\r
98 vec3_t <em>mins</em>,
\r
104 vec3_t <em>maxs</em> )<code> [pure virtual]</code>
\r
112 <table cellspacing=5 cellpadding=0 border=0>
\r
120 Compute the rotated bounds of the BBox based on "angle" and "angles" keys.
\r
125 <a name="a1" doxytag="IEpair::DecRef"></a><p>
\r
126 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
129 <table cellpadding="0" cellspacing="0" border="0">
\r
131 <td nowrap valign="top"><b>
\r
132 void IEpair::DecRef (
\r
134 <td valign="bottom"><b>
\r
135 )<code> [pure virtual]</code>
\r
143 <table cellspacing=5 cellpadding=0 border=0>
\r
151 Decrement the reference count.
\r
156 <a name="a3" doxytag="IEpair::FloatForKey"></a><p>
\r
157 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
160 <table cellpadding="0" cellspacing="0" border="0">
\r
162 <td nowrap valign="top"><b>
\r
163 float IEpair::FloatForKey (
\r
165 <td valign="bottom"><b>
\r
166 char * <em>key</em> )<code> [pure virtual]</code>
\r
174 <table cellspacing=5 cellpadding=0 border=0>
\r
182 Get a float from a key.
\r
187 <a name="a6" doxytag="IEpair::GetEntityOrigin"></a><p>
\r
188 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
191 <table cellpadding="0" cellspacing="0" border="0">
\r
193 <td nowrap valign="top"><b>
\r
194 void IEpair::GetEntityOrigin (
\r
196 <td valign="bottom"><b>
\r
197 vec3_t <em>vec</em> )<code> [pure virtual]</code>
\r
205 <table cellspacing=5 cellpadding=0 border=0>
\r
213 Get a vec3_t for the entities origin.
\r
218 <a name="a2" doxytag="IEpair::GetVectorForKey"></a><p>
\r
219 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
222 <table cellpadding="0" cellspacing="0" border="0">
\r
224 <td nowrap valign="top"><b>
\r
225 void IEpair::GetVectorForKey (
\r
227 <td valign="bottom"><b>
\r
228 char * <em>key</em>,
\r
234 vec3_t <em>vec</em> )<code> [pure virtual]</code>
\r
242 <table cellspacing=5 cellpadding=0 border=0>
\r
250 Get a vector from a key.
\r
255 <a name="a0" doxytag="IEpair::IncRef"></a><p>
\r
256 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
259 <table cellpadding="0" cellspacing="0" border="0">
\r
261 <td nowrap valign="top"><b>
\r
262 void IEpair::IncRef (
\r
264 <td valign="bottom"><b>
\r
265 )<code> [pure virtual]</code>
\r
273 <table cellspacing=5 cellpadding=0 border=0>
\r
281 Increment the number of references to this object.
\r
286 <a name="a5" doxytag="IEpair::SetKeyValue"></a><p>
\r
287 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
290 <table cellpadding="0" cellspacing="0" border="0">
\r
292 <td nowrap valign="top"><b>
\r
293 void IEpair::SetKeyValue (
\r
295 <td valign="bottom"><b>
\r
296 char * <em>key</em>,
\r
302 char * <em>value</em> )<code> [pure virtual]</code>
\r
310 <table cellspacing=5 cellpadding=0 border=0>
\r
318 Set a key value to char *value.
\r
321 <b>Parameters: </b><dd>
\r
322 <table border=0 cellspacing=2 cellpadding=0>
\r
323 <tr><td valign=top><em>key</em>
\r
325 The (char *) containing the keyname </td></tr>
\r
326 <tr><td valign=top><em>value</em>
\r
328 The (char *) to set the key value to </td></tr>
\r
333 <a name="a4" doxytag="IEpair::ValueForKey"></a><p>
\r
334 <table width="100%" cellpadding="2" cellspacing="0" border="0">
\r
337 <table cellpadding="0" cellspacing="0" border="0">
\r
339 <td nowrap valign="top"><b>
\r
340 char * IEpair::ValueForKey (
\r
342 <td valign="bottom"><b>
\r
343 char * <em>key</em> )<code> [pure virtual]</code>
\r
351 <table cellspacing=5 cellpadding=0 border=0>
\r
359 Get a string (char *) from a key.
\r
364 <hr>The documentation for this class was generated from the following file:<ul>
\r
365 <li><a class="el" href="test_8c-source.html">iepairs.h</a></ul>
\r
367 <!-- ---------------- Start Footer ----------------- -->
\r
372 <div align="center">
\r
373 <table width="95%" cellpadding="1" cellspacing="0">
\r
376 <i>Documentation generated by : <a href="http://www.doxygen.org">Doxygen</a> 1.2.8.1 on 11 Aug 2001</i>
\r
379 <a href="mailto:ttimo@idsoftware.com">
\r
380 <i>ttimo@idsoftware.com</i>
\r
390 <td background="../images/body-right-tile.gif" height="100%"> </td>
\r
393 <td valign="top" align="left">
\r
394 <img src="../images/body-lower-left.gif" alt="" width="19" height="12">
\r
396 <td valign="top" background="../images/body-lower-tile.gif">
\r
397 <img border="0" src="../images/body-lower-tile.gif" height="12" width="100%">
\r
399 <td valign="top" align="right">
\r
400 <img src="../images/body-lower-right.gif" alt="" width="19" height="12">
\r