Skip to content

Inscoper::NBO::Laser

Represents the XML element Laser. More...

#include <Laser.h>

Inherits from Inscoper::NBO::LightSource_Type, Inscoper::NBO::ManufacturerSpec_Type, NBOBaseClass

Public Functions

Name
Laser()
~Laser()
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 setType(const Inscoper::NBO::LaserType_TypePtr & value, bool validate =true)
Sets the value of the Type attribute.
LaserType_TypePtr getType() const
Returns the value of the Type attribute.
void resetType()
Resets the Type attribute to an unset state.
bool hasType() const
Checks whether the optional Type attribute is present.
void setTuneable(const bool & value, bool validate =true)
Sets the value of the Tuneable attribute.
bool getTuneable() const
Returns the value of the Tuneable attribute.
void resetTuneable()
Resets the Tuneable attribute to an unset state.
bool hasTuneable() const
Checks whether the Tuneable attribute is present.
void setModulationMechanism(const Inscoper::NBO::LaserModulation_TypePtr & value, bool validate =true)
Sets the value of the ModulationMechanism attribute.
LaserModulation_TypePtr getModulationMechanism() const
Returns the value of the ModulationMechanism attribute.
void resetModulationMechanism()
Resets the ModulationMechanism attribute to an unset state.
bool hasModulationMechanism() const
Checks whether the optional ModulationMechanism attribute is present.
void setPulse(const bool & value, bool validate =true)
Sets the value of the Pulse attribute.
bool getPulse() const
Returns the value of the Pulse attribute.
void resetPulse()
Resets the Pulse attribute to an unset state.
bool hasPulse() const
Checks whether the Pulse attribute is present.
void setLaserClass(const Inscoper::NBO::LaserClass_TypePtr & value, bool validate =true)
Sets the value of the LaserClass attribute.
LaserClass_TypePtr getLaserClass() const
Returns the value of the LaserClass attribute.
void resetLaserClass()
Resets the LaserClass attribute to an unset state.
bool hasLaserClass() const
Checks whether the optional LaserClass attribute is present.
void setLaserMedium(const Inscoper::NBO::LaserMedium_TypePtr & value, bool validate =true)
Sets the value of the LaserMedium attribute.
LaserMedium_TypePtr getLaserMedium() const
Returns the value of the LaserMedium attribute.
void resetLaserMedium()
Resets the LaserMedium attribute to an unset state.
bool hasLaserMedium() const
Checks whether the optional LaserMedium attribute is present.
void setIsPumped(const bool & value, bool validate =true)
Sets the value of the IsPumped attribute.
bool getIsPumped() const
Returns the value of the IsPumped attribute.
void resetIsPumped()
Resets the IsPumped attribute to an unset state.
bool hasIsPumped() const
Checks whether the IsPumped attribute is present.
void setIsPump(const bool & value, bool validate =true)
Sets the value of the IsPump attribute.
bool getIsPump() const
Returns the value of the IsPump attribute.
void resetIsPump()
Resets the IsPump attribute to an unset state.
bool hasIsPump() const
Checks whether the IsPump attribute is present.
void setPosition(const long long & value, bool validate =true)
Sets the value of the Position attribute.
long long getPosition() const
Returns the value of the Position attribute.
void resetPosition()
Resets the Position attribute to an unset state.
bool hasPosition() const
Checks whether the Position attribute is present.
void setRepetitionRate(const float & value, bool validate =true)
Sets the value of the RepetitionRate attribute.
float getRepetitionRate() const
Returns the value of the RepetitionRate attribute.
void resetRepetitionRate()
Resets the RepetitionRate attribute to an unset state.
bool hasRepetitionRate() const
Checks whether the RepetitionRate attribute is present.
void setRepetitionRateUnit(const Inscoper::NBO::UnitsFrequency_TypePtr & value, bool validate =true)
Sets the value of the RepetitionRateUnit attribute.
UnitsFrequency_TypePtr getRepetitionRateUnit() const
Returns the value of the RepetitionRateUnit attribute.
void resetRepetitionRateUnit()
Resets the RepetitionRateUnit attribute to an unset state.
bool hasRepetitionRateUnit() const
Checks whether the optional RepetitionRateUnit attribute is present.
void setPulseDuration(const float & value, bool validate =true)
Sets the value of the PulseDuration attribute.
float getPulseDuration() const
Returns the value of the PulseDuration attribute.
void resetPulseDuration()
Resets the PulseDuration attribute to an unset state.
bool hasPulseDuration() const
Checks whether the PulseDuration attribute is present.
void setPulseDurationUnit(const Inscoper::NBO::UnitsTime_TypePtr & value, bool validate =true)
Sets the value of the PulseDurationUnit attribute.
UnitsTime_TypePtr getPulseDurationUnit() const
Returns the value of the PulseDurationUnit attribute.
void resetPulseDurationUnit()
Resets the PulseDurationUnit attribute to an unset state.
bool hasPulseDurationUnit() const
Checks whether the optional PulseDurationUnit attribute is present.
void setFrequencyMultiplication(const float & value, bool validate =true)
Sets the value of the FrequencyMultiplication attribute.
float getFrequencyMultiplication() const
Returns the value of the FrequencyMultiplication attribute.
void resetFrequencyMultiplication()
Resets the FrequencyMultiplication attribute to an unset state.
bool hasFrequencyMultiplication() const
Checks whether the FrequencyMultiplication attribute is present.
void setUsedAcoustoOpticalDevice(const bool & value, bool validate =true)
Sets the value of the UsedAcoustoOpticalDevice attribute.
bool getUsedAcoustoOpticalDevice() const
Returns the value of the UsedAcoustoOpticalDevice attribute.
void resetUsedAcoustoOpticalDevice()
Resets the UsedAcoustoOpticalDevice attribute to an unset state.
bool hasUsedAcoustoOpticalDevice() const
Checks whether the UsedAcoustoOpticalDevice attribute is present.
void setIlluminationWavelengthRange_List(const std::vector< Inscoper::NBO::IlluminationWavelengthRangePtr > & value, bool validate =true)
Sets the list of IlluminationWavelengthRange elements.
std::vector< Inscoper::NBO::IlluminationWavelengthRangePtr > getIlluminationWavelengthRange_List() const
Returns the list of IlluminationWavelengthRange elements.
void addToIlluminationWavelengthRange_List(const Inscoper::NBO::IlluminationWavelengthRangePtr & value, bool validate =true)
Adds a new IlluminationWavelengthRange element to this object.
void clearIlluminationWavelengthRange_List()
Clear the list of IlluminationWavelengthRange.
void setAcoustoOpticalDeviceRef_List(const std::vector< Inscoper::NBO::AcoustoOpticalDeviceRefPtr > & value, bool validate =true)
Sets the list of AcoustoOpticalDeviceRef elements.
std::vector< Inscoper::NBO::AcoustoOpticalDeviceRefPtr > getAcoustoOpticalDeviceRef_List() const
Returns the list of AcoustoOpticalDeviceRef elements.
void addToAcoustoOpticalDeviceRef_List(const Inscoper::NBO::AcoustoOpticalDeviceRefPtr & value, bool validate =true)
Adds a new AcoustoOpticalDeviceRef element to this object.
void clearAcoustoOpticalDeviceRef_List()
Clear the list of AcoustoOpticalDeviceRef.
void setPump(const Inscoper::NBO::PumpPtr & value, bool validate =true)
Sets the value of the Pump element.
Inscoper::NBO::PumpPtr getPump() const
Returns the value of the Pump element.
void resetPump()
Resets the Pump element to an unset state.
bool hasPump() const
Checks whether the optional Pump element is present.
std::shared_ptr< Laser > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a Laser.

