VTK
vtkLSDynaSummaryParser.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLSDynaSummaryParser.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
15 #ifndef __vtkLSDynaSummaryParser_h
16 #define __vtkLSDynaSummaryParser_h
17 
18 #include "vtkIOLSDynaModule.h" // For export macro
19 #include "vtkXMLParser.h"
20 #include "vtkStdString.h" //needed for vtkStdString
21 
22 class LSDynaMetaData;
23 class VTKIOLSDYNA_EXPORT vtkLSDynaSummaryParser : public vtkXMLParser
24 {
25 public:
27  static vtkLSDynaSummaryParser* New();
28  virtual void PrintSelf(ostream &os, vtkIndent indent);
29 
30 
31 
33  LSDynaMetaData* MetaData;
34 
35 protected:
37  virtual ~vtkLSDynaSummaryParser() { };
38 
39  virtual void StartElement(const char* name, const char** atts);
40  virtual void EndElement(const char* name);
41  virtual void CharacterDataHandler(const char* data, int length);
42 
44  int PartId;
47  int InPart;
48  int InDyna;
49  int InName;
50 
51 private:
52  vtkLSDynaSummaryParser( const vtkLSDynaSummaryParser& ); // Not implemented.
53  void operator = ( const vtkLSDynaSummaryParser& ); // Not implemented.
54 };
55 
56 #endif //__vtkLSDynaReader_h