VTK  9.1.0
Functions
vtkVariantCast.h File Reference
#include "vtkVariant.h"
#include <typeinfo>
Include dependency graph for vtkVariantCast.h:

Go to the source code of this file.

Functions

template<typename T >
vtkVariantCast (const vtkVariant &value, bool *valid=nullptr)
 
template<>
char vtkVariantCast< char > (const vtkVariant &value, bool *valid)
 
template<>
signed char vtkVariantCast< signed char > (const vtkVariant &value, bool *valid)
 
template<>
unsigned char vtkVariantCast< unsigned char > (const vtkVariant &value, bool *valid)
 
template<>
short vtkVariantCast< short > (const vtkVariant &value, bool *valid)
 
template<>
unsigned short vtkVariantCast< unsigned short > (const vtkVariant &value, bool *valid)
 
template<>
int vtkVariantCast< int > (const vtkVariant &value, bool *valid)
 
template<>
unsigned int vtkVariantCast< unsigned int > (const vtkVariant &value, bool *valid)
 
template<>
long vtkVariantCast< long > (const vtkVariant &value, bool *valid)
 
template<>
unsigned long vtkVariantCast< unsigned long > (const vtkVariant &value, bool *valid)
 
template<>
long long vtkVariantCast< long long > (const vtkVariant &value, bool *valid)
 
template<>
unsigned long long vtkVariantCast< unsigned long long > (const vtkVariant &value, bool *valid)
 
template<>
float vtkVariantCast< float > (const vtkVariant &value, bool *valid)
 
template<>
double vtkVariantCast< double > (const vtkVariant &value, bool *valid)
 
template<>
vtkStdString vtkVariantCast< vtkStdString > (const vtkVariant &value, bool *valid)
 
template<>
VTKCOMMONCORE_EXPORT vtkUnicodeString vtkVariantCast< vtkUnicodeString > (const vtkVariant &value, bool *valid)
 
template<>
vtkVariant vtkVariantCast< vtkVariant > (const vtkVariant &value, bool *valid)
 

Function Documentation

◆ vtkVariantCast()

template<typename T >
T vtkVariantCast ( const vtkVariant value,
bool *  valid = nullptr 
)

Definition at line 43 of file vtkVariantCast.h.

◆ vtkVariantCast< char >()

template<>
char vtkVariantCast< char > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 58 of file vtkVariantCast.h.

◆ vtkVariantCast< signed char >()

template<>
signed char vtkVariantCast< signed char > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 64 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned char >()

template<>
unsigned char vtkVariantCast< unsigned char > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 70 of file vtkVariantCast.h.

◆ vtkVariantCast< short >()

template<>
short vtkVariantCast< short > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 76 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned short >()

template<>
unsigned short vtkVariantCast< unsigned short > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 82 of file vtkVariantCast.h.

◆ vtkVariantCast< int >()

template<>
int vtkVariantCast< int > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 88 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned int >()

template<>
unsigned int vtkVariantCast< unsigned int > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 94 of file vtkVariantCast.h.

◆ vtkVariantCast< long >()

template<>
long vtkVariantCast< long > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 100 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned long >()

template<>
unsigned long vtkVariantCast< unsigned long > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 106 of file vtkVariantCast.h.

◆ vtkVariantCast< long long >()

template<>
long long vtkVariantCast< long long > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 112 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned long long >()

template<>
unsigned long long vtkVariantCast< unsigned long long > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 118 of file vtkVariantCast.h.

◆ vtkVariantCast< float >()

template<>
float vtkVariantCast< float > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 124 of file vtkVariantCast.h.

◆ vtkVariantCast< double >()

template<>
double vtkVariantCast< double > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 130 of file vtkVariantCast.h.

◆ vtkVariantCast< vtkStdString >()

template<>
vtkStdString vtkVariantCast< vtkStdString > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 136 of file vtkVariantCast.h.

◆ vtkVariantCast< vtkUnicodeString >()

template<>
VTKCOMMONCORE_EXPORT vtkUnicodeString vtkVariantCast< vtkUnicodeString > ( const vtkVariant value,
bool *  valid 
)

◆ vtkVariantCast< vtkVariant >()

template<>
vtkVariant vtkVariantCast< vtkVariant > ( const vtkVariant value,
bool *  valid 
)
inline

Definition at line 150 of file vtkVariantCast.h.