vtkPVClassNameInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVClassNameInformation.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 vtkPVClassNameInformation_h
25 #define vtkPVClassNameInformation_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 
46  vtkSetMacro(PortNumber, int);
48 
50 
53  vtkGetStringMacro(VTKClassName);
55 
59  void CopyFromObject(vtkObject*) override;
60 
64  void AddInformation(vtkPVInformation*) override;
65 
67 
70  void CopyToStream(vtkClientServerStream*) override;
71  void CopyFromStream(const vtkClientServerStream*) override;
73 
75 
84 
85 protected:
87  ~vtkPVClassNameInformation() override;
88 
90  char* VTKClassName;
91  vtkSetStringMacro(VTKClassName);
92 
93 private:
95  void operator=(const vtkPVClassNameInformation&) = delete;
96 };
97 
98 #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.