Version: 5.3.3-ice35-b63

OmeroBlitz API
Home Previous Up Next Index

omero::model::Power

Overview

[ "protected" ] class Power

Unit of Power 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. lightSource.power and lightSource.powerUnit).

Used By

copy
LightSource::getPower
LightSource::power
LightSource::setPower

Operation Index

getValue
Actual value for this unit-based field.
setValue
getUnit
enums::UnitsPower 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::UnitsPower enum.

void setValue(double value)

enums::UnitsPower getUnit()

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

void setUnit(enums::UnitsPower unit)

string getSymbol()

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

Power copy()

Data Members

double value;

PositiveFloat value

enums::UnitsPower unit;


Home Previous Up Next Index