Skip to content

Inscoper::NBO::WellSample

Represents the XML element WellSample. More...

#include <WellSample.h>

Inherits from NBOBaseClass

Public Functions

Name
WellSample()
~WellSample()
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::WellSampleID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
WellSampleID_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 setPositionX(const float & value, bool validate =true)
Sets the value of the PositionX attribute.
float getPositionX() const
Returns the value of the PositionX attribute.
void resetPositionX()
Resets the PositionX attribute to an unset state.
bool hasPositionX() const
Checks whether the PositionX attribute is present.
void setPositionXUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the PositionXUnit attribute.
UnitsLength_TypePtr getPositionXUnit() const
Returns the value of the PositionXUnit attribute.
void resetPositionXUnit()
Resets the PositionXUnit attribute to an unset state.
bool hasPositionXUnit() const
Checks whether the optional PositionXUnit attribute is present.
void setPositionY(const float & value, bool validate =true)
Sets the value of the PositionY attribute.
float getPositionY() const
Returns the value of the PositionY attribute.
void resetPositionY()
Resets the PositionY attribute to an unset state.
bool hasPositionY() const
Checks whether the PositionY attribute is present.
void setPositionYUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the PositionYUnit attribute.
UnitsLength_TypePtr getPositionYUnit() const
Returns the value of the PositionYUnit attribute.
void resetPositionYUnit()
Resets the PositionYUnit attribute to an unset state.
bool hasPositionYUnit() const
Checks whether the optional PositionYUnit attribute is present.
void setTimepoint(const std::string & value, bool validate =true)
Sets the value of the Timepoint attribute.
std::string getTimepoint() const
Returns the value of the Timepoint attribute.
void resetTimepoint()
Resets the Timepoint attribute to an unset state.
bool hasTimepoint() const
Checks whether the Timepoint attribute is present.
void setIndex(const Inscoper::NBO::NonNegativeInt_TypePtr & value, bool validate =true)
Sets the value of the Index attribute.
NonNegativeInt_TypePtr getIndex() const
Returns the value of the Index attribute.
void resetIndex()
Resets the Index attribute to an unset state.
bool hasIndex() const
Checks whether the optional Index attribute is present.
void setImageRef(const Inscoper::NBO::ImageRefPtr & value, bool validate =true)
Sets the value of the ImageRef element.
Inscoper::NBO::ImageRefPtr getImageRef() const
Returns the value of the ImageRef element.
void resetImageRef()
Resets the ImageRef element to an unset state.
bool hasImageRef() const
Checks whether the optional ImageRef element is present.
std::shared_ptr< WellSample > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a WellSample.
const std::set< std::string > & getTimepointAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::WellSample;

Represents the XML element WellSample.

WellSample is an individual Image that has been captured within a Well.

Public Functions Documentation

function WellSample

function ~WellSample

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 setPositionX

function getPositionX

function resetPositionX

function hasPositionX

function setPositionXUnit

function getPositionXUnit

function resetPositionXUnit

function hasPositionXUnit

function setPositionY

function getPositionY

function resetPositionY

function hasPositionY

function setPositionYUnit

function getPositionYUnit

function resetPositionYUnit

function hasPositionYUnit

function setTimepoint

function getTimepoint

function resetTimepoint

function hasTimepoint

function setIndex

function getIndex

function resetIndex

function hasIndex

function setImageRef

function getImageRef

function resetImageRef

function hasImageRef

function fromBase

function getTimepointAllowedValues