5#ifndef ATHLINKS_DATALINKBASE_H
6#define ATHLINKS_DATALINKBASE_H
Type-independent part of DataLink; holds the persistent state.
bool isDefault() const
Test if the link is in the default state.
void clear()
Clear the link (make it null)
virtual bool toTransient()=0
Reset the object's internal cache.
DataLinkBase()
Default constructor.
virtual ~DataLinkBase()
Destructor.
sgkey_t m_persKey
The hashed key for this link.
bool m_isDirectIO
A transient variable signalling when direct I/O is happening.
sgkey_t key() const
Return the SG key that we reference, as a hash.
uint32_t persKey() const
Get the key/identifier of the referenced container.
void setPersKey(uint32_t key)
Set the key/identifier of the referenced container.