VTK
dox/IO/XML/vtkXMLHierarchicalDataReader.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    vtkXMLHierarchicalDataReader.h
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef __vtkXMLHierarchicalDataReader_h
00029 #define __vtkXMLHierarchicalDataReader_h
00030 
00031 #include "vtkIOXMLModule.h" // For export macro
00032 #include "vtkXMLMultiGroupDataReader.h"
00033 
00034 class vtkHierarchicalDataSet;
00035 
00036 class VTKIOXML_EXPORT vtkXMLHierarchicalDataReader : public vtkXMLMultiGroupDataReader
00037 {
00038 public:
00039   static vtkXMLHierarchicalDataReader* New();
00040   vtkTypeMacro(vtkXMLHierarchicalDataReader,vtkXMLMultiGroupDataReader);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00043 protected:
00044   vtkXMLHierarchicalDataReader();
00045   ~vtkXMLHierarchicalDataReader();
00046 
00047   // Get the name of the data set being read.
00048   virtual const char* GetDataSetName()
00049     {
00050     return "vtkHierarchicalDataSet";
00051     }
00052 
00053 private:
00054   vtkXMLHierarchicalDataReader(const vtkXMLHierarchicalDataReader&);  // Not implemented.
00055   void operator=(const vtkXMLHierarchicalDataReader&);  // Not implemented.
00056 };
00057 
00058 #endif