24 #ifndef vtkBlueObeliskDataParser_h
25 #define vtkBlueObeliskDataParser_h
27 #include "vtkDomainsChemistryModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
64 int Parse(
const char*)
override;
65 int Parse(
const char*,
unsigned int)
override;
77 void SetCurrentValue(
const char*
data,
int length);
78 void SetCurrentValue(
const char*
data);
83 void NewAtomStarted(
const char** attr);
84 void NewAtomFinished();
87 void NewValueStarted(
const char** attr);
88 void NewValueFinished();
128 float CurrentDefaultColor[3];
152 static int parseInt(
const char*);
153 static float parseFloat(
const char*);
154 static void parseFloat3(
const char* str,
float[3]);
155 static unsigned short parseUnsignedShort(
const char*);
167 VTK_ABI_NAMESPACE_END
virtual int Parse()
Parse the XML input.
vtkBlueObeliskData * Target
Parse XML to handle element tags and attributes.
Abstract superclass for all arrays.
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
std::string * CurrentSymbol
float CurrentCovalentRadius
std::string * CurrentFamily
float CurrentMeltingPoint
virtual void CharacterDataHandler(const char *data, int length)
a simple class to control print indentation
std::string * CurrentPeriodicTableBlock
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float CurrentPaulingElectronegativity
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.
std::string * CurrentElectronicConfiguration
std::string * CurrentName
float CurrentElectronAffinity
std::string CharacterDataValueBuffer
dynamic, self-adjusting array of unsigned short
Contains chemical data from the Blue Obelisk Data Repository.