<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>vtkCommunicator missing 64-bit methods?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hey everybody,<BR>
<BR>
I recently noticed that vtkCommunicator (and its two<BR>
descendants vtkMPICommunicator and vtkSocketCommunicator)<BR>
were missing Send() and Receive() methods for 64-bit<BR>
integer arrays. I would like to add these methods to the<BR>
3 classes for both vtkTypeInt64 and vtkTypeUInt64. I have<BR>
a working implementation for vtkTypeUInt64, but the signed<BR>
integer version is a little trickier because if<BR>
VTK_USE_64BIT_IDS is turned on, these methods are defined:<BR>
<BR>
virtual int Send( vtkIdType* data, int length, int remoteHandle, int tag );<BR>
virtual int Receive( vtkIdType* data, int length, int remoteHandle, int tag );<BR>
<BR>
If I replace the above with<BR>
<BR>
virtual int Send( vtkTypeInt64* data, int length, int remoteHandle, int tag );<BR>
virtual int Receive( vtkTypeInt64* data, int length, int remoteHandle, int tag );<BR>
<BR>
whenever 64-bit integer types exist, will that cause<BR>
problems (i.e., are there compilers which can't resolve<BR>
that a 64-bit vtkIdType and vtkTypeInt64 are identical)?<BR>
<BR>
Comments? Objections?<BR>
David<BR>
</FONT>
</P>
</BODY>
</HTML>