 |
VTK
9.0.1
|
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;
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*);
virtual void SetTarget(vtkBlueObeliskData *bodr)
Set the target vtkBlueObeliskData object that this parser will populate.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkBlueObeliskDataParser() override
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
dynamic, self-adjusting array of unsigned short
dynamic, self-adjusting array of float
vtkStdString * CurrentName
@ ElectronicConfiguration
vtkStdString * CurrentFamily
void SetCurrentValue(const char *data, int length)
vtkStdString * CurrentPeriodicTableBlock
Fill a vtkBlueObeliskData container with data from the BODR XML dataset.
int Parse() override
Start parsing.
void CharacterDataHandler(const char *data, int length) override
void SetCurrentValue(const char *data)
void StartElement(const char *name, const char **attr) override
vtkStdString * CurrentElectronicConfiguration
float CurrentCovalentRadius
@ PaulingElectronegativity
Contains chemical data from the Blue Obelisk Data Repository.
float CurrentIonizationEnergy
a simple class to control print indentation
vtkBlueObeliskData * Target
Abstract superclass for all arrays.
static vtkBlueObeliskDataParser * New()
float CurrentPaulingElectronegativity
int Parse(const char *, unsigned int) override
std::string CharacterDataValueBuffer
a vtkAbstractArray subclass for strings
void EndElement(const char *name) override
Wrapper around std::string to keep symbols short.
int Parse(const char *) override
These are only implemented to prevent compiler warnings about hidden virtual overloads.
void NewAtomStarted(const char **attr)
vtkBlueObeliskDataParser()