Skip to content

Inscoper::NBO::ImagingEnvironment

Represents the XML element ImagingEnvironment. More...

#include <ImagingEnvironment.h>

Inherits from NBOBaseClass

Public Functions

Name
ImagingEnvironment()
~ImagingEnvironment()
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::EnvironmentalControlDeviceID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
EnvironmentalControlDeviceID_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 setTemperature(const std::string & value, bool validate =true)
Sets the value of the Temperature attribute.
std::string getTemperature() const
Returns the value of the Temperature attribute.
void resetTemperature()
Resets the Temperature attribute to an unset state.
bool hasTemperature() const
Checks whether the Temperature attribute is present.
void setTemperatureUnit(const Inscoper::NBO::UnitsTemperature_TypePtr & value, bool validate =true)
Sets the value of the TemperatureUnit attribute.
UnitsTemperature_TypePtr getTemperatureUnit() const
Returns the value of the TemperatureUnit attribute.
void resetTemperatureUnit()
Resets the TemperatureUnit attribute to an unset state.
bool hasTemperatureUnit() const
Checks whether the optional TemperatureUnit attribute is present.
void setCO2Percent(const std::string & value, bool validate =true)
Sets the value of the CO2Percent attribute.
std::string getCO2Percent() const
Returns the value of the CO2Percent attribute.
void resetCO2Percent()
Resets the CO2Percent attribute to an unset state.
bool hasCO2Percent() const
Checks whether the CO2Percent attribute is present.
void setHumidity(const std::string & value, bool validate =true)
Sets the value of the Humidity attribute.
std::string getHumidity() const
Returns the value of the Humidity attribute.
void resetHumidity()
Resets the Humidity attribute to an unset state.
bool hasHumidity() const
Checks whether the Humidity attribute is present.
void setAirPressure(const float & value, bool validate =true)
Sets the value of the AirPressure attribute.
float getAirPressure() const
Returns the value of the AirPressure attribute.
void resetAirPressure()
Resets the AirPressure attribute to an unset state.
bool hasAirPressure() const
Checks whether the AirPressure attribute is present.
void setAirPressureUnit(const Inscoper::NBO::UnitsPressure_TypePtr & value, bool validate =true)
Sets the value of the AirPressureUnit attribute.
UnitsPressure_TypePtr getAirPressureUnit() const
Returns the value of the AirPressureUnit attribute.
void resetAirPressureUnit()
Resets the AirPressureUnit attribute to an unset state.
bool hasAirPressureUnit() const
Checks whether the optional AirPressureUnit attribute is present.
void setO2Percent(const Inscoper::NBO::PercentFraction_TypePtr & value, bool validate =true)
Sets the value of the O2Percent attribute.
PercentFraction_TypePtr getO2Percent() const
Returns the value of the O2Percent attribute.
void resetO2Percent()
Resets the O2Percent attribute to an unset state.
bool hasO2Percent() const
Checks whether the optional O2Percent attribute is present.
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 setMap(const Inscoper::NBO::Map_TypePtr & value, bool validate =true)
Sets the value of the Map element.
Inscoper::NBO::Map_TypePtr getMap() const
Returns the value of the Map element.
void resetMap()
Resets the Map element to an unset state.
bool hasMap() const
Checks whether the optional Map element is present.
std::shared_ptr< ImagingEnvironment > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a ImagingEnvironment.
const std::set< std::string > & getTemperatureAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getCO2PercentAllowedValues()
Returns the allowed values for this attribut.
const std::set< std::string > & getHumidityAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::ImagingEnvironment;

Represents the XML element ImagingEnvironment.

This element describes the environment in which the biological sample was maintained during the Acquisition of this Image.

Public Functions Documentation

function ImagingEnvironment

function ~ImagingEnvironment

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 setTemperature

function getTemperature

function resetTemperature

function hasTemperature

function setTemperatureUnit

function getTemperatureUnit

function resetTemperatureUnit

function hasTemperatureUnit

function setCO2Percent

function getCO2Percent

function resetCO2Percent

function hasCO2Percent

function setHumidity

function getHumidity

function resetHumidity

function hasHumidity

function setAirPressure

function getAirPressure

function resetAirPressure

function hasAirPressure

function setAirPressureUnit

function getAirPressureUnit

function resetAirPressureUnit

function hasAirPressureUnit

function setO2Percent

function getO2Percent

function resetO2Percent

function hasO2Percent

function setDescription

function getDescription

function resetDescription

function hasDescription

function setMap

function getMap

function resetMap

function hasMap

function fromBase

function getTemperatureAllowedValues

function getCO2PercentAllowedValues

function getHumidityAllowedValues