Skip to content

Struct rayx::xml::Parser

ClassList > rayx > xml > Parser

Public Attributes

Type Name
rapidxml::xml_node * node
std::filesystem::path rmlFile

Public Functions

Type Name
Parser (rapidxml::xml_node<> * node, std::filesystem::path rmlFile)
const char * name () const
double parseAdditionalOrder () const
int parseAlignmentError () const
double parseArmLength () const
Rad parseAzimuthalAngle () const
CylinderDirection parseBendingRadius () const
double parseBendingRadiusDouble () const
CentralBeamstop parseCentralBeamstop () const
int parseCircularPol () const
Coating::MultilayerCoating parseCoating () const
std::string parseCrystalMaterial () const
CrystalType parseCrystalType () const
Surface::Cubic parseCubicParameters () const
CurvatureType parseCurvatureType () const
Cutout parseCutout (DesignPlane, std::string) const
double parseDSpacing2 () const
Rad parseDeltaOpeningAngle () const
double parseDensitySubstrate () const
Rad parseDesignAlphaAngle () const
Rad parseDesignBetaAngle () const
double parseDesignEnergy () const
double parseDesignEnergyMounting () const
Rad parseDesignGrazingIncAngle () const
double parseDesignOrderDiffraction () const
Rad parseDeviationAngle () const
double parseDistancePreceding () const
double parseDouble (const char * paramname) const
glm::dvec3 parseDvec3 (const char * paramname) const
double parseElectronEnergy () const
ElectronEnergyOrientation parseElectronEnergyOrientation () const
double parseElectronSigmaX () const
double parseElectronSigmaXs () const
double parseElectronSigmaY () const
double parseElectronSigmaYs () const
std::filesystem::path parseEnergyDistributionFile () const
EnergyDistributionType parseEnergyDistributionType () const
double parseEnergySpread () const
SpreadType parseEnergySpreadType () const
EnergySpreadUnit parseEnergySpreadUnit () const
double parseEntranceArmLength () const
double parseEntranceArmLengthMer () const
double parseEntranceArmLengthSag () const
double parseExitArmLength () const
double parseExitArmLengthMer () const
double parseExitArmLengthSag () const
FigureRotation parseFigureRotation () const
double parseFresnelZOffset () const
GratingMount parseGratingMount () const
Rad parseGrazingIncAngle () const
double parseHorDiv () const
SourceDist parseHorDivDistribution () const
double parseImageType () const
int parseInt (const char * paramname) const
double parseLineDensity () const
int parseLinearPol0 () const
int parseLinearPol45 () const
double parseLongHalfAxisA () const
double parseLongRadius () const
Material parseMaterial () const
Material parseMaterialCoating () const
Rad parseMaxOpeningAngle () const
Rad parseMinOpeningAngle () const
int parseNumOfEquidistantCircles () const
int parseNumberOfSeparateEnergies () const
int parseNumberRays () const
Rad parseOffsetAngle () const
OffsetAngleType parseOffsetAngleType () const
double parseOpeningHeight () const
double parseOpeningShape () const
double parseOpeningWidth () const
double parseOrderDiffraction () const
glm::dmat4x4 parseOrientation () const
double parseParameterA11 () const
double parseParameterP () const
double parseParameterPType () const
double parsePhotonEnergy () const
double parsePhotonFlux () const
glm::dvec4 parsePosition () const
int parseProfileKind () const
Surface::Quadric parseQuadricParameters () const
double parseRadius () const
double parseRoughnessCoating () const
double parseRoughnessSubstrate () const
double parseShortHalfAxisB () const
double parseShortRadius () const
SigmaType parseSigmaType () const
SlopeError parseSlopeError () const
double parseSourceDepth () const
double parseSourceHeight () const
SourceDist parseSourceHeightDistribution () const
SourcePulseType parseSourcePulseType () const
double parseSourceWidth () const
SourceDist parseSourceWidthDistribution () const
const char * parseStr (const char * paramname) const
double parseStructureFactorImF0 () const
double parseStructureFactorImFH () const
double parseStructureFactorImFHC () const
double parseStructureFactorReF0 () const
double parseStructureFactorReFH () const
double parseStructureFactorReFHC () const
SurfaceCoatingType parseSurfaceCoatingType () const
double parseThicknessCoating () const
double parseThicknessSubstrate () const
double parseTotalHeight () const
double parseTotalHeightStop () const
double parseTotalLength () const
double parseTotalWidth () const
double parseTotalWidthStop () const
double parseUndulatorLength () const
double parseUnitCellVolume () const
double parseVerDiv () const
SourceDist parseVerDivDistribution () const
double parseVerEbeamDivergence () const
std::array< double, 6 > parseVls () const
ElementType type () const

