Skip to content

Inscoper::NBO::SamplePositioningSettings

Represents the XML element SamplePositioningSettings. More...

#include <SamplePositioningSettings.h>

Inherits from Inscoper::NBO::Settings_Type, Inscoper::NBO::Reference_Type, NBOBaseClass

Public Functions

Name
SamplePositioningSettings()
~SamplePositioningSettings()
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::SamplePositioningID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
SamplePositioningID_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 setXYVelocitySetting(const float & value, bool validate =true)
Sets the value of the XYVelocitySetting attribute.
float getXYVelocitySetting() const
Returns the value of the XYVelocitySetting attribute.
void resetXYVelocitySetting()
Resets the XYVelocitySetting attribute to an unset state.
bool hasXYVelocitySetting() const
Checks whether the XYVelocitySetting attribute is present.
void setXYVelocitySettingUnit(const Inscoper::NBO::UnitsVelocity_TypePtr & value, bool validate =true)
Sets the value of the XYVelocitySettingUnit attribute.
UnitsVelocity_TypePtr getXYVelocitySettingUnit() const
Returns the value of the XYVelocitySettingUnit attribute.
void resetXYVelocitySettingUnit()
Resets the XYVelocitySettingUnit attribute to an unset state.
bool hasXYVelocitySettingUnit() const
Checks whether the optional XYVelocitySettingUnit attribute is present.
void setZVelocitySetting(const float & value, bool validate =true)
Sets the value of the ZVelocitySetting attribute.
float getZVelocitySetting() const
Returns the value of the ZVelocitySetting attribute.
void resetZVelocitySetting()
Resets the ZVelocitySetting attribute to an unset state.
bool hasZVelocitySetting() const
Checks whether the ZVelocitySetting attribute is present.
void setZVelocitySettingUnit(const Inscoper::NBO::UnitsVelocity_TypePtr & value, bool validate =true)
Sets the value of the ZVelocitySettingUnit attribute.
UnitsVelocity_TypePtr getZVelocitySettingUnit() const
Returns the value of the ZVelocitySettingUnit attribute.
void resetZVelocitySettingUnit()
Resets the ZVelocitySettingUnit attribute to an unset state.
bool hasZVelocitySettingUnit() const
Checks whether the optional ZVelocitySettingUnit attribute is present.
void setXYReproducibilitySettings(const float & value, bool validate =true)
Sets the value of the XYReproducibilitySettings attribute.
float getXYReproducibilitySettings() const
Returns the value of the XYReproducibilitySettings attribute.
void resetXYReproducibilitySettings()
Resets the XYReproducibilitySettings attribute to an unset state.
bool hasXYReproducibilitySettings() const
Checks whether the XYReproducibilitySettings attribute is present.
void setXYReproducibilitySettingsUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the XYReproducibilitySettingsUnit attribute.
UnitsLength_TypePtr getXYReproducibilitySettingsUnit() const
Returns the value of the XYReproducibilitySettingsUnit attribute.
void resetXYReproducibilitySettingsUnit()
Resets the XYReproducibilitySettingsUnit attribute to an unset state.
bool hasXYReproducibilitySettingsUnit() const
Checks whether the optional XYReproducibilitySettingsUnit attribute is present.
void setZReproducibilitySettings(const float & value, bool validate =true)
Sets the value of the ZReproducibilitySettings attribute.
float getZReproducibilitySettings() const
Returns the value of the ZReproducibilitySettings attribute.
void resetZReproducibilitySettings()
Resets the ZReproducibilitySettings attribute to an unset state.
bool hasZReproducibilitySettings() const
Checks whether the ZReproducibilitySettings attribute is present.
void setZReproducibilitySettingsUnit(const Inscoper::NBO::UnitsLength_TypePtr & value, bool validate =true)
Sets the value of the ZReproducibilitySettingsUnit attribute.
UnitsLength_TypePtr getZReproducibilitySettingsUnit() const
Returns the value of the ZReproducibilitySettingsUnit attribute.
void resetZReproducibilitySettingsUnit()
Resets the ZReproducibilitySettingsUnit attribute to an unset state.
bool hasZReproducibilitySettingsUnit() const
Checks whether the optional ZReproducibilitySettingsUnit attribute is present.
std::shared_ptr< SamplePositioningSettings > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a SamplePositioningSettings.

Additional inherited members

Public Functions inherited from Inscoper::NBO::Settings_Type

Name
Settings_Type()
~Settings_Type()
void setMapAnnotation_List(const std::vector< Inscoper::NBO::MapAnnotationPtr > & value, bool validate =true)
Sets the list of MapAnnotation elements.
std::vector< Inscoper::NBO::MapAnnotationPtr > getMapAnnotation_List() const
Returns the list of MapAnnotation elements.
void addToMapAnnotation_List(const Inscoper::NBO::MapAnnotationPtr & value, bool validate =true)
Adds a new MapAnnotation element to this object.
void clearMapAnnotation_List()
Clear the list of MapAnnotation.
void setAdditionalVendorInformation_List(const std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > & value, bool validate =true)
Sets the list of AdditionalVendorInformation elements.
std::vector< Inscoper::NBO::AdditionalVendorInformationPtr > getAdditionalVendorInformation_List() const
Returns the list of AdditionalVendorInformation elements.
void addToAdditionalVendorInformation_List(const Inscoper::NBO::AdditionalVendorInformationPtr & value, bool validate =true)
Adds a new AdditionalVendorInformation element to this object.
void clearAdditionalVendorInformation_List()
Clear the list of AdditionalVendorInformation.

Public Functions inherited from Inscoper::NBO::Reference_Type

Name
Reference_Type()
~Reference_Type()

Detailed Description

class Inscoper::NBO::SamplePositioningSettings;

Represents the XML element SamplePositioningSettings.

This element holds the Setting applied to a Sample Positioning Device used  during the Acquisiton of this experimental Image as well as a reference (the ID attribute) to the Sample Positioning Device in question.

Public Functions Documentation

function SamplePositioningSettings

function ~SamplePositioningSettings

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 setXYVelocitySetting

function getXYVelocitySetting

function resetXYVelocitySetting

function hasXYVelocitySetting

function setXYVelocitySettingUnit

function getXYVelocitySettingUnit

function resetXYVelocitySettingUnit

function hasXYVelocitySettingUnit

function setZVelocitySetting

function getZVelocitySetting

function resetZVelocitySetting

function hasZVelocitySetting

function setZVelocitySettingUnit

function getZVelocitySettingUnit

function resetZVelocitySettingUnit

function hasZVelocitySettingUnit

function setXYReproducibilitySettings

function getXYReproducibilitySettings

function resetXYReproducibilitySettings

function hasXYReproducibilitySettings

function setXYReproducibilitySettingsUnit

function getXYReproducibilitySettingsUnit

function resetXYReproducibilitySettingsUnit

function hasXYReproducibilitySettingsUnit

function setZReproducibilitySettings

function getZReproducibilitySettings

function resetZReproducibilitySettings

function hasZReproducibilitySettings

function setZReproducibilitySettingsUnit

function getZReproducibilitySettingsUnit

function resetZReproducibilitySettingsUnit

function hasZReproducibilitySettingsUnit

function fromBase