wxExtend
Additional templates and function helpers for wxWidgets
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
wxObjectWithData< T > Class Template Reference

Helper template for event user data. More...

#include <wxex/object.h>

Inheritance diagram for wxObjectWithData< T >:

Public Member Functions

 wxObjectWithData ()
 Default constructor.
 
 wxObjectWithData (const T &data)
 Construct object with data.
 
 wxObjectWithData (T &&data)
 Construct object with data.
 

Public Attributes

m_data
 Data.
 

Detailed Description

template<class T>
class wxObjectWithData< T >

Helper template for event user data.

Constructor & Destructor Documentation

◆ wxObjectWithData() [1/2]

template<class T >
wxObjectWithData< T >::wxObjectWithData ( const T & data)
inline

Construct object with data.

Parameters
[in]dataData to initialize object with

◆ wxObjectWithData() [2/2]

template<class T >
wxObjectWithData< T >::wxObjectWithData ( T && data)
inline

Construct object with data.

Parameters
[in]dataData to move to object

The documentation for this class was generated from the following file: