CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UniquePtrBase< T, DerivedT > Class Template Reference

#include <pointer.h>

Inherits SingleCopy.

Collaboration diagram for UniquePtrBase< T, DerivedT >:

Public Member Functions

 UniquePtrBase ()
 
 UniquePtrBase (T *ref)
 
 ~UniquePtrBase ()
 
T * operator-> () const
 
DerivedT & operator= (T *ref)
 
T * weak_ref () const
 
bool IsValid () const
 
T * Release ()
 
void Destroy ()
 

Protected Member Functions

void Free ()
 

Protected Attributes

T * ref_
 

Additional Inherited Members

- Private Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

template<class T, class DerivedT>
class UniquePtrBase< T, DerivedT >

Definition at line 27 of file pointer.h.

Constructor & Destructor Documentation

template<class T, class DerivedT>
UniquePtrBase< T, DerivedT >::UniquePtrBase ( )
inline

Definition at line 29 of file pointer.h.

template<class T, class DerivedT>
UniquePtrBase< T, DerivedT >::UniquePtrBase ( T *  ref)
inlineexplicit

Definition at line 30 of file pointer.h.

template<class T, class DerivedT>
UniquePtrBase< T, DerivedT >::~UniquePtrBase ( )
inline

Definition at line 31 of file pointer.h.

Member Function Documentation

template<class T, class DerivedT>
void UniquePtrBase< T, DerivedT >::Destroy ( )
inline
template<class T, class DerivedT>
void UniquePtrBase< T, DerivedT >::Free ( )
inlineprotected

Definition at line 48 of file pointer.h.

template<class T, class DerivedT>
bool UniquePtrBase< T, DerivedT >::IsValid ( ) const
inline

Definition at line 43 of file pointer.h.

Referenced by manifest::Reflog::BeginTransaction(), swissknife::CommandTag::CloseAndPublishHistory(), manifest::Reflog::CommitTransaction(), anonymous_namespace{notification_client.cc}::ActivitySubscriber::Consume(), anonymous_namespace{cmd_sub.cc}::SwissknifeSubscriber::Consume(), manifest::Reflog::CountEntries(), manifest::Reflog::CreateDatabase(), manifest::Reflog::database_file(), MountPoint::DetermineRootHash(), swissknife::CommandMigrate::DoMigrationAndCommit(), notify::DoPublish(), ServerTool::download_manager(), manifest::Reflog::DropDatabaseFileOwnership(), ServerTool::FetchRemoteManifest(), manifest::Reflog::fqrn(), UniquePtr< void >::Free(), UniquePtr< unsigned char >::Free(), ChunkItem::GetCompressor(), AbstractObjectFetcher< LocalObjectFetcher< CatalogT, HistoryT, ReflogT > >::GetHistoryHash(), swissknife::CatalogTraversalBase< ObjectFetcherT >::GetRepositoryRootCatalogHash(), ServerTool::InitDownloadManager(), receiver::PayloadProcessor::Initialize(), ServerTool::InitSigningSignatureManager(), ServerTool::InitVerifyingSignatureManager(), download::JobInfo::IsValidPipeJobResults(), manifest::Reflog::ListOlderThan(), swissknife::CommandGc::Main(), swissknife::CommandInfo::Main(), swissknife::CommandReconstructReflog::Main(), swissknife::Ingest::Main(), swissknife::CommandCheck::Main(), swissknife::CommandCreate::Main(), swissknife::CommandMigrate::Main(), swissknife::CommandSync::Main(), upload::S3Uploader::MainCollectResults(), manifest::Reflog::OpenDatabase(), manifest::Reflog::OwnsDatabaseFile(), manifest::Reflog::PrepareQueries(), manifest::Reflog::Remove(), FileSystem::SetupTieredCacheMgr(), ServerTool::signature_manager(), manifest::Reflog::TakeDatabaseFileOwnership(), swissknife::CommandTag::UpdateUndoTags(), swissknife::CommandTag::UploadCatalogAndUpdateManifest(), NotificationClient::~NotificationClient(), and ServerTool::~ServerTool().

Here is the caller graph for this function:

template<class T, class DerivedT>
T* UniquePtrBase< T, DerivedT >::operator-> ( ) const
inline

Definition at line 33 of file pointer.h.

template<class T, class DerivedT>
DerivedT& UniquePtrBase< T, DerivedT >::operator= ( T *  ref)
inline

Definition at line 35 of file pointer.h.

template<class T, class DerivedT>
T* UniquePtrBase< T, DerivedT >::Release ( )
inline

Member Data Documentation

template<class T, class DerivedT>
T* UniquePtrBase< T, DerivedT >::ref_
protected

Definition at line 51 of file pointer.h.


The documentation for this class was generated from the following file: