The Gaudi Framework  master (594c33fa)
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. More...
 

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 41 of file HistoProperty.h.

41  {
42  if ( !value.ok() ) throw std::invalid_argument( "bad value " + Gaudi::Utils::toString( value ) );
43  }

◆ 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:
Gaudi::Histo1DDef::ok
bool ok() const
check if all fields are "reasonable"
Definition: HistoDef.h:98
std::invalid_argument
STL class.
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition: ToStream.h:354