ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
SG::ObjectWithVersion Class 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 <SGVersionedKey.h>

Collaboration diagram for SG::ObjectWithVersion:

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

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 17 of file SGVersionedKey.h.

Constructor & Destructor Documentation

◆ ObjectWithVersion() [1/4]

SG::ObjectWithVersion::ObjectWithVersion ( )
inline

Definition at line 22 of file SGObjectWithVersion.h.

22 : versionedKey(), dataObject() {}

◆ ObjectWithVersion() [2/4]

SG::ObjectWithVersion::ObjectWithVersion ( const ObjectWithVersion rhs)
inline

Definition at line 23 of file SGObjectWithVersion.h.

23  :
24  versionedKey(rhs.versionedKey), dataObject(rhs.dataObject) {}

◆ ObjectWithVersion() [3/4]

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

Definition at line 25 of file SGObjectWithVersion.h.

25  :
26  versionedKey(vk), dataObject(dh) {}

◆ ObjectWithVersion() [4/4]

SG::ObjectWithVersion::ObjectWithVersion ( const VersionedKey vk,
SG::DataProxy proxy 
)
inline

Definition at line 27 of file SGObjectWithVersion.h.

27  :

Member Function Documentation

◆ operator=()

ObjectWithVersion& SG::ObjectWithVersion::operator= ( const ObjectWithVersion rhs)
inline

Definition at line 29 of file SGObjectWithVersion.h.

30  {
31  if (this != &rhs) {
32  versionedKey = rhs.versionedKey;
33  dataObject = rhs.dataObject;
34  }
35  return *this;
36  }

Member Data Documentation

◆ dataObject

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

Definition at line 38 of file SGObjectWithVersion.h.

◆ versionedKey

SG::VersionedKey SG::ObjectWithVersion::versionedKey

Definition at line 37 of file SGObjectWithVersion.h.


The documentation for this class was generated from the following files:
StateLessPT_NewConfig.proxy
proxy
Definition: StateLessPT_NewConfig.py:392
PyPoolBrowser.dh
dh
Definition: PyPoolBrowser.py:102
SG::ObjectWithVersion::versionedKey
SG::VersionedKey versionedKey
Definition: SGObjectWithVersion.h:37
SG::ObjectWithVersion::dataObject
SG::ReadHandle< T > dataObject
Definition: SGObjectWithVersion.h:38