diff --git a/Control/AthToolSupport/AsgTools/AsgTools/AsgComponent.h b/Control/AthToolSupport/AsgTools/AsgTools/AsgComponent.h index 425dd60fb326227d3f07ad47dc74abcdbaddaff7..24fdaf1a726ad507f8b65c698b88b63531a24708 100644 --- a/Control/AthToolSupport/AsgTools/AsgTools/AsgComponent.h +++ b/Control/AthToolSupport/AsgTools/AsgTools/AsgComponent.h @@ -93,6 +93,13 @@ namespace asg /// \} + /// Get a pointer to the property manager + /// \{ + PropertyMgr *getPropertyMgr () noexcept; + const PropertyMgr* getPropertyMgr() const noexcept; + /// \} + + // // inherited interface diff --git a/Control/AthToolSupport/AsgTools/AsgTools/AsgTool.h b/Control/AthToolSupport/AsgTools/AsgTools/AsgTool.h index dc629908aa5987e342249cf84172cdec4e4411fa..4e93628fdc7d69a9136f6c5a7c766c17d98b9f60 100644 --- a/Control/AthToolSupport/AsgTools/AsgTools/AsgTool.h +++ b/Control/AthToolSupport/AsgTools/AsgTools/AsgTool.h @@ -58,16 +58,6 @@ namespace asg { /// Stand-alone, StoreGate-like accessor to the event store SgTEvent* evtStore() const; - /// @name Property management functions - /// @{ - - /// Get a non-constant pointer to the property manager - PropertyMgr* getPropertyMgr(); - /// Get a constant pointer to the property manager - const PropertyMgr* getPropertyMgr() const; - - /// @} - /// @name Tool name handling functions /// @{ diff --git a/Control/AthToolSupport/AsgTools/Root/AsgComponent.cxx b/Control/AthToolSupport/AsgTools/Root/AsgComponent.cxx index 36c92d90349aaa27a42dc92bcf255c244b5f282e..62b589e8c50e3736f8d8a5ed94b26f654f5a9ab6 100644 --- a/Control/AthToolSupport/AsgTools/Root/AsgComponent.cxx +++ b/Control/AthToolSupport/AsgTools/Root/AsgComponent.cxx @@ -59,6 +59,22 @@ namespace asg + PropertyMgr *AsgComponent :: + getPropertyMgr () noexcept + { + return m_properties; + } + + + + const PropertyMgr *AsgComponent :: + getPropertyMgr() const noexcept + { + return m_properties; + } + + + const std::string& AsgComponent :: name () const { diff --git a/Control/AthToolSupport/AsgTools/Root/AsgTool.cxx b/Control/AthToolSupport/AsgTools/Root/AsgTool.cxx index b15e294cbaa44eba0e2337b9383f5bbe7d472804..c8c97b88db3d581560cc3a8adfbd820afab077fb 100644 --- a/Control/AthToolSupport/AsgTools/Root/AsgTool.cxx +++ b/Control/AthToolSupport/AsgTools/Root/AsgTool.cxx @@ -91,16 +91,6 @@ namespace asg { return &m_event; } - PropertyMgr* AsgTool::getPropertyMgr() { - - return m_properties; - } - - const PropertyMgr* AsgTool::getPropertyMgr() const { - - return m_properties; - } - void AsgTool::setName( const std::string& name ) { m_name = name;