NumToString< num > Struct Template Reference

#include <numtostring.h>

Inheritance diagram for NumToString< num >:

Detailed Description

template<UInt num>
struct maxon::NumToString< num >

Converts an unsigned integer value to a character string. The character string can be found as an array of characters in the static member value of NumToString. For instance, the following will yield an Id with a value of "228".

#define MCOMMAND_DISCONNECT 228
maxon::Id id = maxon::Id(maxon::NumToString<MCOMMAND_DISCONNECT>::value);