10 #define vtkSMMessage_h 12 #if !defined(__VTK_WRAP__) && !defined(VTK_WRAPPING_CXX) 17 #pragma GCC diagnostic ignored "-Wsign-compare" 33 #pragma GCC diagnostic warning "-Wsign-compare" 41 switch (variant.type())
43 case paraview_protobuf::Variant::INT:
44 for (
int cc = 0; cc < variant.integer_size(); cc++)
46 stream << variant.integer(cc);
50 case paraview_protobuf::Variant::FLOAT64:
51 for (
int cc = 0; cc < variant.float64_size(); cc++)
53 stream << variant.float64(cc);
57 case paraview_protobuf::Variant::IDTYPE:
58 for (
int cc = 0; cc < variant.idtype_size(); cc++)
60 stream << variant.idtype(cc);
64 case paraview_protobuf::Variant::STRING:
65 for (
int cc = 0; cc < variant.txt_size(); cc++)
67 stream << variant.txt(cc).c_str();
79 #endif // !(defined(__VTK_WRAP__) && !defined(VTK_WRAPPING_CXX)
vtkClientServerStream & operator<<(vtkClientServerStream &stream, const paraview_protobuf::Variant &variant)
Store messages for the interpreter.