Inscoper::NBO::Prism::InlineWavelengthRange
Represents the XML element WavelengthRange. More...
#include <Prism.h>
Inherits from NBOBaseClass
Public Functions
|
Name |
|
InlineWavelengthRange() |
|
~InlineWavelengthRange() |
| 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 |
setPeakWavelength(const float & value, bool validate =true) Sets the value of the PeakWavelength attribute. |
| float |
getPeakWavelength() const Returns the value of the PeakWavelength attribute. |
| void |
resetPeakWavelength() Resets the PeakWavelength attribute to an unset state. |
| bool |
hasPeakWavelength() const Checks whether the PeakWavelength attribute is present. |
| void |
setPeakWavelengthUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true) Sets the value of the PeakWavelengthUnit attribute. |
| UnitsLength_TypePtr |
getPeakWavelengthUnit() const Returns the value of the PeakWavelengthUnit attribute. |
| void |
resetPeakWavelengthUnit() Resets the PeakWavelengthUnit attribute to an unset state. |
| bool |
hasPeakWavelengthUnit() const Checks whether the optional PeakWavelengthUnit attribute is present. |
| void |
setCutOn(const Inscoper::NBO::PositiveFloat_TypePtr & value, bool validate =true) Sets the value of the CutOn attribute. |
| PositiveFloat_TypePtr |
getCutOn() const Returns the value of the CutOn attribute. |
| void |
resetCutOn() Resets the CutOn attribute to an unset state. |
| bool |
hasCutOn() const Checks whether the optional CutOn attribute is present. |
| void |
setCutOnUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true) Sets the value of the CutOnUnit attribute. |
| UnitsLength_TypePtr |
getCutOnUnit() const Returns the value of the CutOnUnit attribute. |
| void |
resetCutOnUnit() Resets the CutOnUnit attribute to an unset state. |
| bool |
hasCutOnUnit() const Checks whether the optional CutOnUnit attribute is present. |
| void |
setCutOff(const Inscoper::NBO::PositiveFloat_TypePtr & value, bool validate =true) Sets the value of the CutOff attribute. |
| PositiveFloat_TypePtr |
getCutOff() const Returns the value of the CutOff attribute. |
| void |
resetCutOff() Resets the CutOff attribute to an unset state. |
| bool |
hasCutOff() const Checks whether the optional CutOff attribute is present. |
| void |
setCutOffUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true) Sets the value of the CutOffUnit attribute. |
| UnitsLength_TypePtr |
getCutOffUnit() const Returns the value of the CutOffUnit attribute. |
| void |
resetCutOffUnit() Resets the CutOffUnit attribute to an unset state. |
| bool |
hasCutOffUnit() const Checks whether the optional CutOffUnit attribute is present. |
| void |
setWavelengthProfile(const std::string & value, bool validate =true) Sets the value of the WavelengthProfile attribute. |
| std::string |
getWavelengthProfile() const Returns the value of the WavelengthProfile attribute. |
| void |
resetWavelengthProfile() Resets the WavelengthProfile attribute to an unset state. |
| bool |
hasWavelengthProfile() const Checks whether the WavelengthProfile attribute is present. |
| std::shared_ptr< InlineWavelengthRange > |
fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a InlineWavelengthRange. |
| const std::set< std::string > & |
getWavelengthProfileAllowedValues() Returns the allowed values for this attribut. |
Detailed Description
class Inscoper::NBO::Prism::InlineWavelengthRange;
Represents the XML element WavelengthRange.
This element records the Range of Wavelengths this device is designed for, according to the Manufacturer. Multiple of this element may be used.
Public Functions Documentation
function InlineWavelengthRange
function ~InlineWavelengthRange
function getTypeName
function getXMLName
function getNBOType
function getChildren
function getSubElements
function fromJsonFile
function fromJsonString
function fromXmlFile
function fromXmlString
function toXmlFile
function toXmlString
function setPeakWavelength
function getPeakWavelength
function resetPeakWavelength
function hasPeakWavelength
function setPeakWavelengthUnit
function getPeakWavelengthUnit
function resetPeakWavelengthUnit
function hasPeakWavelengthUnit
function setCutOn
function getCutOn
function resetCutOn
function hasCutOn
function setCutOnUnit
function getCutOnUnit
function resetCutOnUnit
function hasCutOnUnit
function setCutOff
function getCutOff
function resetCutOff
function hasCutOff
function setCutOffUnit
function getCutOffUnit
function resetCutOffUnit
function hasCutOffUnit
function setWavelengthProfile
function getWavelengthProfile
function resetWavelengthProfile
function hasWavelengthProfile
function fromBase
function getWavelengthProfileAllowedValues