vtkPVDataSizeInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkPVDataSizeInformation_h
15 #define vtkPVDataSizeInformation_h
16 
17 #include "vtkPVInformation.h"
18 #include "vtkRemotingCoreModule.h" //needed for exports
19 
21 {
22 public:
23  static vtkPVDataSizeInformation* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
30  void CopyFromObject(vtkObject*) override;
31 
35  void AddInformation(vtkPVInformation* info) override;
36 
38 
41  void CopyToStream(vtkClientServerStream*) override;
42  void CopyFromStream(const vtkClientServerStream*) override;
44 
48  void Initialize();
49 
51 
54  vtkGetMacro(MemorySize, int);
56 
57 protected:
59  ~vtkPVDataSizeInformation() override;
60 
62 
63 private:
65  void operator=(const vtkPVDataSizeInformation&) = delete;
66 };
67 
68 #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
PV information object for getting information about data size.
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.