Public Attributes Documentation

variable node

rapidxml::xml_node* rayx::xml::Parser::node;

variable rmlFile

std::filesystem::path rayx::xml::Parser::rmlFile;

Public Functions Documentation

function Parser

rayx::xml::Parser::Parser (
    rapidxml::xml_node<> * node,
    std::filesystem::path rmlFile
) 

function name

const char * rayx::xml::Parser::name () const

function parseAdditionalOrder

double rayx::xml::Parser::parseAdditionalOrder () const

function parseAlignmentError

inline int rayx::xml::Parser::parseAlignmentError () const

function parseArmLength

inline double rayx::xml::Parser::parseArmLength () const

function parseAzimuthalAngle

Rad rayx::xml::Parser::parseAzimuthalAngle () const

function parseBendingRadius

inline CylinderDirection rayx::xml::Parser::parseBendingRadius () const

function parseBendingRadiusDouble

inline double rayx::xml::Parser::parseBendingRadiusDouble () const

function parseCentralBeamstop

inline CentralBeamstop rayx::xml::Parser::parseCentralBeamstop () const

function parseCircularPol

inline int rayx::xml::Parser::parseCircularPol () const

function parseCoating

Coating::MultilayerCoating rayx::xml::Parser::parseCoating () const

function parseCrystalMaterial

inline std::string rayx::xml::Parser::parseCrystalMaterial () const

function parseCrystalType

inline CrystalType rayx::xml::Parser::parseCrystalType () const

function parseCubicParameters

Surface::Cubic rayx::xml::Parser::parseCubicParameters () const

function parseCurvatureType

inline CurvatureType rayx::xml::Parser::parseCurvatureType () const

function parseCutout

Cutout rayx::xml::Parser::parseCutout (
    DesignPlane,
    std::string
) const

function parseDSpacing2

inline double rayx::xml::Parser::parseDSpacing2 () const

function parseDeltaOpeningAngle

inline Rad rayx::xml::Parser::parseDeltaOpeningAngle () const

function parseDensitySubstrate

inline double rayx::xml::Parser::parseDensitySubstrate () const

function parseDesignAlphaAngle

inline Rad rayx::xml::Parser::parseDesignAlphaAngle () const

function parseDesignBetaAngle

inline Rad rayx::xml::Parser::parseDesignBetaAngle () const

function parseDesignEnergy

inline double rayx::xml::Parser::parseDesignEnergy () const

function parseDesignEnergyMounting

inline double rayx::xml::Parser::parseDesignEnergyMounting () const

function parseDesignGrazingIncAngle

inline Rad rayx::xml::Parser::parseDesignGrazingIncAngle () const

function parseDesignOrderDiffraction

inline double rayx::xml::Parser::parseDesignOrderDiffraction () const

function parseDeviationAngle

inline Rad rayx::xml::Parser::parseDeviationAngle () const

function parseDistancePreceding

inline double rayx::xml::Parser::parseDistancePreceding () const

function parseDouble

double rayx::xml::Parser::parseDouble (
    const char * paramname
) const

function parseDvec3

glm::dvec3 rayx::xml::Parser::parseDvec3 (
    const char * paramname
) const

function parseElectronEnergy

inline double rayx::xml::Parser::parseElectronEnergy () const

function parseElectronEnergyOrientation

ElectronEnergyOrientation rayx::xml::Parser::parseElectronEnergyOrientation () const

function parseElectronSigmaX

inline double rayx::xml::Parser::parseElectronSigmaX () const

function parseElectronSigmaXs

