vtkPVDataSizeInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVDataSizeInformation.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 =========================================================================*/
26 #ifndef vtkPVDataSizeInformation_h
27 #define vtkPVDataSizeInformation_h
28 
29 #include "vtkPVInformation.h"
30 #include "vtkRemotingCoreModule.h" //needed for exports
31 
33 {
34 public:
35  static vtkPVDataSizeInformation* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  void CopyFromObject(vtkObject*) override;
43 
47  void AddInformation(vtkPVInformation* info) override;
48 
50 
53  void CopyToStream(vtkClientServerStream*) override;
54  void CopyFromStream(const vtkClientServerStream*) override;
56 
60  void Initialize();
61 
63 
66  vtkGetMacro(MemorySize, int);
68 
69 protected:
71  ~vtkPVDataSizeInformation() override;
72 
74 
75 private:
77  void operator=(const vtkPVDataSizeInformation&) = delete;
78 };
79 
80 #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.