ome-xml 5.2.3

Public Member Functions | List of all members
ome::xml::model::primitives::PositiveFloatConstraint< N > Struct Template Reference

Constraint for strictly positive floating point values. More...

`#include <ome/xml/model/primitives/NumericConstraints.h>`

## Public Member Functions
bool | operator() (const N &value) const
| Check that value > 0.0. More...

## Detailed Description

### template<typename N>
struct ome::xml::model::primitives::PositiveFloatConstraint< N >

Constraint for strictly positive floating point values.

Template Parameters

  N | the type to constrain.

## Member Function Documentation

## § operator()()

template<typename N >

bool ome::xml::model::primitives::PositiveFloatConstraint< N >::operator() | ( | const N & | value | ) | const
| inline

Check that value > 0.0.

Parameters

  value | the value to check.

Returns
  true if the value is valid, false if invalid.

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

- ome/xml/model/primitives/NumericConstraints.h