2005/5/9

     
 

class WxNonCopyStruct

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::wx::WxNonCopyStruct< T > Class Template Reference

#include <WxObject.h>

Inheritance diagram for acdk::wx::WxNonCopyStruct< T >:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

template<typename T>
class acdk::wx::WxNonCopyStruct< T >

Internal template to wrapp a wx type, which should not be copied.


Public Member Functions

 WxNonCopyStruct ()
 WxNonCopyStruct (T *obj, bool owns=true)
 WxNonCopyStruct (const T &obj, bool owns=false)
 ~WxNonCopyStruct ()
void setWx (T *wxo)
T * getWx ()
const T * getWx () const
const T & toWx () const
void ownsWxObject (bool own)
bool ownsWxObject ()

Protected Attributes

T * _wxObject
bool _ownsWxObject


Constructor & Destructor Documentation

template<typename T>
acdk::wx::WxNonCopyStruct< T >::WxNonCopyStruct  )  [inline]
 

template<typename T>
acdk::wx::WxNonCopyStruct< T >::WxNonCopyStruct T *  obj,
bool  owns = true
[inline]
 

template<typename T>
acdk::wx::WxNonCopyStruct< T >::WxNonCopyStruct const T &  obj,
bool  owns = false
[inline]
 

template<typename T>
acdk::wx::WxNonCopyStruct< T >::~WxNonCopyStruct  )  [inline]
 


Member Function Documentation

template<typename T>
const T* acdk::wx::WxNonCopyStruct< T >::getWx  )  const [inline]
 

template<typename T>
T* acdk::wx::WxNonCopyStruct< T >::getWx  )  [inline]
 

template<typename T>
bool acdk::wx::WxNonCopyStruct< T >::ownsWxObject  )  [inline]
 

template<typename T>
void acdk::wx::WxNonCopyStruct< T >::ownsWxObject bool  own  )  [inline]
 

template<typename T>
void acdk::wx::WxNonCopyStruct< T >::setWx T *  wxo  )  [inline]
 

template<typename T>
const T& acdk::wx::WxNonCopyStruct< T >::toWx  )  const [inline]
 


Member Data Documentation

template<typename T>
bool acdk::wx::WxNonCopyStruct< T >::_ownsWxObject [mutable, protected]
 

template<typename T>
T* acdk::wx::WxNonCopyStruct< T >::_wxObject [protected]