32 #ifndef vtkMultiProcessStream_h 33 #define vtkMultiProcessStream_h 35 #include "vtkParallelCoreModule.h" 89 void Push(
double array[],
unsigned int size);
90 void Push(
float array[],
unsigned int size);
91 void Push(
int array[],
unsigned int size);
92 void Push(
char array[],
unsigned int size);
93 void Push(
unsigned int array[],
unsigned int size );
94 void Push(
unsigned char array[],
unsigned int size );
95 void Push(vtkTypeInt64 array[],
unsigned int size );
96 void Push(vtkTypeUInt64 array[],
unsigned int size );
107 void Pop(
double*& array,
unsigned int& size);
108 void Pop(
float*& array,
unsigned int& size);
109 void Pop(
int*& array,
unsigned int& size);
110 void Pop(
char*& array,
unsigned int& size);
111 void Pop(
unsigned int*& array,
unsigned int& size );
112 void Pop(
unsigned char*& array,
unsigned int& size );
113 void Pop(vtkTypeInt64*& array,
unsigned int& size );
114 void Pop(vtkTypeUInt64*& array,
unsigned int& size );
133 {
return(this->Size()+1);};
145 void GetRawData(std::vector<unsigned char>&
data)
const;
146 void GetRawData(
unsigned char*& data,
unsigned int &size );
147 void SetRawData(
const std::vector<unsigned char>& data);
148 void SetRawData(
const unsigned char*,
unsigned int size);
149 std::vector<unsigned char> GetRawData()
const;
154 vtkInternals* Internals;
155 unsigned char Endianness;
stream used to pass data across processes using vtkMultiProcessController.
VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)
int RawSize()
Returns the size of the raw data returned by GetRawData.