/usr/include/paraview/vtkSpyPlotReaderMap.h is in paraview-dev 5.0.1+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkSpyPlotReaderMap.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkSpyPlotReaderMap - Maps strings to vtkSpyPlotUniReaders
// .SECTION Description
// Extracted from vtkSpyPlotReader
//-----------------------------------------------------------------------------
//=============================================================================
#ifndef vtkSpyPlotReaderMap_h
#define vtkSpyPlotReaderMap_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkSystemIncludes.h"
#include <string>
#include <vector>
#include <map>
class vtkMultiProcessStream;
class vtkSpyPlotReader;
class vtkSpyPlotUniReader;
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkSpyPlotReaderMap
{
public:
typedef std::map<std::string, vtkSpyPlotUniReader*> MapOfStringToSPCTH;
typedef std::vector<std::string> VectorOfStrings;
MapOfStringToSPCTH Files;
// Initialize the file-map. The filename can either be a case file or a spcth
// file. In case of later, we detect fileseries automatically.
// This method should ideally be called only on the 0th node to avoid reading
// reads for meta-data on all the nodes.
bool Initialize(const char *filename);
void Clean(vtkSpyPlotUniReader* save);
vtkSpyPlotUniReader* GetReader(MapOfStringToSPCTH::iterator& it,
vtkSpyPlotReader* parent);
void TellReadersToCheck(vtkSpyPlotReader *parent);
bool Save(vtkMultiProcessStream& stream);
bool Load(vtkMultiProcessStream& stream);
private:
// Description:
// This does the updating of the meta data of the case file. Similar to
// InitializeFromCaseFile, this method builds the vtkSpyPlotReaderMap using the
// case file.
bool InitializeFromSpyFile(const char*);
// Description:
// This does the updating of the meta data for a series, when no case file
// provided. The main role of this method is to build the vtkSpyPlotReaderMap
// based on the files.
bool InitializeFromCaseFile(const char*);
};
#endif
// VTK-HeaderTest-Exclude: vtkSpyPlotReaderMap.h
|