Back to index

enigmail  1.4.3
Classes | Namespaces | Functions
RefPtr.h File Reference
#include "mozilla/Assertions.h"
#include "mozilla/Attributes.h"

Go to the source code of this file.


class  mozilla::RefCounted< T >
 RefCounted<T> is a sort of a "mixin" for a class T. More...
class  mozilla::RefPtr< T >
 RefPtr points to a refcounted thing that has AddRef and Release methods to increase/decrease the refcount, respectively. More...
struct  mozilla::RefPtr< T >::dontRef
class  mozilla::TemporaryRef< T >
 TemporaryRef<T> represents an object that holds a temporary reference to a T. More...
class  mozilla::OutParamRef< T >
 OutParamRef is a wrapper that tracks a refcounted pointer passed as an outparam argument to a function. More...


namespace  mozilla


template<typename T >
OutParamRef< T > mozilla::byRef (RefPtr< T > &ptr)
 byRef cooperates with OutParamRef to implement COM outparam semantics.

Class Documentation

struct mozilla::RefPtr::dontRef

template<typename T>
struct mozilla::RefPtr< T >::dontRef

Definition at line 133 of file RefPtr.h.