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  vtkTryDowncastHelper< TargetT, FunctorT >
class  vtkTryDowncastHelper1< TargetT, FunctorT, Arg1T >

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 *source, FunctorT functor)
template<template< typename > class TargetT, typename TypesT, typename FunctorT, typename Arg1T>
bool vtkTryDowncast (vtkObject *source, FunctorT functor, Arg1T arg1)


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 source,
FunctorT  functor 
) [inline]

Definition at line 117 of file vtkTryDowncast.h.

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

Definition at line 125 of file vtkTryDowncast.h.


Generated on Mon Sep 27 18:09:57 2010 for VTK by  doxygen 1.5.6