.\" This is a wxWidgets manpage page generated from the XML docs .TH wxVariantData 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxVariantData \- .SH DESCRIPTION The wxVariantData is used to implement a new type for wxVariant. Derive from wxVariantData, and override the pure virtual functions. .SH "PARENTS" wxObject .SH "INCLUDE FILES" wx/variant.h .SH MEMBERS .SS wxVariantData () Default constructor. .SS void Copy (wxVariantData& data) Copy the data from `this' object to data . .SS bool Eq (wxVariantData& data) Returns true if this object is equal to data . .SS wxString GetType () Returns the string type of the data. .SS wxClassInfo* GetValueClassInfo () 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. .SS bool Read (ostream& stream) .SS bool Read (wxString& string) Reads the data from stream or string . .SS bool Write (ostream& stream) .SS bool Write (wxString& string) Writes the data to stream or string . .SS classname * wxGetVariantCast () 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. .SH "SEE ALSO" wxObject wxVariant .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.