cohtml::CoherentToString

More…

#include <Property.h>

Public Functions

Name
boolInvoke(const T & v, char * buffer, size_t * length)
Convert from C++ value to a string.

Detailed Description

template <typename T >
struct cohtml::CoherentToString;

Public Functions Documentation

function Invoke

static inline bool Invoke(
    const T & v,
    char * buffer,
    size_t * length
)

Convert from C++ value to a string.

Parameters:

  • v - the C++ value
  • buffer - output parameter for the value
  • length - output parameter for the length of the string. Set this to the number of bytes required including the null terminator.

Return: true - if the conversion was successful