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 *);
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.