Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berrySmartPointer.h File Reference
#include <iostream>
#include <stdexcept>
#include <org_blueberry_core_runtime_Export.h>
#include <berryConfig.h>
#include <Poco/Bugcheck.h>
#include "berryException.h"
#include <QDebug>

Go to the source code of this file.

Classes

class  berry::WeakPointer< TObjectType >
 implements a WeakPointer class to deal with circular reference problems. More...
 
class  berry::SmartPointer< TObjectType >
 Implements transparent reference counting. More...
 

Namespaces

 berry
 

Functions

template<typename T >
std::ostream & berry::operator<< (std::ostream &os, const SmartPointer< T > &p)
 
template<class T >
uint qHash (const berry::SmartPointer< T > &sp)
 
template<class T >
uint qHash (const berry::WeakPointer< T > &wp)
 

Function Documentation

◆ qHash() [1/2]

template<class T >
uint qHash ( const berry::SmartPointer< T > &  sp)

Definition at line 329 of file berrySmartPointer.h.

◆ qHash() [2/2]

template<class T >
uint qHash ( const berry::WeakPointer< T > &  wp)

Definition at line 335 of file berrySmartPointer.h.

References berry::WeakPointer< TObjectType >::Lock().