Inscoper::NBO::LightPath_Type::InlineLightPathMap¶
Represents the XML element LightPathMap. More...
#include <LightPath_Type.h>
Inherits from NBOBaseClass
Public Classes¶
| Name | |
|---|---|
| class | InlineOpticalComponentPosition Represents the XML element OpticalComponentPosition. |
Public Types¶
| Name | |
|---|---|
| typedef std::shared_ptr< InlineOpticalComponentPosition > | InlineOpticalComponentPositionPtr |
Public Functions¶
| Name | |
|---|---|
| InlineLightPathMap() | |
| ~InlineLightPathMap() | |
| 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 | setID(const Inscoper::NBO::LSID_TypePtr & value, bool validate =true) Sets the value of the ID attribute. |
| LSID_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 | setOpticalComponentPosition_List(const std::vector< Inscoper::NBO::LightPath_Type::InlineLightPathMap::InlineOpticalComponentPositionPtr > & value, bool validate =true) Sets the list of OpticalComponentPosition elements. |
| std::vector< Inscoper::NBO::LightPath_Type::InlineLightPathMap::InlineOpticalComponentPositionPtr > | getOpticalComponentPosition_List() const Returns the list of OpticalComponentPosition elements. |
| void | addToOpticalComponentPosition_List(const Inscoper::NBO::LightPath_Type::InlineLightPathMap::InlineOpticalComponentPositionPtr & value, bool validate =true) Adds a new OpticalComponentPosition element to this object. |
| void | clearOpticalComponentPosition_List() Clear the list of OpticalComponentPosition. |
| std::shared_ptr< InlineLightPathMap > | fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a InlineLightPathMap. |
Detailed Description¶
Represents the XML element LightPathMap.
This element holds a Map that records the order in which the different optical component associated with this Light Path are physically laid out.