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 =========================================================================*/
22 #ifndef vtkLSDynaSummaryParser_h
23 #define vtkLSDynaSummaryParser_h
24 
25 #include "vtkIOLSDynaModule.h" // For export macro
26 #include "vtkXMLParser.h"
27 #include "vtkStdString.h" //needed for vtkStdString
28 
29 class LSDynaMetaData;
31 {
32 public:
35  virtual void PrintSelf(ostream &os, vtkIndent indent);
36 
37 
38 
40  LSDynaMetaData* MetaData;
41 
42 protected:
44  virtual ~vtkLSDynaSummaryParser() { };
45 
46  virtual void StartElement(const char* name, const char** atts);
47  virtual void EndElement(const char* name);
48  virtual void CharacterDataHandler(const char* data, int length);
49 
51  int PartId;
54  int InPart;
55  int InDyna;
56  int InName;
57 
58 private:
59  vtkLSDynaSummaryParser( const vtkLSDynaSummaryParser& ); // Not implemented.
60  void operator = ( const vtkLSDynaSummaryParser& ); // Not implemented.
61 };
62 
63 #endif //vtkLSDynaReader_h
vtkLSDynaSummaryParser::vtkLSDynaSummaryParser
vtkLSDynaSummaryParser()
vtkLSDynaSummaryParser::CharacterDataHandler
virtual void CharacterDataHandler(const char *data, int length)
vtkStdString.h
vtkgl::data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
vtkLSDynaSummaryParser::InDyna
int InDyna
Definition: vtkLSDynaSummaryParser.h:55
vtkXMLParser
Parse XML to handle element tags and attributes.
Definition: vtkXMLParser.h:42
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkLSDynaSummaryParser::InName
int InName
Definition: vtkLSDynaSummaryParser.h:56
vtkXMLParser.h
vtkLSDynaSummaryParser::StartElement
virtual void StartElement(const char *name, const char **atts)
vtkLSDynaSummaryParser::New
static vtkLSDynaSummaryParser * New()
vtkgl::length
GLuint GLsizei GLsizei * length
Definition: vtkgl.h:11992
vtkLSDynaSummaryParser::MetaData
LSDynaMetaData * MetaData
Must be set before calling Parse();.
Definition: vtkLSDynaSummaryParser.h:40
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkLSDynaSummaryParser::InPart
int InPart
Definition: vtkLSDynaSummaryParser.h:54
vtkLSDynaSummaryParser::EndElement
virtual void EndElement(const char *name)
vtkLSDynaSummaryParser::PartStatus
int PartStatus
Definition: vtkLSDynaSummaryParser.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkIOLSDynaModule.h
vtkLSDynaSummaryParser::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkLSDynaSummaryParser::PartName
vtkStdString PartName
Definition: vtkLSDynaSummaryParser.h:50
vtkLSDynaSummaryParser::PartMaterial
int PartMaterial
Definition: vtkLSDynaSummaryParser.h:53
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:48
vtkLSDynaSummaryParser::~vtkLSDynaSummaryParser
virtual ~vtkLSDynaSummaryParser()
Definition: vtkLSDynaSummaryParser.h:44
vtkLSDynaSummaryParser::PartId
int PartId
Definition: vtkLSDynaSummaryParser.h:51
vtkLSDynaSummaryParser
Definition: vtkLSDynaSummaryParser.h:31
VTKIOLSDYNA_EXPORT
#define VTKIOLSDYNA_EXPORT
Definition: vtkIOLSDynaModule.h:15