Skip to content

Inscoper::NBO::Experiment

Represents the XML element Experiment. More...

#include <Experiment.h>

Inherits from NBOBaseClass

Public Functions

Name
Experiment()
~Experiment()
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::ExperimentID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
ExperimentID_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 setPurpose(const Inscoper::NBO::ExperimentPurpose_TypePtr & value, bool validate =true)
Sets the value of the Purpose attribute.
ExperimentPurpose_TypePtr getPurpose() const
Returns the value of the Purpose attribute.
void resetPurpose()
Resets the Purpose attribute to an unset state.
bool hasPurpose() const
Checks whether the optional Purpose attribute is present.
void setLabellingMethod(const std::string & value, bool validate =true)
Sets the value of the LabellingMethod attribute.
std::string getLabellingMethod() const
Returns the value of the LabellingMethod attribute.
void resetLabellingMethod()
Resets the LabellingMethod attribute to an unset state.
bool hasLabellingMethod() const
Checks whether the LabellingMethod attribute is present.
void setLabellingMethodTermAccession(const std::string & value, bool validate =true)
Sets the value of the LabellingMethodTermAccession attribute.
std::string getLabellingMethodTermAccession() const
Returns the value of the LabellingMethodTermAccession attribute.
void resetLabellingMethodTermAccession()
Resets the LabellingMethodTermAccession attribute to an unset state.
bool hasLabellingMethodTermAccession() const
Checks whether the LabellingMethodTermAccession attribute is present.
void setTag(const std::string & value, bool validate =true)
Sets the value of the Tag attribute.
std::string getTag() const
Returns the value of the Tag attribute.
void resetTag()
Resets the Tag attribute to an unset state.
bool hasTag() const
Checks whether the Tag attribute is present.
void setTagTermAccession(const std::string & value, bool validate =true)
Sets the value of the TagTermAccession attribute.
std::string getTagTermAccession() const
Returns the value of the TagTermAccession attribute.
void resetTagTermAccession()
Resets the TagTermAccession attribute to an unset state.
bool hasTagTermAccession() const
Checks whether the TagTermAccession attribute is present.
void setHystochemistryType(const Inscoper::NBO::HystochemistryType_TypePtr & value, bool validate =true)
Sets the value of the HystochemistryType attribute.
HystochemistryType_TypePtr getHystochemistryType() const
Returns the value of the HystochemistryType attribute.
void resetHystochemistryType()
Resets the HystochemistryType attribute to an unset state.
bool hasHystochemistryType() const
Checks whether the optional HystochemistryType attribute is present.
void setExperimenterRef_List(const std::vector< Inscoper::NBO::ExperimenterRefPtr > & value, bool validate =true)
Sets the list of ExperimenterRef elements.
std::vector< Inscoper::NBO::ExperimenterRefPtr > getExperimenterRef_List() const
Returns the list of ExperimenterRef elements.
void addToExperimenterRef_List(const Inscoper::NBO::ExperimenterRefPtr & value, bool validate =true)
Adds a new ExperimenterRef element to this object.
void clearExperimenterRef_List()
Clear the list of ExperimenterRef.
void setSample_List(const std::vector< Inscoper::NBO::SamplePtr > & value, bool validate =true)
Sets the list of Sample elements.
std::vector< Inscoper::NBO::SamplePtr > getSample_List() const
Returns the list of Sample elements.
void addToSample_List(const Inscoper::NBO::SamplePtr & value, bool validate =true)
Adds a new Sample element to this object.
void clearSample_List()
Clear the list of Sample.
void setMicrobeamManipulation_List(const std::vector< Inscoper::NBO::MicrobeamManipulationPtr > & value, bool validate =true)
Sets the list of MicrobeamManipulation elements.
std::vector< Inscoper::NBO::MicrobeamManipulationPtr > getMicrobeamManipulation_List() const
Returns the list of MicrobeamManipulation elements.
void addToMicrobeamManipulation_List(const Inscoper::NBO::MicrobeamManipulationPtr & value, bool validate =true)
Adds a new MicrobeamManipulation element to this object.
void clearMicrobeamManipulation_List()
Clear the list of MicrobeamManipulation.
void setDescription(const Inscoper::NBO::DescriptionPtr & value, bool validate =true)
Sets the value of the Description element.
Inscoper::NBO::DescriptionPtr getDescription() const
Returns the value of the Description element.
void resetDescription()
Resets the Description element to an unset state.
bool hasDescription() const
Checks whether the optional Description 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< Experiment > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a Experiment.
const std::set< std::string > & getLabellingMethodAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getLabellingMethodTermAccessionAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getTagAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getTagTermAccessionAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::Experiment;

Represents the XML element Experiment.

This element describes the experiment during which this Image was acquired. The optional Description element may contain free text to further describe the experiment.

Public Functions Documentation

function Experiment

function ~Experiment

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 setPurpose

function getPurpose

function resetPurpose

function hasPurpose

function setLabellingMethod

function getLabellingMethod

function resetLabellingMethod

function hasLabellingMethod

function setLabellingMethodTermAccession

function getLabellingMethodTermAccession

function resetLabellingMethodTermAccession

function hasLabellingMethodTermAccession

function setTag

function getTag

function resetTag

function hasTag

function setTagTermAccession

function getTagTermAccession

function resetTagTermAccession

function hasTagTermAccession

function setHystochemistryType

function getHystochemistryType

function resetHystochemistryType

function hasHystochemistryType

function setExperimenterRef_List

function getExperimenterRef_List

function addToExperimenterRef_List

function clearExperimenterRef_List

function setSample_List

function getSample_List

function addToSample_List

function clearSample_List

function setMicrobeamManipulation_List

function getMicrobeamManipulation_List

function addToMicrobeamManipulation_List

function clearMicrobeamManipulation_List

function setDescription

function getDescription

function resetDescription

function hasDescription

function setAnnotationRef

function getAnnotationRef

function resetAnnotationRef

function hasAnnotationRef

function fromBase

function getLabellingMethodAllowedValues

function getLabellingMethodTermAccessionAllowedValues

function getTagAllowedValues

function getTagTermAccessionAllowedValues