Skip to content

Inscoper::NBO::LaserMedium_Type

Represents the XML simple type LaserMedium. More...

#include <LaserMedium_Type.h>

Inherits from NBOBaseClass

Public Functions

Name
LaserMedium_Type()
~LaserMedium_Type()
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.
LaserMedium_Type & operator=(const std::string & v)
Assigns a new value to this object (= operator operator).
operator std::string() const
Returns the value of this object (generic conversion operator overload).
void set(const std::string & v, bool validate =true)
Assigns a new value to this object.
std::string get() const
Returns the value of this object.
std::shared_ptr< LaserMedium_Type > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a LaserMedium_Type.
const std::set< std::string > & getAllowedValues()
Returns the allowed values for this object.
const std::string & getPattern()
Returns the pattern for this object.

Friends

Name
std::ostream & operator<<(std::ostream & os, const LaserMedium_Type & u)

Detailed Description

class Inscoper::NBO::LaserMedium_Type;

Represents the XML simple type LaserMedium.

No description available in the XSD standard.

Allowed values: Cu, Ag, ArFl, ArCl, KrFl, KrCl, XeFl, XeCl, XeBr, Ar, ArKr, CO, CO2, H2O, HeCd, HeNe, HFl, Kr, N, Xe, NdGlass, NdYAG, ErGlass, ErYAG, HoYLF, HoYAG, Ruby, TiSapphire, Alexandrite, Rhodamine6G, CoumarinC30, GaAs, GaAlAs, EMinus, Other

Public Functions Documentation

function LaserMedium_Type

function ~LaserMedium_Type

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function operator=

function operator std::string

function set

function get

function fromBase

function getAllowedValues

function getPattern

Friends

friend operator<<