1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>wxPropertyGrid: wxPGId class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.6 -->
7
<div class="qindex"> <form class="search" action="search.php" method="get">
8
<a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="hierarchy.htm">Class Hierarchy</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Class List</a> | <a class="qindex" href="functions.htm">Class Members</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
9
<h1>wxPGId Class Reference</h1>Simple wrapper for the <a class="el" href="classwxPGProperty.htm">wxPGProperty</a> pointer.
10
<a href="#_details">More...</a>
12
<code>#include <propgrid.h></code>
14
<a href="classwxPGId-members.htm">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
16
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
17
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda0" doxytag="wxPGId::GetName" ></a>
18
const wxString & </td><td class="memItemRight" valign=bottom><b>GetName</b> () const </td></tr>
20
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda1" doxytag="wxPGId::GetProperty" ></a>
21
<a class="el" href="classwxPGProperty.htm">wxPGProperty</a> & </td><td class="memItemRight" valign=bottom><b>GetProperty</b> () const </td></tr>
23
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda2" doxytag="wxPGId::GetPropertyPtr" ></a>
24
<a class="el" href="classwxPGProperty.htm">wxPGProperty</a> * </td><td class="memItemRight" valign=bottom><b>GetPropertyPtr</b> () const </td></tr>
26
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda3" doxytag="wxPGId::IsOk" ></a>
27
bool </td><td class="memItemRight" valign=bottom><b>IsOk</b> () const </td></tr>
29
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda4" doxytag="wxPGId::operator wxPGProperty *" ></a>
30
</td><td class="memItemRight" valign=bottom><b>operator wxPGProperty *</b> ()</td></tr>
32
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda5" doxytag="wxPGId::operator==" ></a>
33
bool </td><td class="memItemRight" valign=bottom><b>operator==</b> (const <a class="el" href="classwxPGId.htm">wxPGId</a> &other)</td></tr>
35
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda6" doxytag="wxPGId::wxPGId" ></a>
36
</td><td class="memItemRight" valign=bottom><b>wxPGId</b> (<a class="el" href="classwxPGProperty.htm">wxPGProperty</a> &ref)</td></tr>
38
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="wxPGIda7" doxytag="wxPGId::wxPGId" ></a>
39
</td><td class="memItemRight" valign=bottom><b>wxPGId</b> (<a class="el" href="classwxPGProperty.htm">wxPGProperty</a> *ptr)</td></tr>
42
<hr><a name="_details"></a><h2>Detailed Description</h2>
43
Simple wrapper for the <a class="el" href="classwxPGProperty.htm">wxPGProperty</a> pointer.
45
NB: This class exists because:<ul>
46
<li>Abstract wxPGId would allow both flexibility and speed (for possible native'ish implementations, altough this doesn't make sense anymore).</li><li>wxPG methods should be mostly used for property manipulation (or such vision I had at first), and since wxPGId id = pg->Append(...) is faster tow write, it seemed useful.</li></ul>
48
However* in future I may just start using wxPG_ID_IS_PTR by the default. It might even result into slightly smaller code (altough I have checked out some MSVC generated assembly, and it seems to optimize out the wrapper in usual scenarios).
50
<hr>The documentation for this class was generated from the following file:<ul>
52
<hr size="1"><address style="align: right;"><small>Generated on Mon Oct 29 16:56:23 2007 for wxPropertyGrid by
53
<a href="http://www.doxygen.org/index.html">
54
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
55
</a>1.3.6 </small></address>