vtkPVInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVInformation.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 =========================================================================*/
22 #ifndef vtkPVInformation_h
23 #define vtkPVInformation_h
24 
25 #include "vtkObject.h"
26 #include "vtkRemotingCoreModule.h" //needed for exports
27 
30 
32 {
33 public:
34  vtkTypeMacro(vtkPVInformation, vtkObject);
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
40  virtual void CopyFromObject(vtkObject*);
41 
45  virtual void AddInformation(vtkPVInformation*);
46 
48 
51  virtual void CopyToStream(vtkClientServerStream*) = 0;
52  virtual void CopyFromStream(const vtkClientServerStream*);
54 
56 
65 
67 
70  vtkGetMacro(RootOnly, int);
72 
73 protected:
75  ~vtkPVInformation() override;
76 
77  int RootOnly;
78  vtkSetMacro(RootOnly, int);
79 
80  vtkPVInformation(const vtkPVInformation&) = delete;
81  void operator=(const vtkPVInformation&) = delete;
82 };
83 
84 #endif
virtual void CopyParametersToStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Store messages for the interpreter.
#define VTKREMOTINGCORE_EXPORT
virtual void CopyParametersFromStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
void operator=(const vtkObjectBase &)
Superclass for information objects.