The Gaudi Framework  v32r2 (46d42edc)
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...
 

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 getDefaultAuditorValue (ISvcLocator *loc)
 
std::ostreamoperator<< (std::ostream &stream, const PropertyBase &prop)
 

Typedef Documentation

◆ PropertyType

template<typename T >
using Gaudi::Details::PropertyType = typedef Gaudi::cpp17::detected_or_t<Gaudi::Property<T>, PropertyType_t, T>

Definition at line 40 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 38 of file PropertyHolder.h.

Function Documentation

◆ getDefaultAuditorValue()

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

Definition at line 36 of file Algorithm.cpp.

38  {
40  // check arguments
41  if ( !self || !method ) { return StatusCode::FAILURE; }
42 
43  // call Python
44  PyObject* r = PyObject_CallMethod( self, chr( method ), nullptr );
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
constexpr static const auto FAILURE
Definition: StatusCode.h:86

◆ operator<<()

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

Definition at line 136 of file Property.h.

136  {
137  return prop.fillStream( stream );
138  }