lib
Kross::Api::Class< T > Class Template Reference
#include <class.h>
Inheritance diagram for Kross::Api::Class< T >:

Detailed Description
template<class T>
class Kross::Api::Class< T >
From Event inherited template-class to represent class-structures.
Classes implemetating this template are able to dynamicly define Event methodfunctions accessible from within scripts.
Definition at line 44 of file class.h.
Public Types | |
typedef KSharedPtr< T > | Ptr |
Public Member Functions | |
Class (const QString &name) | |
virtual | ~Class () |
operator T * () | |
Static Public Member Functions | |
template<typename TYPE> | |
static Object::Ptr | toObject (TYPE t) |
Member Typedef Documentation
typedef KSharedPtr<T> Kross::Api::Class< T >::Ptr |
Shared pointer to implement reference-counting.
Reimplemented from Kross::Api::Callable.
Reimplemented in Kross::Api::Module, Kross::Api::QtObject, Kross::Api::MainModule, Kross::Api::ScriptAction, and Kross::Api::ScriptContainer.
Constructor & Destructor Documentation
Kross::Api::Class< T >::Class | ( | const QString & | name | ) | [inline] |
virtual Kross::Api::Class< T >::~Class | ( | ) | [inline, virtual] |
Member Function Documentation
static Object::Ptr Kross::Api::Class< T >::toObject | ( | TYPE | t | ) | [inline, static] |
This method got used by the ProxyFunction classes to translate an unknown TYPE
to a Object instance.
Classes like Value or ListT or Class are overwriting this method to transparently translate these passed type while this method just assumes that the type is already a Object instance.
Reimplemented from Kross::Api::Object.
The documentation for this class was generated from the following file: