Public Member Functions | Friends

QxtPrivateInterface< PUB, PVT > Class Template Reference

#include <qxtpimpl.h>

Inheritance diagram for QxtPrivateInterface< PUB, PVT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QxtPrivateInterface ()
 ~QxtPrivateInterface ()
void setPublic (PUB *pub)
PVT & operator() ()
const PVT & operator() () const

Friends

class QxtPrivate< PUB >

Detailed Description

template<typename PUB, typename PVT>
class QxtPrivateInterface< PUB, PVT >

Definition at line 215 of file qxtpimpl.h.


Constructor & Destructor Documentation

template<typename PUB, typename PVT>
QxtPrivateInterface< PUB, PVT >::QxtPrivateInterface (  ) [inline]

Definition at line 219 of file qxtpimpl.h.

    {
        pvt = new PVT;
    }
template<typename PUB, typename PVT>
QxtPrivateInterface< PUB, PVT >::~QxtPrivateInterface (  ) [inline]

Definition at line 223 of file qxtpimpl.h.

    {
        delete pvt;
    }

Member Function Documentation

template<typename PUB, typename PVT>
PVT& QxtPrivateInterface< PUB, PVT >::operator() (  ) [inline]

Definition at line 232 of file qxtpimpl.h.

    {
        return *static_cast<PVT*>(pvt);
    }
template<typename PUB, typename PVT>
const PVT& QxtPrivateInterface< PUB, PVT >::operator() (  ) const [inline]

Definition at line 236 of file qxtpimpl.h.

    {
        return *static_cast<PVT*>(pvt);
    }
template<typename PUB, typename PVT>
void QxtPrivateInterface< PUB, PVT >::setPublic ( PUB *  pub ) [inline]

Definition at line 228 of file qxtpimpl.h.

    {
        pvt->QXT_setPublic(pub);
    }

Friends And Related Function Documentation

template<typename PUB, typename PVT>
friend class QxtPrivate< PUB > [friend]

Definition at line 217 of file qxtpimpl.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines