cohtml::CoherentToNumber

More…

#include <Property.h>

Public Functions

Name
boolInvoke(const Type & v, Number * number)
Convert from C++ value to a number.

Detailed Description

template <typename Type ,
typename Number >
struct cohtml::CoherentToNumber;

Public Functions Documentation

function Invoke

static inline bool Invoke(
    const Type & v,
    Number * number
)

Convert from C++ value to a number.

Parameters:

  • v - the C++ value
  • number - output parameter for the value

Return: true - if the conversion was successful