Commit 98657950 authored by David C. Lonie's avatar David C. Lonie
Browse files

Add vtkTypeTraits<...>::Name().

A more modern verison of vtkImageScalarTypeNameMacro.
parent 63168208
......@@ -50,6 +50,9 @@ template <class T> struct vtkTypeTraits;
/* A name for the type indicating its size and signedness. */ \
static const char* SizedName() { return #name; } \
\
/* The common C++ name for the type (e.g. float, unsigned int, etc).*/ \
static const char* Name() { return #type; } \
\
/* A type to use for printing or parsing values in strings. */ \
typedef print PrintType; \
\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment