User Manual, Developers Guide and API Documentation

SmartPtr.hpp File Reference

#include <WNS/RefCountable.hpp>
#include <WNS/TypeInfo.hpp>
#include <cassert>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <list>

Include dependency graph for SmartPtr.hpp:

Go to the source code of this file.

Namespaces

namespace  wns

Classes

class  wns::const_smart_ptr_mem_fun_t< RETURNTYPE, POINTERTYPE >
class  wns::smart_ptr_mem_fun_t< RETURNTYPE, POINTERTYPE >
class  wns::SmartPtr< T >
 Intrusive reference counting. More...
class  wns::SmartPtr< T >::YOU__SHOULD__NOT_COMPARE__THIS__WITH__ANYTHING__BUT__NULL

Functions

template<typename T, typename P>
SmartPtr< T > wns::dynamicCast (const SmartPtr< P > &p)
template<typename T, typename P>
T * wns::dynamicCast (P *p)
template<typename T, typename P>
SmartPtr< T > wns::staticCast (const SmartPtr< P > &p)
template<typename T, typename P>
T * wns::staticCast (P *p)
Helper function for member funtion adapters
template<class RETURNTYPE, class POINTERTYPE>
smart_ptr_mem_fun_t
< RETURNTYPE, POINTERTYPE > 
wns::smart_ptr_mem_fun (RETURNTYPE(POINTERTYPE::*__f)())
 This helper function may be used like the mem_fun and mem_fun_ref functions from the STL.


Generated on Fri May 25 03:32:23 2012 for openWNS by  doxygen 1.5.5