OmeroBlitz API
Home Previous Up Next Index

omero::model::Time

Overview

[ "protected" ] class Time

Unit of Time which is used through the model. This is not an IObject implementation and as such does not have an ID value. Instead, the entire object is embedded into the containing class, so that the value and unit rows can be found on the table itself (e.g. planeInfo.exposureTime and planeInfo.exposureTimeUnit).

Used By

Pixels::getTimeIncrement
Pixels::setTimeIncrement
Pixels::timeIncrement
PlaneInfo::deltaT
PlaneInfo::exposureTime
PlaneInfo::getDeltaT
PlaneInfo::getExposureTime
PlaneInfo::setDeltaT
PlaneInfo::setExposureTime
copy

Operation Index

getValue
Actual value for this unit-based field.
setValue
getUnit
enums::UnitsTime instance which is an IObject meaning that its ID is sufficient for identifying equality.
setUnit
getSymbol
Returns the possibly unicode representation of the ""unit"" value for display.
copy

Data Member Index

value
PositiveFloat value
unit

Operations

double getValue()

Actual value for this unit-based field. The interpretation of the value is only possible along with the enums::UnitsTime enum.

void setValue(double value)

enums::UnitsTime getUnit()

enums::UnitsTime instance which is an IObject meaning that its ID is sufficient for identifying equality.

void setUnit(enums::UnitsTime unit)

string getSymbol()

Returns the possibly unicode representation of the ""unit"" value for display.

Time copy()

Data Members

double value;

PositiveFloat value

enums::UnitsTime unit;


Home Previous Up Next Index