vtkPVInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVInformation_h
11 #define vtkPVInformation_h
12 
13 #include "vtkObject.h"
14 #include "vtkRemotingCoreModule.h" //needed for exports
15 
18 
20 {
21 public:
22  vtkTypeMacro(vtkPVInformation, vtkObject);
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
28  virtual void CopyFromObject(vtkObject*);
29 
33  virtual void AddInformation(vtkPVInformation*);
34 
36 
39  virtual void CopyToStream(vtkClientServerStream*) = 0;
40  virtual void CopyFromStream(const vtkClientServerStream*);
42 
44 
53 
55 
58  vtkGetMacro(RootOnly, int);
60 
61 protected:
63  ~vtkPVInformation() override;
64 
65  int RootOnly;
66  vtkSetMacro(RootOnly, int);
67 
68  vtkPVInformation(const vtkPVInformation&) = delete;
69  void operator=(const vtkPVInformation&) = delete;
70 };
71 
72 #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.