| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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 175 of file Property.h.

## Member Function Documentation

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.

36 {
37 if ( !value.ok() ) throw std::invalid_argument( "bad value " + Gaudi::Utils::toString( value ) );
38 }
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition: ToStream.h:346
Gaudi::Histo1DDef::ok
bool ok() const
check if all fields are "reasonable"
Definition: HistoDef.h:95
std::invalid_argument
STL class.
template<class TYPE >

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

Definition at line 177 of file Property.h.

178 {
179 }

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

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