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 "vtkXMLParser.h"
19 #include "vtkStdString.h" //needed for vtkStdString
20 
21 class LSDynaMetaData;
23 {
24 public:
26  static vtkLSDynaSummaryParser* New();
27  virtual void PrintSelf(ostream &os, vtkIndent indent);
28 
29 
30 
32  LSDynaMetaData* MetaData;
33 
34 protected:
36  virtual ~vtkLSDynaSummaryParser() { };
37 
38  virtual void StartElement(const char* name, const char** atts);
39  virtual void EndElement(const char* name);
40  virtual void CharacterDataHandler(const char* data, int length);
41 
43  int PartId;
46  int InPart;
47  int InDyna;
48  int InName;
49 
50 private:
51  vtkLSDynaSummaryParser( const vtkLSDynaSummaryParser& ); // Not implemented.
52  void operator = ( const vtkLSDynaSummaryParser& ); // Not implemented.
53 };
54 
55 #endif //__vtkLSDynaReader_h