Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_LINKMANAGER_H
12 #define GAUDIKERNEL_LINKMANAGER_H
52 : m_path(
std::move(
path ) ), m_pObject( pObject ), m_id( id ) {}
65 long ID()
const {
return m_id; }
89 static void setInstantiator(
LinkManager* ( *newInstance )() );
91 long size()
const {
return m_linkVector.
size(); }
94 Link* link(
long id );
98 Link* link( std::string_view
path );
102 #endif // GAUDIKERNEL_LINKMANAGER_H
LinkManager()=default
Standard Constructor.
Embedded class defining a symbolic link Note: No explicit copy constructor; implicit compiler generat...
void setObject(const DataObject *pObject)
Update object pointer.
Link()=default
Standard constructor for Root I/O.
const std::string & path() const
Access to path of object.
long size() const
Retrieve number of link present.
bool operator==(const Link &link) const
Equality operator: check paths only.
std::vector< Link * > m_linkVector
@ TODO: replace by std::vector<std::unique_ptr<Link>> once ROOT does 'automatic' schema conversion fr...
Link(long id, std::string path, DataObject *pObject=nullptr)
Standard constructor.
std::string m_path
String containing path of symbolic link.
long ID() const
Link identifier.
DirLinkType
Directory link types.
const DataObject * object() const
Const access to data object.