ATLAS Offline Software
Loading...
Searching...
No Matches
SGObjectWithVersion.h File Reference

associate a data object with its VersionedKey More...

Include dependency graph for SGObjectWithVersion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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 More...

Namespaces

namespace  SG
 Forward declaration.

Functions

template<typename T>
bool operator< (const SG::ObjectWithVersion< T > &lhs, const SG::ObjectWithVersion< T > &rhs)
 sort according to highest key version

Detailed Description

associate a data object with its VersionedKey

Definition in file SGObjectWithVersion.h.

Function Documentation

◆ operator<()

template<typename T>
bool operator< ( const SG::ObjectWithVersion< T > & lhs,
const SG::ObjectWithVersion< T > & rhs )

sort according to highest key version

Definition at line 43 of file SGObjectWithVersion.h.

44 {
45 return (lhs.versionedKey < rhs.versionedKey);
46}
SG::VersionedKey versionedKey