cohtml::CoherentToNumber

More…

#include <Property.h>

Public Functions

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

Detailed Description

template <typename T >
struct cohtml::CoherentToNumber;

Public Functions Documentation

function Invoke

static inline bool Invoke(
    const T & v,
    float * 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