Go to the documentation of this file.
36 #ifndef vtkBlueObeliskDataParser_h
37 #define vtkBlueObeliskDataParser_h
39 #include "vtkDomainsChemistryModule.h"
74 virtual int Parse(
const char *);
75 virtual int Parse(
const char *,
unsigned int);
87 void SetCurrentValue(
const char *
data,
int length);
88 void SetCurrentValue(
const char *
data);
93 void NewAtomStarted(
const char **attr);
94 void NewAtomFinished();
97 void NewValueStarted(
const char **attr);
98 void NewValueFinished();
137 float CurrentDefaultColor[3];
155 static void ResizeAndSetValue(
float val,
158 static void ResizeAndSetValue(
unsigned short val,
167 static int parseInt(
const char *);
168 static float parseFloat(
const char *);
169 static void parseFloat3(
const char * str,
float[3]);
170 static unsigned short parseUnsignedShort(
const char *);
float CurrentBoilingPoint
vtkStdString * CurrentSymbol
unsigned int CurrentGroup
float CurrentElectronAffinity
Parse XML to handle element tags and attributes.
float CurrentMeltingPoint
unsigned int CurrentPeriod
dynamic, self-adjusting array of unsigned short
dynamic, self-adjusting array of float
vtkStdString * CurrentName
vtkStdString * CurrentFamily
vtkStdString * CurrentPeriodicTableBlock
Fill a vtkBlueObeliskData container with data from the BODR XML dataset.
vtkStdString * CurrentElectronicConfiguration
float CurrentCovalentRadius
static vtkXMLParser * New()
Contains chemical data from the Blue Obelisk Data Repository.
float CurrentIonizationEnergy
virtual int Parse()
Parse the XML input.
virtual void EndElement(const char *name)
vtkBlueObeliskData * Target
Abstract superclass for all arrays.
virtual void StartElement(const char *name, const char **atts)
float CurrentPaulingElectronegativity
std::string CharacterDataValueBuffer
a vtkAbstractArray subclass for strings
Wrapper around std::string to keep symbols short.
virtual void CharacterDataHandler(const char *data, int length)