VTK  9.3.20240328
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 30 of file vtkVariantCast.h.

◆ vtkVariantCast< char >()

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

Definition at line 45 of file vtkVariantCast.h.

◆ vtkVariantCast< signed char >()

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

Definition at line 51 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned char >()

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

Definition at line 57 of file vtkVariantCast.h.

◆ vtkVariantCast< short >()

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

Definition at line 63 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned short >()

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

Definition at line 69 of file vtkVariantCast.h.

◆ vtkVariantCast< int >()

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

Definition at line 75 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned int >()

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

Definition at line 81 of file vtkVariantCast.h.

◆ vtkVariantCast< long >()

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

Definition at line 87 of file vtkVariantCast.h.

◆ vtkVariantCast< unsigned long >()

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

Definition at line 93 of file vtkVariantCast.h.

◆ vtkVariantCast< long long >()

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

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

◆ vtkVariantCast< float >()

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

Definition at line 111 of file vtkVariantCast.h.

◆ vtkVariantCast< double >()

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

Definition at line 117 of file vtkVariantCast.h.

◆ vtkVariantCast< vtkStdString >()

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

Definition at line 123 of file vtkVariantCast.h.

◆ vtkVariantCast< vtkVariant >()

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

Definition at line 132 of file vtkVariantCast.h.