Inscoper::NBO::FilterSet
Represents the XML element FilterSet . More...
#include <FilterSet.h>
Inherits from NBOBaseClass
Public Functions
Name
FilterSet ()
~FilterSet ()
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::FilterSetID_TypePtr & value, bool validate =true) Sets the value of the ID attribute.
FilterSetID_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
setExcitationFilterRef (const Inscoper::NBO::ExcitationFilterRefPtr & value, bool validate =true) Sets the value of the ExcitationFilterRef element.
Inscoper::NBO::ExcitationFilterRefPtr
getExcitationFilterRef () const Returns the value of the ExcitationFilterRef element.
void
resetExcitationFilterRef () Resets the ExcitationFilterRef element to an unset state.
bool
hasExcitationFilterRef () const Checks whether the optional ExcitationFilterRef element is present.
void
setStandardDichroicRef (const Inscoper::NBO::StandardDichroicRefPtr & value, bool validate =true) Sets the value of the StandardDichroicRef element.
Inscoper::NBO::StandardDichroicRefPtr
getStandardDichroicRef () const Returns the value of the StandardDichroicRef element.
void
resetStandardDichroicRef () Resets the StandardDichroicRef element to an unset state.
bool
hasStandardDichroicRef () const Checks whether the optional StandardDichroicRef element is present.
void
setEmissionFilterRef (const Inscoper::NBO::EmissionFilterRefPtr & value, bool validate =true) Sets the value of the EmissionFilterRef element.
Inscoper::NBO::EmissionFilterRefPtr
getEmissionFilterRef () const Returns the value of the EmissionFilterRef element.
void
resetEmissionFilterRef () Resets the EmissionFilterRef element to an unset state.
bool
hasEmissionFilterRef () const Checks whether the optional EmissionFilterRef element 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.
std::shared_ptr< FilterSet >
fromBase (NBOBaseClassPtr base) Cast a NBOBaseClass to a FilterSet .
Detailed Description
class Inscoper :: NBO :: FilterSet ;
Represents the XML element FilterSet .
This element represents a FilterSet that was used for the acquisition of this Channel . A Filter Set is typically composed of one Excitation Filter, one Emission Filter and a Dichroic. They might either be pre-assembled by the Manufacturer and purchased as a whole or they can be custom assembled on site depending on the needs of the user.
Public Functions Documentation
function FilterSet function ~FilterSet function getTypeName
std :: string getTypeName () const override
Returns the class type name.
Return : The class type name
function getXMLName
std :: string getXMLName () const override
Returns the XML element name corresponding to this class.
Return : The XML element name
function getNBOType
ENBOType getNBOType () const override
Returns the NBO Type corresponding to this class.
Return : The NBO Type value
function getChildren
std :: vector < NBOBaseClassPtr > getChildren () const override
Returns a list of all classes derived from this class.
Return : The list of derived classes
function getSubElements
std :: vector < NBOBaseClassPtr > getSubElements () const override
Returns a list of all child elements contained in this class.
Return : The list of child classes
function fromJsonFile
void fromJsonFile (
const std :: string & path ,
bool validate = true
)
Populates this object from a JSON file.
Parameters :
path The path to the JSON file
validate If true, validates constraints on value. Default is true.
function fromJsonString
void fromJsonString (
const std :: string & json_string ,
bool validate = true
)
Populates this object from a JSON string.
Parameters :
json_string The JSON content as a string
validate If true, validates constraints on value. Default is true.
function fromXmlFile
void fromXmlFile (
const std :: string & path ,
bool validate = true
)
Populates this object from a XML file.
Parameters :
path The path to the XML file
validate If true, validates constraints on value. Default is true.
function fromXmlString
void fromXmlString (
const std :: string & xml_string ,
bool validate = true
)
Populates this object from a XML string.
Parameters :
xml_string The XML content as a string
validate If true, validates constraints on value. Default is true.
function toXmlFile
void toXmlFile (
const std :: string & filename ,
bool validate = true
) const
Serializes this object to an XML file.
Parameters :
filename The path to the output XML file
validate If true, validates constraints on value. Default is true.
function toXmlString
std :: string toXmlString (
bool validate = true
) const
Serializes this object to an XML string.
Parameters :
validate If true, validates constraints on value. Default is true.
Return : A string containing the XML representation of this object
function setID
void setID (
const Inscoper :: NBO :: FilterSetID_TypePtr & value ,
bool validate = true
)
Sets the value of the ID attribute.
Parameters :
value The value to set
validate If true, validates constraints on value. Default is true.
A Unique Identifier for this component.
function getID
FilterSetID_TypePtr getID () const
Returns the value of the ID attribute.
Return : The value of the attribute
A Unique Identifier for this component.
function resetID
Resets the ID attribute to an unset state.
A Unique Identifier for this component.
function hasID
Checks whether the optional ID attribute is present.
Return : true if the optional attribute has been set, false otherwise
A Unique Identifier for this component.
function setName
void setName (
const Inscoper :: NBO :: Denomination_TypePtr & value ,
bool validate = true
)
Sets the value of the Name attribute.
Parameters :
value The value to set
validate If true, validates constraints on value. Default is true.
A user-defined Name for this component.
function getName
Denomination_TypePtr getName () const
Returns the value of the Name attribute.
Return : The value of the attribute
A user-defined Name for this component.
function resetName
Resets the Name attribute to an unset state.
A user-defined Name for this component.
function hasName
Checks whether the optional Name attribute is present.
Return : true if the optional attribute has been set, false otherwise
A user-defined Name for this component.
function setExcitationFilterRef
void setExcitationFilterRef (
const Inscoper :: NBO :: ExcitationFilterRefPtr & value ,
bool validate = true
)
Sets the value of the ExcitationFilterRef element.
Parameters :
value The value to set
validate If true, validates constraints on value. Default is true.
No description available in the XSD standard.
function getExcitationFilterRef
Inscoper :: NBO :: ExcitationFilterRefPtr getExcitationFilterRef () const
Returns the value of the ExcitationFilterRef element.
Return : The value of the element
No description available in the XSD standard.
function resetExcitationFilterRef
void resetExcitationFilterRef ()
Resets the ExcitationFilterRef element to an unset state.
No description available in the XSD standard.
function hasExcitationFilterRef
bool hasExcitationFilterRef () const
Checks whether the optional ExcitationFilterRef element is present.
Return : true if the optional attribute has been set, false otherwise
No description available in the XSD standard.
function setStandardDichroicRef
void setStandardDichroicRef (
const Inscoper :: NBO :: StandardDichroicRefPtr & value ,
bool validate = true
)
Sets the value of the StandardDichroicRef element.
Parameters :
value The value to set
validate If true, validates constraints on value. Default is true.
This refers to an available dichroic mirror, which is part of this filter set.
function getStandardDichroicRef
Inscoper :: NBO :: StandardDichroicRefPtr getStandardDichroicRef () const
Returns the value of the StandardDichroicRef element.
Return : The value of the element
This refers to an available dichroic mirror, which is part of this filter set.
function resetStandardDichroicRef
void resetStandardDichroicRef ()
Resets the StandardDichroicRef element to an unset state.
This refers to an available dichroic mirror, which is part of this filter set.
function hasStandardDichroicRef
bool hasStandardDichroicRef () const
Checks whether the optional StandardDichroicRef element is present.
Return : true if the optional attribute has been set, false otherwise
This refers to an available dichroic mirror, which is part of this filter set.
function setEmissionFilterRef
void setEmissionFilterRef (
const Inscoper :: NBO :: EmissionFilterRefPtr & value ,
bool validate = true
)
Sets the value of the EmissionFilterRef element.
Parameters :
value The value to set
validate If true, validates constraints on value. Default is true.
No description available in the XSD standard.
function getEmissionFilterRef
Inscoper :: NBO :: EmissionFilterRefPtr getEmissionFilterRef () const
Returns the value of the EmissionFilterRef element.
Return : The value of the element
No description available in the XSD standard.
function resetEmissionFilterRef
void resetEmissionFilterRef ()
Resets the EmissionFilterRef element to an unset state.
No description available in the XSD standard.
function hasEmissionFilterRef
bool hasEmissionFilterRef () const
Checks whether the optional EmissionFilterRef element is present.
Return : true if the optional attribute has been set, false otherwise
No description available in the XSD standard.
function setAnnotationRef
void setAnnotationRef (
const Inscoper :: NBO :: AnnotationRefPtr & value ,
bool validate = true
)
Sets the value of the AnnotationRef element.
Parameters :
value The value to set
validate If true, validates constraints on value. Default is true.
No description available in the XSD standard.
function getAnnotationRef
Inscoper :: NBO :: AnnotationRefPtr getAnnotationRef () const
Returns the value of the AnnotationRef element.
Return : The value of the element
No description available in the XSD standard.
function resetAnnotationRef
void resetAnnotationRef ()
Resets the AnnotationRef element to an unset state.
No description available in the XSD standard.
function hasAnnotationRef
bool hasAnnotationRef () const
Checks whether the optional AnnotationRef element is present.
Return : true if the optional attribute has been set, false otherwise
No description available in the XSD standard.
function fromBase
static std :: shared_ptr < FilterSet > fromBase (
NBOBaseClassPtr base
)
Cast a NBOBaseClass to a FilterSet .
Parameters :
base The base class to cast
Return : The casted element, or nullptr if the cast fails
Updated on 2026-09-23 at 16:50:37 +0200