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 8f10a4ba authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

COMP: Added a vtkStdString OStreamWrapper <<.

Prevent issue with multiple available overloads not that const char*
operator is const in vtkStdString.

Change-Id: Icaa36d86b6f16a66a38afc3a8df0dafef0f7c2a7
parent 4d284e34
......@@ -17,6 +17,7 @@
#include "vtkIOStream.h"
#include "vtkIndent.h"
#include "vtkLargeInteger.h"
#include "vtkStdString.h"
#include "vtkObjectBase.h"
#include "vtkSmartPointerBase.h"
......@@ -55,6 +56,7 @@ VTKOSTREAM_OPERATOR(const vtkIndent&);
VTKOSTREAM_OPERATOR(vtkObjectBase&);
VTKOSTREAM_OPERATOR(const vtkLargeInteger&);
VTKOSTREAM_OPERATOR(const vtkSmartPointerBase&);
VTKOSTREAM_OPERATOR(const vtkStdString&);
VTKOSTREAM_OPERATOR(ostream&);
VTKOSTREAM_OPERATOR(const char*);
VTKOSTREAM_OPERATOR(void*);
......
......@@ -32,6 +32,7 @@ class vtkIndent;
class vtkObjectBase;
class vtkLargeInteger;
class vtkSmartPointerBase;
class vtkStdString;
class VTK_COMMON_EXPORT vtkOStreamWrapper
{
......@@ -56,6 +57,7 @@ public:
vtkOStreamWrapper& operator << (vtkObjectBase&);
vtkOStreamWrapper& operator << (const vtkLargeInteger&);
vtkOStreamWrapper& operator << (const vtkSmartPointerBase&);
vtkOStreamWrapper& operator << (const vtkStdString&);
vtkOStreamWrapper& operator << (ostream&);
vtkOStreamWrapper& operator << (const char*);
vtkOStreamWrapper& operator << (void*);
......
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