Skip to content

Inscoper::NBO::Channel

Represents the XML element Channel. More...

#include <Channel.h>

Inherits from NBOBaseClass

Public Functions

Name
Channel()
~Channel()
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::ChannelID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
ChannelID_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 setIlluminationType(const Inscoper::NBO::ImagingMethodList_TypePtr & value, bool validate =true)
Sets the value of the IlluminationType attribute.
ImagingMethodList_TypePtr getIlluminationType() const
Returns the value of the IlluminationType attribute.
void resetIlluminationType()
Resets the IlluminationType attribute to an unset state.
bool hasIlluminationType() const
Checks whether the optional IlluminationType attribute is present.
void setIlluminationTypeTermAcession(const std::string & value, bool validate =true)
Sets the value of the IlluminationTypeTermAcession attribute.
std::string getIlluminationTypeTermAcession() const
Returns the value of the IlluminationTypeTermAcession attribute.
void resetIlluminationTypeTermAcession()
Resets the IlluminationTypeTermAcession attribute to an unset state.
bool hasIlluminationTypeTermAcession() const
Checks whether the IlluminationTypeTermAcession attribute is present.
void setContrastMethod(const Inscoper::NBO::ChannelContrastMethod_TypePtr & value, bool validate =true)
Sets the value of the ContrastMethod attribute.
ChannelContrastMethod_TypePtr getContrastMethod() const
Returns the value of the ContrastMethod attribute.
void resetContrastMethod()
Resets the ContrastMethod attribute to an unset state.
bool hasContrastMethod() const
Checks whether the optional ContrastMethod attribute is present.
void setColor(const Inscoper::NBO::Color_TypePtr & value, bool validate =true)
Sets the value of the Color attribute.
Color_TypePtr getColor() const
Returns the value of the Color attribute.
void resetColor()
Resets the Color attribute to an unset state.
bool hasColor() const
Checks whether the optional Color attribute is present.
void setSamplesPerPixel(const Inscoper::NBO::PositiveInt_TypePtr & value, bool validate =true)
Sets the value of the SamplesPerPixel attribute.
PositiveInt_TypePtr getSamplesPerPixel() const
Returns the value of the SamplesPerPixel attribute.
void resetSamplesPerPixel()
Resets the SamplesPerPixel attribute to an unset state.
bool hasSamplesPerPixel() const
Checks whether the optional SamplesPerPixel attribute is present.
void setFluorophore_List(const std::vector< Inscoper::NBO::FluorophorePtr > & value, bool validate =true)
Sets the list of Fluorophore elements.
std::vector< Inscoper::NBO::FluorophorePtr > getFluorophore_List() const
Returns the list of Fluorophore elements.
void addToFluorophore_List(const Inscoper::NBO::FluorophorePtr & value, bool validate =true)
Adds a new Fluorophore element to this object.
void clearFluorophore_List()
Clear the list of Fluorophore.
void setLightPath(const Inscoper::NBO::LightPathPtr & value, bool validate =true)
Sets the value of the LightPath element.
Inscoper::NBO::LightPathPtr getLightPath() const
Returns the value of the LightPath element.
void resetLightPath()
Resets the LightPath element to an unset state.
bool hasLightPath() const
Checks whether the optional LightPath element is present.
void setExcitationCalibration_List(const std::vector< Inscoper::NBO::ExcitationCalibrationPtr > & value, bool validate =true)
Sets the list of ExcitationCalibration elements.
std::vector< Inscoper::NBO::ExcitationCalibrationPtr > getExcitationCalibration_List() const
Returns the list of ExcitationCalibration elements.
void addToExcitationCalibration_List(const Inscoper::NBO::ExcitationCalibrationPtr & value, bool validate =true)
Adds a new ExcitationCalibration element to this object.
void clearExcitationCalibration_List()
Clear the list of ExcitationCalibration.
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< Channel > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a Channel.
const std::set< std::string > & getIlluminationTypeTermAcessionAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::Channel;

Represents the XML element Channel.

Each Image has to have at least one Plane and one Channel. The Channel element stores information about how the each ImageChannel was acquired. The total number of Channel elements for a given Image must equal to SizeC.

Public Functions Documentation

function Channel

function ~Channel

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setID

function getID

function resetID

function hasID

function setName

function getName

function resetName

function hasName

function setIlluminationType

function getIlluminationType

function resetIlluminationType

function hasIlluminationType

function setIlluminationTypeTermAcession

function getIlluminationTypeTermAcession

function resetIlluminationTypeTermAcession

function hasIlluminationTypeTermAcession

function setContrastMethod

function getContrastMethod

function resetContrastMethod

function hasContrastMethod

function setColor

function getColor

function resetColor

function hasColor

function setSamplesPerPixel

function getSamplesPerPixel

function resetSamplesPerPixel

function hasSamplesPerPixel

function setFluorophore_List

function getFluorophore_List

function addToFluorophore_List

function clearFluorophore_List

function setLightPath

function getLightPath

function resetLightPath

function hasLightPath

function setExcitationCalibration_List

function getExcitationCalibration_List

function addToExcitationCalibration_List

function clearExcitationCalibration_List

function setAnnotationRef

function getAnnotationRef

function resetAnnotationRef

function hasAnnotationRef

function fromBase

function getIlluminationTypeTermAcessionAllowedValues