inline double rayx::xml::Parser::parseElectronSigmaXs () const

function parseElectronSigmaY

inline double rayx::xml::Parser::parseElectronSigmaY () const

function parseElectronSigmaYs

inline double rayx::xml::Parser::parseElectronSigmaYs () const

function parseEnergyDistributionFile

std::filesystem::path rayx::xml::Parser::parseEnergyDistributionFile () const

function parseEnergyDistributionType

inline EnergyDistributionType rayx::xml::Parser::parseEnergyDistributionType () const

function parseEnergySpread

inline double rayx::xml::Parser::parseEnergySpread () const

function parseEnergySpreadType

inline SpreadType rayx::xml::Parser::parseEnergySpreadType () const

function parseEnergySpreadUnit

inline EnergySpreadUnit rayx::xml::Parser::parseEnergySpreadUnit () const

function parseEntranceArmLength

inline double rayx::xml::Parser::parseEntranceArmLength () const

function parseEntranceArmLengthMer

inline double rayx::xml::Parser::parseEntranceArmLengthMer () const

function parseEntranceArmLengthSag

inline double rayx::xml::Parser::parseEntranceArmLengthSag () const

function parseExitArmLength

inline double rayx::xml::Parser::parseExitArmLength () const

function parseExitArmLengthMer

inline double rayx::xml::Parser::parseExitArmLengthMer () const

function parseExitArmLengthSag

inline double rayx::xml::Parser::parseExitArmLengthSag () const

function parseFigureRotation

inline FigureRotation rayx::xml::Parser::parseFigureRotation () const

function parseFresnelZOffset

inline double rayx::xml::Parser::parseFresnelZOffset () const

function parseGratingMount

inline GratingMount rayx::xml::Parser::parseGratingMount () const

function parseGrazingIncAngle

inline Rad rayx::xml::Parser::parseGrazingIncAngle () const

function parseHorDiv

inline double rayx::xml::Parser::parseHorDiv () const

function parseHorDivDistribution

inline SourceDist rayx::xml::Parser::parseHorDivDistribution () const

function parseImageType

double rayx::xml::Parser::parseImageType () const

function parseInt

int rayx::xml::Parser::parseInt (
    const char * paramname
) const

function parseLineDensity

inline double rayx::xml::Parser::parseLineDensity () const

function parseLinearPol0

inline int rayx::xml::Parser::parseLinearPol0 () const

function parseLinearPol45

inline int rayx::xml::Parser::parseLinearPol45 () const

function parseLongHalfAxisA

inline double rayx::xml::Parser::parseLongHalfAxisA () const

function parseLongRadius

inline double rayx::xml::Parser::parseLongRadius () const

function parseMaterial

Material rayx::xml::Parser::parseMaterial () const

function parseMaterialCoating

Material rayx::xml::Parser::parseMaterialCoating () const

function parseMaxOpeningAngle

inline Rad rayx::xml::Parser::parseMaxOpeningAngle () const

function parseMinOpeningAngle

inline Rad rayx::xml::Parser::parseMinOpeningAngle () const

function parseNumOfEquidistantCircles

inline int rayx::xml::Parser::parseNumOfEquidistantCircles () const

function parseNumberOfSeparateEnergies

inline int rayx::xml::Parser::parseNumberOfSeparateEnergies () const

function parseNumberRays

inline int rayx::xml::Parser::parseNumberRays () const

function parseOffsetAngle

inline Rad rayx::xml::Parser::parseOffsetAngle () const

function parseOffsetAngleType

inline OffsetAngleType rayx::xml::Parser::parseOffsetAngleType () const

function parseOpeningHeight

inline double rayx::xml::Parser::parseOpeningHeight () const

function parseOpeningShape

inline double rayx::xml::Parser::parseOpeningShape () const

function parseOpeningWidth

inline double rayx::xml::Parser::parseOpeningWidth () const

function parseOrderDiffraction

inline double rayx::xml::Parser::parseOrderDiffraction () const

function parseOrientation

glm::dmat4x4 rayx::xml::Parser::parseOrientation () const

function parseParameterA11

inline double rayx::xml::Parser::parseParameterA11 () const

