wxPGId Class Reference
Simple wrapper for the wxPGProperty pointer.
More...
#include <propgrid.h>
List of all members.
|
Public Member Functions |
const wxString & | GetName () const |
wxPGProperty & | GetProperty () const |
wxPGProperty * | GetPropertyPtr () const |
bool | IsOk () const |
| operator wxPGProperty * () |
bool | operator== (const wxPGId &other) |
| wxPGId (wxPGProperty &ref) |
| wxPGId (wxPGProperty *ptr) |
Detailed Description
Simple wrapper for the wxPGProperty pointer.
NB: This class exists because:
- Abstract wxPGId would allow both flexibility and speed (for possible native'ish implementations, altough this doesn't make sense anymore).
- 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.
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).
The documentation for this class was generated from the following file:
Generated on Mon Oct 29 16:56:23 2007 for wxPropertyGrid by
1.3.6