Commit 3ae7dd3a authored by Brad King's avatar Brad King

ENH: Remove use of include <vtksys/ios/*> and vtksys_ios::*

We no longer need this compatibility layer for the compilers we support.
Use the following commands to switch to standard header and namespace:

 git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||'
 git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
parent eaf0f6ac
......@@ -23,8 +23,8 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -22,8 +22,8 @@
#include <vtkDenseArray.h>
#include <vtkSmartPointer.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -22,8 +22,8 @@
#include <vtkDenseArray.h>
#include <vtkSmartPointer.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -23,8 +23,8 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -24,8 +24,8 @@
#include <vtkSparseArray.h>
#include <vtkTryDowncast.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <boost/algorithm/string.hpp>
......
......@@ -22,8 +22,8 @@
#include <vtkArrayCoordinates.h>
#include <vtkArrayExtents.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include "vtkSetGet.h"
......
......@@ -23,7 +23,7 @@
#include <vtkDenseArray.h>
#include <vtkSmartPointer.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
void test_expression(const bool expression, const std::string& message)
......
......@@ -22,7 +22,7 @@
#include <vtkSparseArray.h>
#include <vtkSmartPointer.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
template<typename T>
......
......@@ -23,8 +23,8 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -22,8 +22,8 @@
#include <vtkDenseArray.h>
#include <vtkSmartPointer.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -23,7 +23,7 @@
#include <vtkSparseArray.h>
#include <vtkSmartPointer.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -22,8 +22,8 @@
#include <vtkUnicodeString.h>
#include <iterator>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -27,8 +27,8 @@
#include <vtkTestErrorObserver.h>
#include <iterator>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
static int TestErrorsAndWarnings();
......
......@@ -16,7 +16,7 @@
#include "vtkObjectFactory.h"
#include "vtkCommand.h"
#include "vtksys/ios/sstream"
#include "sstream"
#include <android/log.h>
......
......@@ -18,7 +18,7 @@
#include "vtkObjectFactory.h"
#include "vtkSmartPointerBase.h"
#include <vtksys/ios/sstream>
#include <sstream>
#include <queue>
#include <stack>
#include <vector>
......
......@@ -18,7 +18,7 @@
#include "vtkGarbageCollector.h"
#include "vtkWeakPointerBase.h"
#include <vtksys/ios/sstream>
#include <sstream>
#define vtkBaseDebugMacro(x)
......
......@@ -23,7 +23,7 @@
#include "vtkObjectFactory.h"
#include "vtkStdString.h"
#include "vtksys/ios/sstream"
#include "sstream"
#if defined (__BORLANDC__)
#include <ctype.h> // for isdigit
......
......@@ -49,7 +49,7 @@ really building the vtkVariant.o object.
#include "vtkStringArray.h"
#include "vtkMath.h"
#include "vtksys/ios/sstream"
#include "sstream"
#include "vtksys/SystemTools.hxx"
#include <locale> // C++ locale
......
......@@ -24,7 +24,7 @@
#include "vtkIdTypeArray.h"
#include "vtkQuad.h"
#include <vtksys/ios/sstream>
#include <sstream>
int TestCellArray(ostream& strm)
{
......
......@@ -36,7 +36,7 @@
#include "vtkPentagonalPrism.h"
#include "vtkHexagonalPrism.h"
#include <vtksys/ios/sstream>
#include <sstream>
int TestOCB(ostream& strm)
{
......
......@@ -36,7 +36,7 @@
#include "vtkPentagonalPrism.h"
#include "vtkHexagonalPrism.h"
#include <vtksys/ios/sstream>
#include <sstream>
int TestOCP(ostream& strm)
{
......
......@@ -20,7 +20,7 @@
#include "vtkColorTransferFunction.h"
#include "vtkDebugLeaks.h"
#include <vtksys/ios/sstream>
#include <sstream>
int Test(ostream& strm)
{
......
......@@ -22,7 +22,7 @@
#include "vtkPointData.h"
#include "vtkCellData.h"
#include <vtksys/ios/sstream>
#include <sstream>
#include "vtkDebugLeaks.h"
......
......@@ -28,7 +28,7 @@
#include "vtkRectilinearGrid.h"
#include "vtkShortArray.h"
#include <vtksys/ios/sstream>
#include <sstream>
int TestORG(ostream& strm)
{
......
......@@ -28,7 +28,7 @@
#include "vtkShortArray.h"
#include "vtkStructuredGrid.h"
#include <vtksys/ios/sstream>
#include <sstream>
int TestOSG(ostream& strm)
{
......
......@@ -29,7 +29,7 @@
#include "vtkQuadraticPyramid.h"
#include "vtkPoints.h"
#include <vtksys/ios/sstream>
#include <sstream>
// New quadratic cells
#include "vtkBiQuadraticQuad.h"
......
......@@ -20,7 +20,7 @@
#include "vtkInformationStringKey.h"
#include "vtkCellType.h"
#include "vtkXMLDataElement.h"
#include "vtksys/ios/sstream"
#include "sstream"
using std::ostringstream;
using std::istringstream;
#include <string>
......
......@@ -17,7 +17,7 @@
#include "vtkObjectFactory.h"
#include <ctype.h>
#include <vtksys/ios/sstream>
#include <sstream>
using std::ostringstream;
using std::istringstream;
#include <vtksys/SystemTools.hxx>
......
......@@ -29,7 +29,7 @@
#include "vtkSmartPointer.h"
#include <vector>
#include <vtksys/ios/sstream>
#include <sstream>
#include "vtkCompositeDataPipeline.h"
......
......@@ -20,7 +20,7 @@
#include "vtkTimerLog.h"
#include "vtkDebugLeaks.h"
#include <vtksys/ios/sstream>
#include <sstream>
// this is needed for the unlink call
#if defined(__CYGWIN__)
......
#include <vtkArrayPrint.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/sstream>
#include <sstream>
int main(int argc, char* argv[])
{
......
......@@ -48,7 +48,7 @@ All rights reserved.
#include "vtksys/CommandLineArguments.hxx"
#include <vtksys/ios/sstream>
#include <sstream>
void SetInputParameters( int& dim,
int& branch,
......
......@@ -37,7 +37,7 @@
#include "vtkStructuredGridOutlineFilter.h"
#include "vtkTestUtilities.h"
#include "vtkXMLStructuredGridReader.h"
#include <vtksys/ios/sstream>
#include <sstream>
int main(int argc, char* argv[])
{
......
......@@ -20,7 +20,7 @@
#include "vtkStdString.h"
#include "vtkTimerLog.h"
#include <vtksys/ios/sstream>
#include <sstream>
//=============================================================================
......
......@@ -43,7 +43,7 @@
#include <cassert>
#include <map>
#include <string>
#include <vtksys/ios/sstream>
#include <sstream>
#include <vector>
class vtkExtractArraysOverTime::vtkInternal
......
......@@ -25,7 +25,7 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -25,7 +25,7 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -26,7 +26,7 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -34,7 +34,7 @@
#include "vtkInformationQuadratureSchemeDefinitionVectorKey.h"
#include "vtkObjectFactory.h"
#include "vtksys/ios/sstream"
#include "sstream"
using std::ostringstream;
#include "vtkQuadraturePointsUtilities.hxx"
......
......@@ -37,7 +37,7 @@
#include "vtkQuadratureSchemeDefinition.h"
#include "vtkQuadraturePointsUtilities.hxx"
#include "vtksys/ios/sstream"
#include "sstream"
using std::ostringstream;
//-----------------------------------------------------------------------------
......
......@@ -33,7 +33,7 @@
#include "vtkInformationQuadratureSchemeDefinitionVectorKey.h"
#include "vtkObjectFactory.h"
#include <vtksys/ios/sstream>
#include <sstream>
#include <string>
#include "vtkSmartPointer.h"
using std::ostringstream;
......
......@@ -21,7 +21,7 @@
#include "vtkStdString.h"
#include "vtkTable.h"
#include "vtksys/ios/sstream"
#include "sstream"
#include "math.h"
vtkStandardNewMacro(vtkSplitColumnComponents);
......
......@@ -35,7 +35,7 @@
#include "vtkGenericAttribute.h"
#include <cassert>
#include <string>
#include <vtksys/ios/sstream>
#include <sstream>
//-----------------------------------------------------------------------------
// Description:
......
......@@ -30,7 +30,7 @@
#include "vtkDoubleArray.h"
#include "vtkSmartPointer.h"
#include <vtksys/ios/sstream>
#include <sstream>
#include <sys/stat.h>
#include <string>
#include <vector>
......
......@@ -31,8 +31,8 @@
#include <vtkTableToSparseArray.h>
#include <vtkDenseArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
namespace
......
......@@ -25,8 +25,8 @@
#include <vtkArray.h>
#include <vtkDenseArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <stdio.h>
#include <string.h>
......
......@@ -41,7 +41,7 @@
#include <cstdlib>
#include <string>
#include <vector>
#include <vtksys/ios/sstream>
#include <sstream>
#include <sys/stat.h>
#define BUFFER_SIZE 32768
......
......@@ -28,7 +28,7 @@
#include <cstdlib>
#include <string>
#include <vtksys/ios/sstream>
#include <sstream>
#include <sys/stat.h>
#include <string>
......
......@@ -49,7 +49,7 @@ PURPOSE. See the above copyright notice for more information.
#include "vtksys/CommandLineArguments.hxx"
#include <vtksys/ios/sstream>
#include <sstream>
namespace
{
......
......@@ -31,7 +31,7 @@
#include "vtkUnstructuredGridReader.h"
#include "vtkUnstructuredGridWriter.h"
#include <vtksys/ios/sstream>
#include <sstream>
// Reference values
static vtkIdType cardCellDistanceSelection2D[] =
......
......@@ -31,7 +31,7 @@
#include "vtkUnstructuredGridReader.h"
#include "vtkUnstructuredGridWriter.h"
#include <vtksys/ios/sstream>
#include <sstream>
// Reference values
const vtkIdType cardCellDistanceSelection3D[] =
......
......@@ -31,7 +31,7 @@
#include "vtkUnstructuredGridReader.h"
#include "vtkUnstructuredGridWriter.h"
#include <vtksys/ios/sstream>
#include <sstream>
#if 0
// Reference value
......
......@@ -31,7 +31,7 @@
#include "vtkUnstructuredGridReader.h"
#include "vtkUnstructuredGridWriter.h"
#include <vtksys/ios/sstream>
#include <sstream>
// Reference values
const vtkIdType cardSelection[] =
......
......@@ -26,7 +26,7 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -26,7 +26,7 @@
#include <vtkSmartPointer.h>
#include <vtkSparseArray.h>
#include <vtksys/ios/iostream>
#include <iostream>
#include <stdexcept>
#define test_expression(expression) \
......
......@@ -19,7 +19,7 @@
#include "vtkTimerLog.h"
#include "vtkCorrelativeStatistics.h"
#include <vtksys/ios/sstream>
#include <sstream>
//=============================================================================
// When changing this file, change the corresponding file in
......
......@@ -20,7 +20,7 @@
#include "vtkStdString.h"
#include "vtkTimerLog.h"
#include <vtksys/ios/sstream>
#include <sstream>
//=============================================================================
......
......@@ -8,7 +8,7 @@
#include "vtkIntArray.h"
#include "vtkIdTypeArray.h"
#include <vtksys/ios/sstream>
#include <sstream>
vtkStandardNewMacro(vtkKMeansDistanceFunctorCalculator);
vtkCxxSetObjectMacro(vtkKMeansDistanceFunctorCalculator,FunctionParser,vtkFunctionParser);
......
......@@ -13,7 +13,7 @@
#include <map>
#include <vector>
#include <vtksys/ios/sstream>
#include <sstream>
#include "alglib/svd.h"
......
......@@ -19,7 +19,7 @@
#include "vtkTimerLog.h"
#include "vtkCorrelativeStatistics.h"
#include <vtksys/ios/sstream>
#include <sstream>
//=============================================================================
// When changing this file, change the corresponding file in
......
......@@ -35,8 +35,8 @@
#include <vtkNew.h>
#include <vtkStringArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
namespace
......
......@@ -32,8 +32,8 @@
#include <vtkDataSetAttributes.h>
#include <vtkStringArray.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <stdio.h>
#include <string.h>
......
......@@ -27,8 +27,8 @@ PURPOSE. See the above copyright notice for more information.
#include <vtkTable.h>
#include <vtkVariant.h>
#include <vtksys/ios/iostream>
#include <vtksys/ios/sstream>
#include <iostream>
#include <sstream>
#include <stdexcept>
namespace
......
......@@ -36,7 +36,7 @@ PURPOSE. See the above copyright notice for more information.
#include <map>
#include <vector>
#include <vtksys/ios/sstream>
#include <sstream>
vtkStandardNewMacro(vtkContingencyStatisticsGnuR);
......
......@@ -27,7 +27,7 @@
#include "vtkObjectFactory.h"