function parseParameterP

inline double rayx::xml::Parser::parseParameterP () const

function parseParameterPType

inline double rayx::xml::Parser::parseParameterPType () const

function parsePhotonEnergy

inline double rayx::xml::Parser::parsePhotonEnergy () const

function parsePhotonFlux

inline double rayx::xml::Parser::parsePhotonFlux () const

function parsePosition

glm::dvec4 rayx::xml::Parser::parsePosition () const

function parseProfileKind

inline int rayx::xml::Parser::parseProfileKind () const

function parseQuadricParameters

Surface::Quadric rayx::xml::Parser::parseQuadricParameters () const

function parseRadius

inline double rayx::xml::Parser::parseRadius () const

function parseRoughnessCoating

inline double rayx::xml::Parser::parseRoughnessCoating () const

function parseRoughnessSubstrate

inline double rayx::xml::Parser::parseRoughnessSubstrate () const

function parseShortHalfAxisB

inline double rayx::xml::Parser::parseShortHalfAxisB () const

function parseShortRadius

inline double rayx::xml::Parser::parseShortRadius () const

function parseSigmaType

inline SigmaType rayx::xml::Parser::parseSigmaType () const

function parseSlopeError

SlopeError rayx::xml::Parser::parseSlopeError () const

function parseSourceDepth

inline double rayx::xml::Parser::parseSourceDepth () const

function parseSourceHeight

inline double rayx::xml::Parser::parseSourceHeight () const

function parseSourceHeightDistribution

inline SourceDist rayx::xml::Parser::parseSourceHeightDistribution () const

function parseSourcePulseType

SourcePulseType rayx::xml::Parser::parseSourcePulseType () const

function parseSourceWidth

inline double rayx::xml::Parser::parseSourceWidth () const

function parseSourceWidthDistribution

inline SourceDist rayx::xml::Parser::parseSourceWidthDistribution () const

function parseStr

const char * rayx::xml::Parser::parseStr (
    const char * paramname
) const

function parseStructureFactorImF0

inline double rayx::xml::Parser::parseStructureFactorImF0 () const

function parseStructureFactorImFH

inline double rayx::xml::Parser::parseStructureFactorImFH () const

function parseStructureFactorImFHC

inline double rayx::xml::Parser::parseStructureFactorImFHC () const

function parseStructureFactorReF0

inline double rayx::xml::Parser::parseStructureFactorReF0 () const

function parseStructureFactorReFH

inline double rayx::xml::Parser::parseStructureFactorReFH () const

function parseStructureFactorReFHC

inline double rayx::xml::Parser::parseStructureFactorReFHC () const

function parseSurfaceCoatingType

inline SurfaceCoatingType rayx::xml::Parser::parseSurfaceCoatingType () const

function parseThicknessCoating

inline double rayx::xml::Parser::parseThicknessCoating () const

function parseThicknessSubstrate

inline double rayx::xml::Parser::parseThicknessSubstrate () const

function parseTotalHeight

inline double rayx::xml::Parser::parseTotalHeight () const

function parseTotalHeightStop

inline double rayx::xml::Parser::parseTotalHeightStop () const

function parseTotalLength

inline double rayx::xml::Parser::parseTotalLength () const

function parseTotalWidth

inline double rayx::xml::Parser::parseTotalWidth () const

function parseTotalWidthStop

inline double rayx::xml::Parser::parseTotalWidthStop () const

function parseUndulatorLength

inline double rayx::xml::Parser::parseUndulatorLength () const

function parseUnitCellVolume

inline double rayx::xml::Parser::parseUnitCellVolume () const

function parseVerDiv

inline double rayx::xml::Parser::parseVerDiv () const

function parseVerDivDistribution

inline SourceDist rayx::xml::Parser::parseVerDivDistribution () const

function parseVerEbeamDivergence

inline double rayx::xml::Parser::parseVerEbeamDivergence () const

function parseVls

std::array< double, 6 > rayx::xml::Parser::parseVls () const

function type

ElementType rayx::xml::Parser::type () const


The documentation for this class was generated from the following file Intern/rayx-core/src/Rml/xml.h