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();
140 float CurrentDefaultColor[3];
164 static int parseInt(
const char*);
165 static float parseFloat(
const char*);
166 static void parseFloat3(
const char* str,
float[3]);
167 static unsigned short parseUnsignedShort(
const char*);
Wrapper around std::string to keep symbols short.
virtual int Parse()
Parse the XML input.
vtkBlueObeliskData * Target
Parse XML to handle element tags and attributes.
vtkStdString * CurrentElectronicConfiguration
Abstract superclass for all arrays.
vtkStdString * CurrentName
float CurrentBoilingPoint
virtual void StartElement(const char *name, const char **atts)
dynamic, self-adjusting array of float
a vtkAbstractArray subclass for strings
unsigned int CurrentPeriod
float CurrentCovalentRadius
float CurrentMeltingPoint
virtual void CharacterDataHandler(const char *data, int length)
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float CurrentPaulingElectronegativity
vtkStdString * CurrentPeriodicTableBlock
vtkStdString * CurrentSymbol
unsigned int CurrentGroup
virtual void EndElement(const char *name)
float CurrentIonizationEnergy
static vtkXMLParser * New()
Fill a vtkBlueObeliskData container with data from the BODR XML dataset.
vtkStdString * CurrentFamily
float CurrentElectronAffinity
std::string CharacterDataValueBuffer
dynamic, self-adjusting array of unsigned short
Contains chemical data from the Blue Obelisk Data Repository.