dox/Common/vtkTryDowncast.h File Reference

#include <vtkDenseArray.h>
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/joint_view.hpp>
#include <boost/mpl/vector.hpp>

Include dependency graph for vtkTryDowncast.h:

Go to the source code of this file.

Classes

class  vtkTryDowncastHelper1< TargetT, FunctorT >
class  vtkTryDowncastHelper2< TargetT, FunctorT >
class  vtkTryDowncastHelper3< TargetT, FunctorT >

Typedefs

typedef boost::mpl::vector
< vtkTypeUInt8, vtkTypeInt8,
vtkTypeUInt16, vtkTypeInt16,
vtkTypeUInt32, vtkTypeInt32,
vtkTypeUInt64, vtkTypeInt64,
vtkIdType
vtkIntegerTypes
typedef boost::mpl::vector
< vtkTypeFloat32,
vtkTypeFloat64 > 
vtkFloatingPointTypes
typedef boost::mpl::joint_view
< vtkIntegerTypes,
vtkFloatingPointTypes
vtkNumericTypes
typedef boost::mpl::vector
< vtkStdString,
vtkUnicodeString
vtkStringTypes
typedef boost::mpl::joint_view
< vtkNumericTypes,
vtkStringTypes
vtkAllTypes

Functions

template<template< typename > class TargetT, typename TypesT, typename FunctorT>
bool vtkTryDowncast (vtkObject *source1, FunctorT functor)
template<template< typename > class TargetT, typename TypesT, typename FunctorT>
bool vtkTryDowncast (vtkObject *source1, vtkObject *source2, FunctorT functor)
template<template< typename > class TargetT, typename TypesT, typename FunctorT>
bool vtkTryDowncast (vtkObject *source1, vtkObject *source2, vtkObject *source3, FunctorT functor)


Typedef Documentation

typedef boost::mpl::vector<vtkTypeUInt8, vtkTypeInt8, vtkTypeUInt16, vtkTypeInt16, vtkTypeUInt32, vtkTypeInt32, vtkTypeUInt64, vtkTypeInt64, vtkIdType> vtkIntegerTypes

Definition at line 35 of file vtkTryDowncast.h.

typedef boost::mpl::vector<vtkTypeFloat32, vtkTypeFloat64> vtkFloatingPointTypes

Definition at line 38 of file vtkTryDowncast.h.

typedef boost::mpl::joint_view<vtkIntegerTypes, vtkFloatingPointTypes> vtkNumericTypes

Definition at line 41 of file vtkTryDowncast.h.

typedef boost::mpl::vector<vtkStdString, vtkUnicodeString> vtkStringTypes

Definition at line 44 of file vtkTryDowncast.h.

typedef boost::mpl::joint_view<vtkNumericTypes, vtkStringTypes> vtkAllTypes

Definition at line 47 of file vtkTryDowncast.h.


Function Documentation

template<template< typename > class TargetT, typename TypesT, typename FunctorT>
bool vtkTryDowncast ( vtkObject source1,
FunctorT  functor 
) [inline]

Definition at line 159 of file vtkTryDowncast.h.

template<template< typename > class TargetT, typename TypesT, typename FunctorT>
bool vtkTryDowncast ( vtkObject source1,
vtkObject source2,
FunctorT  functor 
) [inline]

Definition at line 167 of file vtkTryDowncast.h.

template<template< typename > class TargetT, typename TypesT, typename FunctorT>
bool vtkTryDowncast ( vtkObject source1,
vtkObject source2,
vtkObject source3,
FunctorT  functor 
) [inline]

Definition at line 176 of file vtkTryDowncast.h.


Generated on Wed Aug 24 11:19:05 2011 for VTK by  doxygen 1.5.6