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 "vtkPVInformation.h"
28 #include "vtkRemotingCoreModule.h" //needed for exports
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkGetMacro(NumberOfOutputs, int);
43 
45 
48  vtkGetMacro(NumberOfRequiredInputs, int);
50 
54  void CopyFromObject(vtkObject*) override;
55 
59  void AddInformation(vtkPVInformation*) override;
60 
62 
65  void CopyToStream(vtkClientServerStream*) override;
66  void CopyFromStream(const vtkClientServerStream*) override;
68 
69 protected:
72 
75 
76  vtkSetMacro(NumberOfOutputs, int);
77 
78 private:
80  void operator=(const vtkPVAlgorithmPortsInformation&) = delete;
81 };
82 
83 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
void PrintSelf(ostream &os, vtkIndent indent) override
Store messages for the interpreter.
void operator=(const vtkPVInformation &)=delete
#define VTKREMOTINGCORE_EXPORT
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.
static vtkObject * New()
Superclass for information objects.