The Gaudi Framework  master (37c0b60a)
Gaudi::Details Namespace Reference

Namespaces

 Property
 

Classes

struct  is_gaudi_property
 
struct  is_gaudi_property< Gaudi::Property< TYPE, VERIFIER, HANDLERS > >
 
class  PropertyBase
 PropertyBase base class allowing PropertyBase* collections to be "homogeneous". More...
 
class  PropertyId
 Helper to record a property identifier as a sequence of SharedString instances. More...
 
class  SharedString
 std::string wrapper for static strings where identical values actually share the memory. More...
 
class  WeakPropertyRef
 Optional reference to a property that can be used to refer to a sting or to the string representation of a property instance value. More...
 

Typedefs

template<typename T >
using PropertyType_t = typename std::remove_reference_t< T >::PropertyType
 
template<typename T >
using PropertyType = Gaudi::cpp17::detected_or_t< Gaudi::Property< T >, PropertyType_t, T >
 

Functions

bool operator== (const PropertyId &lhs, const PropertyId &rhs)
 
bool getDefaultAuditorValue (ISvcLocator *loc)
 
std::ostreamoperator<< (std::ostream &stream, const PropertyBase &prop)
 

Typedef Documentation

◆ PropertyType

Definition at line 51 of file PropertyHolder.h.

◆ PropertyType_t

template<typename T >
using Gaudi::Details::PropertyType_t = typedef typename std::remove_reference_t<T>::PropertyType

Definition at line 49 of file PropertyHolder.h.

Function Documentation

◆ getDefaultAuditorValue()

bool Gaudi::Details::getDefaultAuditorValue ( ISvcLocator loc)

Definition at line 44 of file Algorithm.cpp.

44  {
45  assert( loc != nullptr );
46  Gaudi::Property<bool> audit{ false };
47  auto appMgr = loc->service<IProperty>( "ApplicationMgr" );
48  if ( appMgr && appMgr->hasProperty( "AuditAlgorithms" ) ) {
49  audit.assign( appMgr->getProperty( "AuditAlgorithms" ) );
50  }
51  return audit.value();
52  }

◆ operator<<()

std::ostream& Gaudi::Details::operator<< ( std::ostream stream,
const PropertyBase prop 
)
inline

Definition at line 223 of file PropertyBase.h.

223  {
224  return prop.fillStream( stream );
225  }

◆ operator==()

bool Gaudi::Details::operator== ( const PropertyId lhs,
const PropertyId rhs 
)
inline

Definition at line 111 of file PropertyId.h.

111 { return lhs.m_chunks == rhs.m_chunks; }
Write.stream
stream
Definition: Write.py:32
IProperty
Definition: IProperty.h:33
ISvcLocator::service
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Definition: ISvcLocator.h:98
IOTest.appMgr
appMgr
Definition: IOTest.py:105
Gaudi::Property< bool >