| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi::Details::Property::NullVerifier Struct Reference

`#include <GaudiKernel/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 223 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 31 of file HistoProperty.h.

31 {
32 if ( !value.ok() ) throw std::invalid_argument( "bad value " + Gaudi::Utils::toString( value ) );
33 }
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition: ToStream.h:334
Gaudi::Histo1DDef::ok
bool ok() const
check if all fields are "reasonable"
Definition: HistoDef.h:92
std::invalid_argument
STL class.

## ◆ operator()() [2/2]

template<class TYPE >

void Gaudi::Details::Property::NullVerifier::operator() | ( | const TYPE & |  | ) | const
| inline

Definition at line 225 of file Property.h.

225 {}

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

- GaudiKernel/GaudiKernel/Property.h
- GaudiKernel/GaudiKernel/HistoProperty.h