Overture  Version 25
Classes | Namespaces | Macros | Functions
kk_ptr.hh File Reference
#include <iostream>
#include <typeinfo>
#include "kk_defines.hh"
Include dependency graph for kk_ptr.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KK::sptr_Err
 error class for sptr More...
 
class  KK::sptr< T >
 MY smart pointer class (not yours!) More...
 

Namespaces

namespace  KK
 usefull utility classes and functions
 

Macros

#define KK_PTR_OUT(x)
 

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)
 

Macro Definition Documentation

#define KK_PTR_OUT (   x)