22 #ifndef __vtkVariantCreate_h
23 #define __vtkVariantCreate_h
35 vtkGenericWarningMacro(
36 <<
"Cannot convert unsupported type [" <<
typeid(T).name() <<
"] to vtkVariant. "
37 <<
"Create a vtkVariantCreate<> specialization to eliminate this warning."
91 #ifdef VTK_TYPE_USE___INT64
94 inline vtkVariant vtkVariantCreate<__int64>(
const __int64& value)
100 inline vtkVariant vtkVariantCreate<unsigned __int64>(
const unsigned __int64& value)
108 #ifdef VTK_TYPE_USE_LONG_LONG
111 inline vtkVariant vtkVariantCreate<long long>(
const long long& value)
117 inline vtkVariant vtkVariantCreate<unsigned long long>(
const unsigned long long& value)
Wrapper around vtkstd::string to keep symbols short.
vtkVariant vtkVariantCreate< vtkVariant >(const vtkVariant &value)
vtkVariant vtkVariantCreate(const T &)
vtkVariant vtkVariantCreate< short >(const short &value)
vtkVariant vtkVariantCreate< int >(const int &value)
vtkVariant vtkVariantCreate< double >(const double &value)
vtkVariant vtkVariantCreate< vtkUnicodeString >(const vtkUnicodeString &value)
vtkVariant vtkVariantCreate< unsigned int >(const unsigned int &value)
vtkVariant vtkVariantCreate< vtkStdString >(const vtkStdString &value)
A atomic type representing the union of many types.
vtkVariant vtkVariantCreate< unsigned short >(const unsigned short &value)
vtkVariant vtkVariantCreate< char >(const char &value)
vtkVariant vtkVariantCreate< float >(const float &value)
vtkVariant vtkVariantCreate< unsigned long >(const unsigned long &value)
vtkVariant vtkVariantCreate< unsigned char >(const unsigned char &value)
vtkVariant vtkVariantCreate< long >(const long &value)
String class that stores Unicode text.