ParaView
vtkPVAlgorithmPortsInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVAlgorithmPortsInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkPVAlgorithmPortsInformation_h
25 #define vtkPVAlgorithmPortsInformation_h
26 
27 #include "vtkPVClientServerCoreCoreModule.h" //needed for exports
28 #include "vtkPVInformation.h"
29 
30 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkPVAlgorithmPortsInformation : public vtkPVInformation
31 {
32 public:
33  static vtkPVAlgorithmPortsInformation* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
41  vtkGetMacro(NumberOfOutputs, int);
43 
45 
48  vtkGetMacro(NumberOfRequiredInputs, int);
50 
54  virtual void CopyFromObject(vtkObject*);
55 
59  virtual void AddInformation(vtkPVInformation*);
60 
62 
65  virtual void CopyToStream(vtkClientServerStream*);
66  virtual void CopyFromStream(const vtkClientServerStream*);
68 
69 protected:
72 
75 
76  vtkSetMacro(NumberOfOutputs, int);
77 
78 private:
80  void operator=(const vtkPVAlgorithmPortsInformation&) VTK_DELETE_FUNCTION;
81 };
82 
83 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
Store messages for the interpreter.
void PrintSelf(ostream &os, vtkIndent indent)
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
Superclass for information objects.