Additional inherited members

Public Functions inherited from Inscoper::NBO::LightSource_Type

Name
LightSource_Type()
~LightSource_Type()
void setID(const Inscoper::NBO::LightSourceID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
LightSourceID_TypePtr getID() const
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
bool hasID() const
Checks whether the optional ID attribute is present.
void setName(const Inscoper::NBO::Denomination_TypePtr & value, bool validate =true)
Sets the value of the Name attribute.
Denomination_TypePtr getName() const
Returns the value of the Name attribute.
void resetName()
Resets the Name attribute to an unset state.
bool hasName() const
Checks whether the optional Name attribute is present.
void setPurchaseDate(const std::string & value, bool validate =true)
Sets the value of the PurchaseDate attribute.
std::string getPurchaseDate() const
Returns the value of the PurchaseDate attribute.
void resetPurchaseDate()
Resets the PurchaseDate attribute to an unset state.
bool hasPurchaseDate() const
Checks whether the PurchaseDate attribute is present.
void setIlluminationPowerReportingStatistic(const Inscoper::NBO::LightSourceIlluminationPowerReportingStatistic_TypePtr & value, bool validate =true)
Sets the value of the IlluminationPowerReportingStatistic attribute.
LightSourceIlluminationPowerReportingStatistic_TypePtr getIlluminationPowerReportingStatistic() const
Returns the value of the IlluminationPowerReportingStatistic attribute.
void resetIlluminationPowerReportingStatistic()
Resets the IlluminationPowerReportingStatistic attribute to an unset state.
bool hasIlluminationPowerReportingStatistic() const
Checks whether the optional IlluminationPowerReportingStatistic attribute is present.
void setIlluminationPowerReportingPosition(const Inscoper::NBO::LightSourceIlluminationPowerReportingPosition_TypePtr & value, bool validate =true)
Sets the value of the IlluminationPowerReportingPosition attribute.
LightSourceIlluminationPowerReportingPosition_TypePtr getIlluminationPowerReportingPosition() const
Returns the value of the IlluminationPowerReportingPosition attribute.
void resetIlluminationPowerReportingPosition()
Resets the IlluminationPowerReportingPosition attribute to an unset state.
bool hasIlluminationPowerReportingPosition() const
Checks whether the optional IlluminationPowerReportingPosition attribute is present.
void setAnnotationRef(const Inscoper::NBO::AnnotationRefPtr & value, bool validate =true)
Sets the value of the AnnotationRef element.
Inscoper::NBO::AnnotationRefPtr getAnnotationRef() const
Returns the value of the AnnotationRef element.
void resetAnnotationRef()
Resets the AnnotationRef element to an unset state.
bool hasAnnotationRef() const
Checks whether the optional AnnotationRef element is present.
const std::set< std::string > & getPurchaseDateAllowedValues()
Returns the allowed values for this attribut.

Public Functions inherited from Inscoper::NBO::ManufacturerSpec_Type

Name
ManufacturerSpec_Type()
~ManufacturerSpec_Type()
void setManufacturer(const std::string & value, bool validate =true)
Sets the value of the Manufacturer attribute.
std::string getManufacturer() const
Returns the value of the Manufacturer attribute.
void resetManufacturer()
Resets the Manufacturer attribute to an unset state.
bool hasManufacturer() const
Checks whether the Manufacturer attribute is present.
void setModel(const std::string & value, bool validate =true)
Sets the value of the Model attribute.
std::string getModel() const
Returns the value of the Model attribute.
void resetModel()
Resets the Model attribute to an unset state.
bool hasModel() const
Checks whether the Model attribute is present.
void setCatalogNumber(const std::string & value, bool validate =true)
Sets the value of the CatalogNumber attribute.
std::string getCatalogNumber() const
Returns the value of the CatalogNumber attribute.
void resetCatalogNumber()
Resets the CatalogNumber attribute to an unset state.
bool hasCatalogNumber() const
Checks whether the CatalogNumber attribute is present.
void setLotNumber(const std::string & value, bool validate =true)
Sets the value of the LotNumber attribute.
std::string getLotNumber() const
Returns the value of the LotNumber attribute.
void resetLotNumber()
Resets the LotNumber attribute to an unset state.
bool hasLotNumber() const
Checks whether the LotNumber attribute is present.
void setMapAnnotation_List(const std::vector< Inscoper::NBO::MapAnnotationPtr > & value, bool validate =true)
Sets the list of MapAnnotation elements.
std::vector< Inscoper::NBO::MapAnnotationPtr > getMapAnnotation_List() const
Returns the list of MapAnnotation elements.
void addToMapAnnotation_List(const Inscoper::NBO::MapAnnotationPtr & value, bool validate =true)
Adds a new MapAnnotation element to this object.
void clearMapAnnotation_List()
Clear the list of MapAnnotation.
void setSpecsFile(const Inscoper::NBO::FileAnnotation_TypePtr & value, bool validate =true)
Sets the value of the SpecsFile element.
Inscoper::NBO::FileAnnotation_TypePtr getSpecsFile() const
Returns the value of the SpecsFile element.
void resetSpecsFile()
Resets the SpecsFile element to an unset state.
bool hasSpecsFile() const
Checks whether the optional SpecsFile element is present.
void setAdditionalVendorInformation_List(const std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > & value, bool validate =true)
Sets the list of AdditionalVendorInformation elements.
std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > getAdditionalVendorInformation_List() const
Returns the list of AdditionalVendorInformation elements.
void addToAdditionalVendorInformation_List(const Inscoper::NBO::AdditionalVendorInformationPtr & value, bool validate =true)
Adds a new AdditionalVendorInformation element to this object.
void clearAdditionalVendorInformation_List()
Clear the list of AdditionalVendorInformation.
const std::set< std::string > & getManufacturerAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getModelAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getCatalogNumberAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getLotNumberAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::Laser;

Represents the XML element Laser.

This element describes a Light Source, which emits coherent radiation at high spectral concentrations of radiance and minimal solid angles. This includes proper Light Amplification by Stimulated Emission of Radiation (LASER) sources that emit light through a process of optical amplification based on the stimulated emission of electromagnetic radiation. It also includes Optical Parametric Oscillator (OPO) sources that use a kind of LASER resonator but based on optical gain from parametric amplification in a nonlinear crystal rather than from stimulated emission.

Public Functions Documentation

function Laser

function ~Laser

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setType

function getType

function resetType

function hasType

function setTuneable

function getTuneable

function resetTuneable

function hasTuneable

function setModulationMechanism

function getModulationMechanism

function resetModulationMechanism

function hasModulationMechanism

function setPulse

function getPulse

function resetPulse

function hasPulse

function setLaserClass

function getLaserClass

function resetLaserClass

function hasLaserClass

function setLaserMedium

function getLaserMedium

function resetLaserMedium

function hasLaserMedium

function setIsPumped

function getIsPumped

function resetIsPumped

function hasIsPumped

function setIsPump

function getIsPump

function resetIsPump

function hasIsPump

function setPosition

function getPosition

function resetPosition

function hasPosition

function setRepetitionRate

function getRepetitionRate

function resetRepetitionRate

function hasRepetitionRate

function setRepetitionRateUnit

function getRepetitionRateUnit

function resetRepetitionRateUnit

function hasRepetitionRateUnit

function setPulseDuration

function getPulseDuration

function resetPulseDuration

function hasPulseDuration

function setPulseDurationUnit

function getPulseDurationUnit

function resetPulseDurationUnit

function hasPulseDurationUnit

function setFrequencyMultiplication

function getFrequencyMultiplication

function resetFrequencyMultiplication

function hasFrequencyMultiplication

function setUsedAcoustoOpticalDevice

function getUsedAcoustoOpticalDevice

function resetUsedAcoustoOpticalDevice

function hasUsedAcoustoOpticalDevice

function setIlluminationWavelengthRange_List

function getIlluminationWavelengthRange_List

function addToIlluminationWavelengthRange_List

function clearIlluminationWavelengthRange_List

function setAcoustoOpticalDeviceRef_List

function getAcoustoOpticalDeviceRef_List

function addToAcoustoOpticalDeviceRef_List

function clearAcoustoOpticalDeviceRef_List

function setPump

function getPump

function resetPump

function hasPump

function fromBase