Skip to content

Inscoper::NBO::OME

Represents the XML element OME. More...

#include <OME.h>

Inherits from NBOBaseClass

Public Functions

Name
OME()
~OME()
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 setUUID(const Inscoper::NBO::UniversallyUniqueIdentifier_TypePtr & value, bool validate =true)
Sets the value of the UUID attribute.
UniversallyUniqueIdentifier_TypePtr getUUID() const
Returns the value of the UUID attribute.
void resetUUID()
Resets the UUID attribute to an unset state.
bool hasUUID() const
Checks whether the optional UUID attribute is present.
void setCreator(const std::string & value, bool validate =true)
Sets the value of the Creator attribute.
std::string getCreator() const
Returns the value of the Creator attribute.
void resetCreator()
Resets the Creator attribute to an unset state.
bool hasCreator() const
Checks whether the Creator attribute is present.
void setRights(const Inscoper::NBO::RightsPtr & value, bool validate =true)
Sets the value of the Rights element.
Inscoper::NBO::RightsPtr getRights() const
Returns the value of the Rights element.
void resetRights()
Resets the Rights element to an unset state.
bool hasRights() const
Checks whether the optional Rights element is present.
void setome_choice(const Inscoper::NBO::OME_ChoicePtr & value, bool validate =true)
Sets the value of the ome_choice element.
Inscoper::NBO::OME_ChoicePtr getome_choice() const
Returns the value of the ome_choice element.
void resetome_choice()
Resets the ome_choice element to an unset state.
bool hasome_choice() const
Checks whether the optional ome_choice element is present.
std::shared_ptr< OME > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a OME.
const std::set< std::string > & getCreatorAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::OME;

Represents the XML element OME.

The OME element is a container for all information objects accessible by OME. These information objects include descriptions of the imaging experiments and the people who perform them, descriptions of the microscope, the resulting images and how they were acquired, the analyses performed on those images, and the analysis results themselves. An OME file may contain any or all of this information. With the creation of the Metadata Only Companion OME-XML and Binary Only OME-TIFF files the top level OME node has changed slightly. It can EITHER: Contain all the previously expected elements OR: Contain a single BinaryOnly element that points at its Metadata Only Companion OME-XML file.

Public Functions Documentation

function OME

function ~OME

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function setUUID

function getUUID

function resetUUID

function hasUUID

function setCreator

function getCreator

function resetCreator

function hasCreator

function setRights

function getRights

function resetRights

function hasRights

function setome_choice

function getome_choice

function resetome_choice

function hasome_choice

function fromBase

function getCreatorAllowedValues