ATLAS Offline Software
Loading...
Searching...
No Matches
SG::ObjectWithVersion< T > Class Template Reference

associate a data object with its VersionedKey The object is held by a ReadHandle to delay its retrieval in case the user is interested only in the versionedKey More...

#include <SGObjectWithVersion.h>

Collaboration diagram for SG::ObjectWithVersion< T >:

Public Member Functions

 ObjectWithVersion ()
 ObjectWithVersion (const ObjectWithVersion &rhs)
 ObjectWithVersion (const VersionedKey &vk, const SG::ReadHandle< T > &dh)
 ObjectWithVersion (const VersionedKey &vk, SG::DataProxy *proxy)
ObjectWithVersionoperator= (const ObjectWithVersion &rhs)

Public Attributes

SG::VersionedKey versionedKey
SG::ReadHandle< T > dataObject

Detailed Description

template<typename T>
class SG::ObjectWithVersion< T >

associate a data object with its VersionedKey The object is held by a ReadHandle to delay its retrieval in case the user is interested only in the versionedKey

Definition at line 20 of file SGObjectWithVersion.h.

Constructor & Destructor Documentation

◆ ObjectWithVersion() [1/4]

template<typename T>
SG::ObjectWithVersion< T >::ObjectWithVersion ( )
inline

Definition at line 22 of file SGObjectWithVersion.h.

SG::ReadHandle< T > dataObject
SG::VersionedKey versionedKey

◆ ObjectWithVersion() [2/4]

template<typename T>
SG::ObjectWithVersion< T >::ObjectWithVersion ( const ObjectWithVersion< T > & rhs)
inline

Definition at line 23 of file SGObjectWithVersion.h.

23 :
associate a data object with its VersionedKey The object is held by a ReadHandle to delay its retriev...

◆ ObjectWithVersion() [3/4]

template<typename T>
SG::ObjectWithVersion< T >::ObjectWithVersion ( const VersionedKey & vk,
const SG::ReadHandle< T > & dh )
inline

Definition at line 25 of file SGObjectWithVersion.h.

25 :

◆ ObjectWithVersion() [4/4]

template<typename T>
SG::ObjectWithVersion< T >::ObjectWithVersion ( const VersionedKey & vk,
SG::DataProxy * proxy )
inline

Definition at line 27 of file SGObjectWithVersion.h.

Member Function Documentation

◆ operator=()

template<typename T>
ObjectWithVersion & SG::ObjectWithVersion< T >::operator= ( const ObjectWithVersion< T > & rhs)
inline

Definition at line 29 of file SGObjectWithVersion.h.

30 {
31 if (this != &rhs) {
34 }
35 return *this;
36 }

Member Data Documentation

◆ dataObject

template<typename T>
SG::ReadHandle<T> SG::ObjectWithVersion< T >::dataObject

Definition at line 38 of file SGObjectWithVersion.h.

◆ versionedKey

template<typename T>
SG::VersionedKey SG::ObjectWithVersion< T >::versionedKey

Definition at line 37 of file SGObjectWithVersion.h.


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