LibreOffice Module tools (master) 1
Classes | Namespaces | Functions
ref.hxx File Reference
#include <sal/config.h>
#include <cassert>
#include <tools/toolsdllapi.h>
#include <utility>
Include dependency graph for ref.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tools::SvRef< typename T >
 T must be a class that extends SvRefBase.
 
class  SvRefBase
 Classes that want to be referenced-counted via SvRef<T>, should extend this base class. More...
 
class  SvCompatWeakHdl< T >
 SvCompatWeakHdl acts as an intermediary between SvCompatWeakRef<T> and T. More...
 
class  SvCompatWeakBase< T >
 We only have one place that extends this, in include/sfx2/frame.hxx, class SfxFrame. More...
 
class  SvCompatWeakRef< T >
 We only have one weak reference in LO, in include/sfx2/frame.hxx, class SfxFrameWeak. More...
 

Namespaces

namespace  tools
 Note: this class is a true marvel of engineering: because the author could not decide whether it's better to have a closed or half-open interval, they just implemented both in the same class!
 

Functions

template<typename T , typename... Args>
SvRef< T > tools::make_ref (Args &&... args)
 This implements similar functionality to std::make_shared. More...