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; }
91 long size()
const {
return m_linkVector.
size(); }
94 const Link* link(
long id )
const;
95 Link* link(
long id );
97 const Link* link(
const DataObject* pObject )
const;
100 const Link* link( std::string_view
path )
const;
101 Link* link( std::string_view
path );
125 #endif // GAUDIKERNEL_LINKMANAGER_H
LinkManager()=default
Standard Constructor.
LinkManager(LinkManager &&)=default
Embedded class defining a symbolic link Note: No explicit copy constructor; implicit compiler generat...
auto operator*(const std::chrono::duration< Rep1, Period > &lhs, const std::chrono::duration< Rep2, Period > &rhs)
Multiplication of two std::chrono::duration objects with same Period.
constexpr bool operator!=(Arena< Resource, T, DefaultResource > const &lhs, Arena< Resource, U, DefaultResource > const &rhs)
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...
LinkManager(LinkManager const &)=delete
Link(long id, std::string path, DataObject *pObject=nullptr)
Standard constructor.
std::string m_path
String containing path of symbolic link.
LinkManager & operator=(LinkManager &&)=default
long ID() const
Link identifier.
bool operator==(const PropertyId &lhs, const PropertyId &rhs)
DirLinkType
Directory link types.
const DataObject * object() const
Const access to data object.
const Link * link(long id) const
Retrieve symbolic link identified by ID.
LinkManager & operator=(LinkManager const &)=delete
boost::spirit::classic::position_iterator2< ForwardIterator > Iterator