Inscoper::NBO::DiffractionGratingSettings¶
Represents the XML element DiffractionGratingSettings. More...
#include <DiffractionGratingSettings.h>
Inherits from Inscoper::NBO::OpticalApertureSettings_Type, Inscoper::NBO::Settings_Type, Inscoper::NBO::Reference_Type, NBOBaseClass
Public Functions¶
| Name | |
|---|---|
| DiffractionGratingSettings() | |
| ~DiffractionGratingSettings() | |
| virtual std::string | getTypeName() const override Returns the class type name. |
| std::string | getXMLName() const override Returns the XML element name corresponding to this class. |
| ENBOType | getNBOType() const override Returns the NBO Type corresponding to this class. |
| std::vector< NBOBaseClassPtr > | getChildren() const override Returns a list of all classes derived from this class. |
| std::vector< NBOBaseClassPtr > | getSubElements() const override Returns a list of all child elements contained in this class. |
| void | fromJsonFile(const std::string & path, bool validate =true) Populates this object from a JSON file. |
| void | fromJsonString(const std::string & json_string, bool validate =true) Populates this object from a JSON string. |
| void | fromXmlFile(const std::string & path, bool validate =true) Populates this object from a XML file. |
| void | fromXmlString(const std::string & xml_string, bool validate =true) Populates this object from a XML string. |
| void | toXmlFile(const std::string & filename, bool validate =true) const Serializes this object to an XML file. |
| std::string | toXmlString(bool validate =true) const Serializes this object to an XML string. |
| void | setDiffractionEfficiency(const Inscoper::NBO::PercentFraction_TypePtr & value, bool validate =true) Sets the value of the DiffractionEfficiency attribute. |
| PercentFraction_TypePtr | getDiffractionEfficiency() const Returns the value of the DiffractionEfficiency attribute. |
| void | resetDiffractionEfficiency() Resets the DiffractionEfficiency attribute to an unset state. |
| bool | hasDiffractionEfficiency() const Checks whether the optional DiffractionEfficiency attribute is present. |
| std::shared_ptr< DiffractionGratingSettings > | fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a DiffractionGratingSettings. |
Additional inherited members¶
Public Functions inherited from Inscoper::NBO::OpticalApertureSettings_Type
Public Functions inherited from Inscoper::NBO::Settings_Type
Public Functions inherited from Inscoper::NBO::Reference_Type
| Name | |
|---|---|
| Reference_Type() | |
| ~Reference_Type() |
Detailed Description¶
Represents the XML element DiffractionGratingSettings.
This element holds the Setting applied to a Diffraction Grating used during the Acquisition of this Channel as well as a reference (the ID attribute) to the Diffraction Grating in question.