VTK  9.2.20220706
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<>
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 46 of file vtkVariantCast.h.

◆ vtkVariantCast< char >()

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

Definition at line 61 of file vtkVariantCast.h.

◆ vtkVariantCast< signed char >()

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

Definition at line 67 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned char >()

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

Definition at line 73 of file vtkVariantCast.h.

◆ vtkVariantCast< short >()

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

Definition at line 79 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned short >()

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

Definition at line 85 of file vtkVariantCast.h.

◆ vtkVariantCast< int >()

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

Definition at line 91 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned int >()

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

Definition at line 97 of file vtkVariantCast.h.

◆ vtkVariantCast< long >()

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

Definition at line 103 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned long >()

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

Definition at line 109 of file vtkVariantCast.h.

◆ vtkVariantCast< long long >()

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

Definition at line 115 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 121 of file vtkVariantCast.h.

◆ vtkVariantCast< float >()

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

Definition at line 127 of file vtkVariantCast.h.

◆ vtkVariantCast< double >()

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

Definition at line 133 of file vtkVariantCast.h.

◆ vtkVariantCast< vtkStdString >()

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

Definition at line 139 of file vtkVariantCast.h.

◆ vtkVariantCast< vtkVariant >()

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

Definition at line 148 of file vtkVariantCast.h.