The Gaudi Framework  master (d98a2936)
Gaudi::Details Namespace Reference

Namespaces

 Property
 

Classes

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...
 

Functions

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

Variables

template<typename T >
constexpr bool is_gaudi_property_v = false
 

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{ "AuditAlgorithms", false };
47  if ( auto appMgr = loc->service<IProperty>( "ApplicationMgr" ) ) { appMgr->getProperty( &audit ).ignore(); }
48  return audit.value();
49  }

◆ operator<<()

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

Definition at line 222 of file PropertyBase.h.

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

◆ operator==()

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

Definition at line 103 of file PropertyId.h.

103 { return lhs.m_chunks == rhs.m_chunks; }

Variable Documentation

◆ is_gaudi_property_v

template<typename T >
constexpr bool Gaudi::Details::is_gaudi_property_v = false
constexpr

Definition at line 33 of file PropertyHolder.h.

Write.stream
stream
Definition: Write.py:32
IProperty
Definition: IProperty.h:32
ISvcLocator::service
virtual SmartIF< IService > & service(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)=0
Returns a smart pointer to a service.
IOTest.appMgr
appMgr
Definition: IOTest.py:105
Gaudi::Property< bool >