An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 28bbd9fb authored by Brad King's avatar Brad King
Browse files

ENH: Added wrapper operator for bool if VTK_COMPILER_HAS_BOOL is defined.

parent 84c4bec4
......@@ -53,7 +53,7 @@ VTKOSTREAM_OPERATOR(vtkObjectBase&);
VTKOSTREAM_OPERATOR(const vtkLargeInteger&);
VTKOSTREAM_OPERATOR(ostream&);
VTKOSTREAM_OPERATOR(const char*);
VTKOSTREAM_OPERATOR(void*);
VTKOSTREAM_OPERATOR(const void*);
VTKOSTREAM_OPERATOR(char);
VTKOSTREAM_OPERATOR(short);
VTKOSTREAM_OPERATOR(int);
......@@ -64,6 +64,9 @@ VTKOSTREAM_OPERATOR(unsigned int);
VTKOSTREAM_OPERATOR(unsigned long);
VTKOSTREAM_OPERATOR(float);
VTKOSTREAM_OPERATOR(double);
#ifdef VTK_COMPILER_HAS_BOOL
VTKOSTREAM_OPERATOR(bool);
#endif
#ifdef VTK_NEED_ID_TYPE_STREAM_OPERATORS
vtkOStreamWrapper& vtkOStreamWrapper::operator << (vtkIdType a)
{
......
......@@ -56,7 +56,7 @@ public:
vtkOStreamWrapper& operator << (const vtkLargeInteger&);
vtkOStreamWrapper& operator << (ostream&);
vtkOStreamWrapper& operator << (const char*);
vtkOStreamWrapper& operator << (void*);
vtkOStreamWrapper& operator << (const void*);
vtkOStreamWrapper& operator << (char);
vtkOStreamWrapper& operator << (short);
vtkOStreamWrapper& operator << (int);
......@@ -67,6 +67,9 @@ public:
vtkOStreamWrapper& operator << (unsigned long);
vtkOStreamWrapper& operator << (float);
vtkOStreamWrapper& operator << (double);
#ifdef VTK_COMPILER_HAS_BOOL
vtkOStreamWrapper& operator << (bool);
#endif
#ifdef VTK_NEED_ID_TYPE_STREAM_OPERATORS
vtkOStreamWrapper& operator << (vtkIdType);
#endif
......
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