Go to the documentation of this file.
35 #ifndef vtkBlueObeliskDataParser_h
36 #define vtkBlueObeliskDataParser_h
67 virtual int Parse(
const char *);
68 virtual int Parse(
const char *,
unsigned int);
130 float CurrentDefaultColor[3];
147 static void ResizeAndSetValue(
float val,
150 static void ResizeAndSetValue(
unsigned short val,
157 static int parseInt(
const char *);
158 static float parseFloat(
const char *);
159 static void parseFloat3(
const char * str,
float[3]);
160 static unsigned short parseUnsignedShort(
const char *);
virtual void SetTarget(vtkBlueObeliskData *bodr)
GLsizei GLsizei GLenum GLenum const GLvoid * data
float CurrentBoilingPoint
vtkStdString * CurrentSymbol
unsigned int CurrentGroup
float CurrentElectronAffinity
Parse XML to handle element tags and attributes.
void NewValueStarted(const char **attr)
float CurrentMeltingPoint
unsigned int CurrentPeriod
void EndElement(const char *name)
dynamic, self-adjusting array of unsigned short
dynamic, self-adjusting array of float
vtkStdString * CurrentName
virtual int Parse(const char *)
@ ElectronicConfiguration
vtkStdString * CurrentFamily
#define vtkTypeMacro(thisClass, superclass)
virtual int Parse(const char *, unsigned int)
void StartElement(const char *name, const char **attr)
~vtkBlueObeliskDataParser()
void SetCurrentValue(const char *data, int length)
GLuint GLsizei GLsizei * length
vtkStdString * CurrentPeriodicTableBlock
Fill a vtkBlueObeliskData container with data from the BODR XML dataset.
void SetCurrentValue(const char *data)
vtkStdString * CurrentElectronicConfiguration
GLuint const GLchar * name
float CurrentCovalentRadius
@ PaulingElectronegativity
Contains chemical data from the Blue Obelisk Data Repository.
float CurrentIonizationEnergy
void CharacterDataHandler(const char *data, int length)
#define VTKDOMAINSCHEMISTRY_EXPORT
vtkBlueObeliskData * Target
Abstract superclass for all arrays.
static vtkBlueObeliskDataParser * New()
float CurrentPaulingElectronegativity
std::string CharacterDataValueBuffer
a vtkAbstractArray subclass for strings
Wrapper around std::string to keep symbols short.
void NewAtomStarted(const char **attr)
GLsizei const GLchar ** string
vtkBlueObeliskDataParser()