ParaView
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 "vtkPVClientServerCoreCoreModule.h" //needed for exports
30 #include "vtkPVInformation.h"
31 
32 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkPVDataSizeInformation : public vtkPVInformation
33 {
34 public:
35  static vtkPVDataSizeInformation* New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
42  virtual void CopyFromObject(vtkObject*);
43 
47  virtual void AddInformation(vtkPVInformation* info);
48 
50 
53  virtual void CopyToStream(vtkClientServerStream*);
54  virtual void CopyFromStream(const vtkClientServerStream*);
56 
60  void Initialize();
61 
63 
66  vtkGetMacro(MemorySize, int);
68 
69 protected:
72 
74 
75 private:
76  vtkPVDataSizeInformation(const vtkPVDataSizeInformation&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkPVDataSizeInformation&) VTK_DELETE_FUNCTION;
78 };
79 
80 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
Store messages for the interpreter.
void PrintSelf(ostream &os, vtkIndent indent)
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.
Superclass for information objects.