Go to the documentation of this file.
36 #ifndef vtkBlueObeliskDataParser_h
37 #define vtkBlueObeliskDataParser_h
39 #include "vtkDomainsChemistryModule.h"
76 int Parse(
const char *)
override;
77 int Parse(
const char *,
unsigned int)
override;
89 void SetCurrentValue(
const char *
data,
int length);
90 void SetCurrentValue(
const char *
data);
95 void NewAtomStarted(
const char **attr);
96 void NewAtomFinished();
99 void NewValueStarted(
const char **attr);
100 void NewValueFinished();
139 float CurrentDefaultColor[3];
157 static void ResizeAndSetValue(
float val,
160 static void ResizeAndSetValue(
unsigned short val,
169 static int parseInt(
const char *);
170 static float parseFloat(
const char *);
171 static void parseFloat3(
const char * str,
float[3]);
172 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
a simple class to control print indentation
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Wrapper around std::string to keep symbols short.
virtual void CharacterDataHandler(const char *data, int length)