/usr/include/paraview/vtkCPCxxHelper.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 | /*=========================================================================
Program: ParaView
Module: vtkCPCxxHelper.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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.
=========================================================================*/
#ifndef vtkCPCxxHelper_h
#define vtkCPCxxHelper_h
#include "vtkObject.h"
#include "vtkPVCatalystModule.h" // For windows import/export of shared libraries
#include "vtkWeakPointer.h" // needed for vtkWeakPointer.
class vtkPVOptions;
/// @ingroup CoProcessing
/// Singleton class for initializing without python.
/// The vtkCPCxxHelper instance is created on the first call to
/// vtkCPCxxHelper::New(), subsequent calls return the same instance (but with
/// an increased reference count). When the caller is done with the
/// vtkCPCxxHelper instance, it should simply call Delete() or UnRegister() on
/// it. When the last caller of vtkCPCxxHelper::New() releases the reference,
/// the singleton instance will be cleaned up.
class VTKPVCATALYST_EXPORT vtkCPCxxHelper : public vtkObject
{
public:
static vtkCPCxxHelper* New();
vtkTypeMacro(vtkCPCxxHelper,vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkCPCxxHelper();
virtual ~vtkCPCxxHelper();
private:
vtkCPCxxHelper(const vtkCPCxxHelper&); // Not implemented
void operator=(const vtkCPCxxHelper&); // Not implemented
vtkPVOptions* Options;
/// The singleton instance of the class.
static vtkWeakPointer<vtkCPCxxHelper> Instance;
};
#endif
|