The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Details::Property::NullVerifier Struct Reference

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Details/Property.h>

Public Member Functions

template<class TYPE>
void operator() (const TYPE &) const
template<>
void operator() (const Gaudi::Histo1DDef &value) const
 Check if the value is OK.

Detailed Description

Definition at line 106 of file Property.h.

Member Function Documentation

◆ operator()() [1/2]

template<>
void Gaudi::Details::Property::NullVerifier::operator() ( const Gaudi::Histo1DDef & value) const
inline

Check if the value is OK.

Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2007-09-18

Definition at line 35 of file HistoProperty.h.

35 {
36 if ( !value.ok() ) throw std::invalid_argument( "bad value " + Gaudi::Utils::toString( value ) );
37 }
bool ok() const
check if all fields are "reasonable"
Definition HistoDef.h:69
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition ToStream.h:329

◆ operator()() [2/2]

template<class TYPE>
void Gaudi::Details::Property::NullVerifier::operator() ( const TYPE & ) const
inline

Definition at line 108 of file Property.h.

108{}

The documentation for this struct was generated from the following files: