[Paraview] VTK_IO_EXPORT vs VTK_EXPORT (VTK_ABI_IMPORT vs VTK_ABI_EXPORT)

Xunlei Wu xunlei at renci.org
Sat Apr 16 06:10:51 EDT 2011


Hi All,

Could anyone please explain the difference between VTK_IO_EXPORT and VTK_EXPORT (beyond the below definition)? I am writing a file reader plugin and defined my class as VTK_EXPORT. However, many VTK/IO/ reader examples, e.g. vtkAVSucdReader, vtkImageReader are defined as VTK_IO_EXPORT. From the source code,

#define VTK_EXPORT VTK_ABI_EXPORT

#if defined(vtkIO_EXPORTS)
  #define VTK_IO_EXPORT VTK_ABI_EXPORT
#else
  #define VTK_IO_EXPORT VTK_ABI_IMPORT
#endif

Thanks for your help.

Best,
xunlei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110416/7ed1b3a2/attachment.htm>


More information about the ParaView mailing list