Commit e8e72bb4 authored by David Gobbi's avatar David Gobbi Committed by Marcus D. Hanwell
Browse files

COMP: Better vtkVariant BTX/ETX, vtkParse doesn't know "struct".

parent 00cc21c5
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
// The following should be eventually placed in vtkSetGet.h // The following should be eventually placed in vtkSetGet.h
// //
//BTX
// This is same as extended template macro with an additional case for VTK_VARIANT // This is same as extended template macro with an additional case for VTK_VARIANT
#define vtkExtraExtendedTemplateMacro(call) \ #define vtkExtraExtendedTemplateMacro(call) \
vtkExtendedTemplateMacro(call); \ vtkExtendedTemplateMacro(call); \
...@@ -48,15 +49,16 @@ ...@@ -48,15 +49,16 @@
#define vtkExtendedArrayIteratorTemplateMacro(call) \ #define vtkExtendedArrayIteratorTemplateMacro(call) \
vtkArrayIteratorTemplateMacro(call); \ vtkArrayIteratorTemplateMacro(call); \
vtkArrayIteratorTemplateMacroCase(VTK_VARIANT, vtkVariant, call); vtkArrayIteratorTemplateMacroCase(VTK_VARIANT, vtkVariant, call);
//ETX
class vtkStdString; class vtkStdString;
class vtkUnicodeString; class vtkUnicodeString;
class vtkObjectBase; class vtkObjectBase;
class vtkAbstractArray; class vtkAbstractArray;
class vtkVariant; class vtkVariant;
//BTX
struct vtkVariantLessThan; struct vtkVariantLessThan;
//BTX
VTK_COMMON_EXPORT ostream& operator << ( ostream& os, const vtkVariant& val ); VTK_COMMON_EXPORT ostream& operator << ( ostream& os, const vtkVariant& val );
//ETX //ETX
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment