#include <iostream>
#include <typeinfo>
#include "kk_defines.hh"
Go to the source code of this file.
|
| namespace | KK |
| | usefull utility classes and functions
|
| |
|
| long int | KK::acquire_gid () |
| | acquire a "global" id, this will be used interally by KK::sptr
|
| |
| void | KK::release_gid (long int gid) |
| | release a "global" id allowing it to be used again
|
| |
| template<typename TO , typename FROM > |
| sptr< TO > | KK::sptr_cast (sptr< FROM > &p) |
| | cast from one pointer type to another; return a null ptr if the dynamic cast is invalid
|
| |
| template<typename TO , typename FROM > |
| sptr< TO > | KK::sptr_static_cast (sptr< FROM > &p) |
| |
| template<typename TO , typename FROM > |
| sptr< TO > | KK::sptr_dynamic_cast (sptr< FROM > &p) |
| |