Skip to content

Inscoper::NBO::MultiLaserEngine

Represents the XML element MultiLaserEngine. More...

#include <MultiLaserEngine.h>

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

Public Functions

Name
MultiLaserEngine()
~MultiLaserEngine()
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 setSingleMode(const bool & value, bool validate =true)
Sets the value of the SingleMode attribute.
bool getSingleMode() const
Returns the value of the SingleMode attribute.
void resetSingleMode()
Resets the SingleMode attribute to an unset state.
bool hasSingleMode() const
Checks whether the SingleMode attribute is present.
void setNumberOfLasers(const long long & value, bool validate =true)
Sets the value of the NumberOfLasers attribute.
long long getNumberOfLasers() const
Returns the value of the NumberOfLasers attribute.
void resetNumberOfLasers()
Resets the NumberOfLasers attribute to an unset state.
bool hasNumberOfLasers() const
Checks whether the NumberOfLasers attribute is present.
void setOutputPortNumber(const long long & value, bool validate =true)
Sets the value of the OutputPortNumber attribute.
long long getOutputPortNumber() const
Returns the value of the OutputPortNumber attribute.
void resetOutputPortNumber()
Resets the OutputPortNumber attribute to an unset state.
bool hasOutputPortNumber() const
Checks whether the OutputPortNumber attribute is present.
void setMultiportSwitchTime(const float & value, bool validate =true)
Sets the value of the MultiportSwitchTime attribute.
float getMultiportSwitchTime() const
Returns the value of the MultiportSwitchTime attribute.
void resetMultiportSwitchTime()
Resets the MultiportSwitchTime attribute to an unset state.
bool hasMultiportSwitchTime() const
Checks whether the MultiportSwitchTime attribute is present.
void setMultiportSwitchTimeUnit(const Inscoper::NBO::UnitsTime_TypePtr & value, bool validate =true)
Sets the value of the MultiportSwitchTimeUnit attribute.
UnitsTime_TypePtr getMultiportSwitchTimeUnit() const
Returns the value of the MultiportSwitchTimeUnit attribute.
void resetMultiportSwitchTimeUnit()
Resets the MultiportSwitchTimeUnit attribute to an unset state.
bool hasMultiportSwitchTimeUnit() const
Checks whether the optional MultiportSwitchTimeUnit attribute is present.
void setLaserRef_List(const std::vector< Inscoper::NBO::LaserRefPtr > & value, bool validate =true)
Sets the list of LaserRef elements.
std::vector< Inscoper::NBO::LaserRefPtr > getLaserRef_List() const
Returns the list of LaserRef elements.
void addToLaserRef_List(const Inscoper::NBO::LaserRefPtr & value, bool validate =true)
Adds a new LaserRef element to this object.
void clearLaserRef_List()
Clear the list of LaserRef.
std::shared_ptr< MultiLaserEngine > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a MultiLaserEngine.

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::MultiLaserEngine;

Represents the XML element MultiLaserEngine.

This element describes a Light Source device that contains multiple Lasers built into a single box. This element contains Reference(s) to individual Laser components built separately and assembled as part of this device.

Public Functions Documentation

function MultiLaserEngine

function ~MultiLaserEngine

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setSingleMode

function getSingleMode

function resetSingleMode

function hasSingleMode

function setNumberOfLasers

function getNumberOfLasers

function resetNumberOfLasers

function hasNumberOfLasers

function setOutputPortNumber

function getOutputPortNumber

function resetOutputPortNumber

function hasOutputPortNumber

function setMultiportSwitchTime

function getMultiportSwitchTime

function resetMultiportSwitchTime

function hasMultiportSwitchTime

function setMultiportSwitchTimeUnit

function getMultiportSwitchTimeUnit

function resetMultiportSwitchTimeUnit

function hasMultiportSwitchTimeUnit

function setLaserRef_List

function getLaserRef_List

function addToLaserRef_List

function clearLaserRef_List

function fromBase