vtkPVClassNameInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVClassNameInformation_h
13 #define vtkPVClassNameInformation_h
14 
15 #include "vtkPVInformation.h"
16 #include "vtkRemotingCoreModule.h" //needed for exports
17 
19 {
20 public:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
34  vtkSetMacro(PortNumber, int);
36 
38 
41  vtkGetStringMacro(VTKClassName);
43 
47  void CopyFromObject(vtkObject*) override;
48 
52  void AddInformation(vtkPVInformation*) override;
53 
55 
58  void CopyToStream(vtkClientServerStream*) override;
59  void CopyFromStream(const vtkClientServerStream*) override;
61 
63 
72 
73 protected:
75  ~vtkPVClassNameInformation() override;
76 
78  char* VTKClassName;
79  vtkSetStringMacro(VTKClassName);
80 
81 private:
83  void operator=(const vtkPVClassNameInformation&) = delete;
84 };
85 
86 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
virtual void CopyParametersToStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
void PrintSelf(ostream &os, vtkIndent indent) override
Store messages for the interpreter.
void operator=(const vtkPVInformation &)=delete
#define VTKREMOTINGCORE_EXPORT
virtual void CopyParametersFromStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
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.