The wxVariantData is used to implement a new type for wxVariant. Derive from wxVariantData, and override the pure virtual functions.
Derived from
Include files
<wx/variant.h>
See also
Default constructor.
Copy the data from `this' object to data.
bool Eq(wxVariantData& data) const
Returns true if this object is equal to data.
Returns the string type of the data.
wxClassInfo* GetValueClassInfo(void) const
If the data is a wxObject returns a pointer to the objects wxClassInfo structure, if the data isn't a wxObject the method returns NULL.
Reads the data from stream or string.
bool Write(ostream& stream) const
bool Write(wxString& string) const
Writes the data to stream or string.
This macro returns the data stored in variant cast to the type classname * if the data is of this type (the check is done during the run-time) or NULL otherwise.
See also
ymasuda 平成17年11月19日