Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • holau/Gaudi
  • dmagdali/Gaudi
  • pmunozpa/Gaudi
  • ssottoco/Gaudi
  • cvarni/Gaudi
  • mafila/Gaudi
  • admorris/Gaudi
  • staider/Gaudi
  • gunther/Gaudi
  • bstanisl/Gaudi
  • jtorasso/Gaudi
  • wochung/Gaudi
  • mveghel/Gaudi
  • averbyts/Gaudi
  • dguest/Gaudi
  • alboyer/Gaudi
  • dkonst/Gaudi
  • jcarcell/Gaudi
  • elmsheus/Gaudi
  • hpxgaudi/Gaudi
  • ganis/Gaudi
  • tadej/Gaudi
  • hahansen/Gaudi
  • juesseiv/Gaudi
  • imjelde/gaudida
  • jheuel/Gaudi
  • mimazure/Gaudi
  • masato/Gaudi
  • dcasperfaser/Gaudi
  • faser/offline/Gaudi
  • axu/Gaudi
  • sailer/Gaudi
  • amete/Gaudi
  • ponyisi/Gaudi
  • vavolkl/Gaudi
  • mstahl/Gaudi
  • wlampl/Gaudi
  • kreczko/Gaudi
  • emoyse/Gaudi
  • dhynds/Gaudi
  • sstahl/Gaudi
  • rcurrie/Gaudi
  • smh/Gaudi
  • valassi/Gaudi
  • bwynne/Gaudi_gaudi
  • abarton/Gaudi
  • tsulaia/gaudigaudi
  • mnowak/Gaudi
  • roiser/Gaudi
  • merrenst/Gaudi
  • mato/Gaudi
  • christos/Gaudi
  • goetz/Gaudi
  • goetz/AtlasGaudi
  • tsulaia/atlasgaudi
  • olupton/Gaudi
  • pseyfert/Gaudi
  • graemes/Gaudi
  • gianelle/Gaudi
  • akraszna/AtlasGaudi
  • cattanem/Gaudi
  • skluth/Gaudi
  • will/Gaudi
  • ssnyder/Gaudi
  • agonzale/Gaudi
  • leggett/AtlasGaudi
  • apearce/Gaudi
  • mnowak/Gaudi-ORIG
  • fwinkl/AtlasGaudi
  • bwynne/Gaudi_atlas
  • chamont/Gaudi
  • rmatev/Gaudi
  • lhcb/Gaudi
  • atlas/Gaudi
  • akraszna/GaudiGaudi
  • fwinkl/Gaudi
  • jonrob/Gaudi
  • azaborow/Gaudi
  • clemenci/Gaudi
  • hgraslan/Gaudi
  • srimanob/Gaudi
  • graven/Gaudi
  • hegner/Gaudi
  • gaudi/Gaudi
84 results
Show changes
Commits on Source (2)
......@@ -43,12 +43,12 @@ private:
ToolHandle<IMyTool> m_legacyToolHandle{"MyTool/LegacyToolHandle", this};
ToolHandle<IMyTool> m_myPrivToolHandle{this, "PrivToolHandle", "MyTool"};
PublicToolHandle<IMyTool> m_myPubToolHandle{this, "PubToolHandle", "MyTool"};
ToolHandle<IMyTool> m_myPrivToolHandle{this, "PrivToolHandle", "MyTool/PrivToolHandle"};
PublicToolHandle<IMyTool> m_myPubToolHandle{this, "PubToolHandle", "MyTool/PubToolHandle"};
PublicToolHandle<IAlgTool> m_myGenericToolHandle{this, "GenericToolHandle", "MyTool"};
PublicToolHandle<IAlgTool> m_myGenericToolHandle{this, "GenericToolHandle", "MyTool/GenericToolHandle"};
ToolHandle<IAlgTool> m_myUnusedToolHandle{this, "UnusedToolHandle", "TestToolFailing"};
ToolHandle<IAlgTool> m_myUnusedToolHandle{this, "UnusedToolHandle", "TestToolFailing/UnusedToolHandle"};
ToolHandle<IMyTool> m_undefinedToolHandle{this};
ToolHandle<IMyTool> m_invalidToolHandle{this, "InvalidToolHandle", "TestToolFailing"};
......
......@@ -187,20 +187,20 @@ public:
{
}
/// Autodeclaring constructor with property name, tool type/name and documentation.
/// Autodeclaring constructor with property propName, tool type/name and documentation.
/// @note the use std::enable_if is required to avoid ambiguities
template <class OWNER, typename = std::enable_if_t<std::is_base_of<IProperty, OWNER>::value>>
inline ToolHandle( OWNER* owner, std::string name, std::string toolType, std::string doc = "" ) : ToolHandle( owner )
inline ToolHandle( OWNER* owner, std::string propName, std::string toolType, std::string doc = "" )
: ToolHandle( owner )
{
// convert name and type to a valid type/name string
// - if type does not contain '/' use type/name
// - if type does not contain '/' use type/type
// - otherwise type is already a type/name string
if ( !toolType.empty() and toolType.find( '/' ) == std::string::npos ) {
toolType += '/';
toolType += name;
toolType += '/' + toolType;
}
owner->declareTool( *this, std::move( toolType ) ).ignore();
auto p = owner->OWNER::PropertyHolderImpl::declareProperty( std::move( name ), *this, std::move( doc ) );
auto p = owner->OWNER::PropertyHolderImpl::declareProperty( std::move( propName ), *this, std::move( doc ) );
p->template setOwnerType<OWNER>();
}
......@@ -316,21 +316,20 @@ public:
{
}
/// Autodeclaring constructor with property name, tool type/name and documentation.
/// Autodeclaring constructor with property propName, tool type/name and documentation.
/// @note the use std::enable_if is required to avoid ambiguities
template <class OWNER, typename = typename std::enable_if<std::is_base_of<IProperty, OWNER>::value>::type>
inline PublicToolHandle( OWNER* owner, std::string name, std::string toolType, std::string doc = "" )
inline PublicToolHandle( OWNER* owner, std::string propName, std::string toolType, std::string doc = "" )
: PublicToolHandle()
{
// convert name and type to a valid type/name string
// - if type does not contain '/' use type/name
// - if type does not contain '/' use type/type
// - otherwise type is already a type/name string
if ( !toolType.empty() and toolType.find( '/' ) == std::string::npos ) {
toolType += '/';
toolType += name;
toolType += '/' + toolType;
}
owner->declareTool( *this, std::move( toolType ) ).ignore();
auto p = owner->OWNER::PropertyHolderImpl::declareProperty( std::move( name ), *this, std::move( doc ) );
auto p = owner->OWNER::PropertyHolderImpl::declareProperty( std::move( propName ), *this, std::move( doc ) );
p->template setOwnerType<OWNER>();
}
};
......