Plasma
QScript::Pointer< T > Class Template Reference
#include <backportglobal.h>
Inheritance diagram for QScript::Pointer< T >:

Detailed Description
template<typename T>
class QScript::Pointer< T >
Definition at line 207 of file backportglobal.h.
Public Types | |
typedef T * | pointer_type |
typedef QExplicitlySharedDataPointer < Pointer< T > > | wrapped_pointer_type |
Public Member Functions | |
uint | flags () const |
operator const T * () const | |
operator T * () | |
void | setFlags (uint flags) |
void | unsetFlags (uint flags) |
~Pointer () | |
Static Public Member Functions | |
static wrapped_pointer_type | create (T *value, uint flags=0) |
static void | fromScriptValue (const QScriptValue &value, T *&target) |
static QScriptValue | toScriptValue (QScriptEngine *engine, T *const &source) |
Protected Member Functions | |
Pointer (T *value, uint flags) |
Member Typedef Documentation
template<typename T>
typedef T* QScript::Pointer< T >::pointer_type |
Definition at line 210 of file backportglobal.h.
template<typename T>
typedef QExplicitlySharedDataPointer<Pointer<T> > QScript::Pointer< T >::wrapped_pointer_type |
Definition at line 211 of file backportglobal.h.
Constructor & Destructor Documentation
template<typename T>
QScript::Pointer< T >::~Pointer | ( | ) | [inline] |
Definition at line 213 of file backportglobal.h.
template<typename T>
QScript::Pointer< T >::Pointer | ( | T * | value, | |
uint | flags | |||
) | [inline, protected] |
Definition at line 287 of file backportglobal.h.
Member Function Documentation
template<typename T>
static wrapped_pointer_type QScript::Pointer< T >::create | ( | T * | value, | |
uint | flags = 0 | |||
) | [inline, static] |
Definition at line 229 of file backportglobal.h.
template<typename T>
uint QScript::Pointer< T >::flags | ( | ) | const [inline] |
Definition at line 279 of file backportglobal.h.
template<typename T>
static void QScript::Pointer< T >::fromScriptValue | ( | const QScriptValue & | value, | |
T *& | target | |||
) | [inline, static] |
Definition at line 241 of file backportglobal.h.
template<typename T>
QScript::Pointer< T >::operator const T * | ( | ) | const [inline] |
Definition at line 224 of file backportglobal.h.
template<typename T>
QScript::Pointer< T >::operator T * | ( | ) | [inline] |
Definition at line 219 of file backportglobal.h.
template<typename T>
void QScript::Pointer< T >::setFlags | ( | uint | flags | ) | [inline] |
Definition at line 281 of file backportglobal.h.
template<typename T>
static QScriptValue QScript::Pointer< T >::toScriptValue | ( | QScriptEngine * | engine, | |
T *const & | source | |||
) | [inline, static] |
Definition at line 234 of file backportglobal.h.
template<typename T>
void QScript::Pointer< T >::unsetFlags | ( | uint | flags | ) | [inline] |
Definition at line 283 of file backportglobal.h.
The documentation for this class was generated from the following file: