wxWidgets: interface/wx/variant.h File Reference

| Version: 3.1.5

Loading...
Searching...
No Matches
Classes | Macros
variant.h File Reference

## Classes
class | wxVariant
| The wxVariant class represents a container for any type. More...
class | wxVariantData
| The wxVariantData class is used to implement a new type for wxVariant. More...

## Macros
#define | wxGetVariantCast(var, classname)
| This macro returns a pointer to the data stored in var (wxVariant) cast to the type classname if the data is of this type (the check is done during the run-time) or NULL otherwise.

## Macro Definition Documentation

## ◆ wxGetVariantCast

#define wxGetVariantCast | ( |  | var,
|  |  | classname )

This macro returns a pointer to the data stored in var (wxVariant) cast to the type classname if the data is of this type (the check is done during the run-time) or NULL otherwise.

Include file:

    #include <wx/variant.h>

See also
  Runtime Type Information (RTTI), wxDynamicCast()