00001 /*========================================================================= 00002 00003 Program: ParaView 00004 Module: $RCSfile: vtkPVInputFixedTypeRequirement.h,v $ 00005 00006 Copyright (c) Kitware, Inc. 00007 All rights reserved. 00008 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00022 #ifndef __vtkPVInputFixedTypeRequirement_h 00023 #define __vtkPVInputFixedTypeRequirement_h 00024 00025 00026 class vtkDataSet; 00027 class vtkPVData; 00028 class vtkPVDataSetAttributesInformation; 00029 00030 #include "vtkPVInputRequirement.h" 00031 00032 class VTK_EXPORT vtkPVInputFixedTypeRequirement : public vtkPVInputRequirement 00033 { 00034 public: 00035 static vtkPVInputFixedTypeRequirement* New(); 00036 vtkTypeRevisionMacro(vtkPVInputFixedTypeRequirement, vtkPVInputRequirement); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 virtual int GetIsValidInput(vtkPVSource *input, vtkPVSource *pvs); 00041 00043 00045 virtual int ReadXMLAttributes(vtkPVXMLElement* element, 00046 vtkPVXMLPackageParser* parser); 00048 00049 protected: 00050 vtkPVInputFixedTypeRequirement(); 00051 ~vtkPVInputFixedTypeRequirement() {}; 00052 00053 vtkPVInputFixedTypeRequirement(const vtkPVInputFixedTypeRequirement&); // Not implemented 00054 void operator=(const vtkPVInputFixedTypeRequirement&); // Not implemented 00055 }; 00056 00057 #endif