Standard unit associated to the angle dimension. More...
#include <vcsl_radian.h>
Public Member Functions | |
virtual | ~vcsl_radian () |
virtual double | units_per_standard_unit () const |
Returns the number of units of `this' equal of the standard_unit for the dimension. | |
virtual bool | compatible_units (vcsl_unit_sptr const &other) const |
Are `this' and `other' compatible units ?. | |
virtual vcsl_unit_sptr | standard_unit () const |
Return the standard unit associated to the dimension of `this'. | |
virtual const vcsl_angle_unit * | cast_to_angle_unit () const |
virtual const vcsl_acceleration_unit * | cast_to_acceleration_unit () const |
virtual const vcsl_charge_unit * | cast_to_charge_unit () const |
virtual const vcsl_length_unit * | cast_to_length_unit () const |
virtual const vcsl_mass_unit * | cast_to_mass_unit () const |
virtual const vcsl_temperature_unit * | cast_to_temperature_unit () const |
virtual const vcsl_time_unit * | cast_to_time_unit () const |
virtual const vcsl_velocity_unit * | cast_to_velocity_unit () const |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Static Public Member Functions | |
static vcsl_radian_sptr | instance () |
Return the reference to the unique vcsl_radian object. | |
Private Member Functions | |
vcsl_radian () |
Standard unit associated to the angle dimension.
See also vcsl_degree
Definition at line 20 of file vcsl_radian.h.
vcsl_radian::vcsl_radian | ( | ) | [inline, private] |
Definition at line 28 of file vcsl_radian.h.
virtual vcsl_radian::~vcsl_radian | ( | ) | [inline, virtual] |
Definition at line 32 of file vcsl_radian.h.
virtual const vcsl_acceleration_unit* vcsl_unit::cast_to_acceleration_unit | ( | ) | const [inline, virtual, inherited] |
Definition at line 70 of file vcsl_unit.h.
virtual const vcsl_angle_unit* vcsl_angle_unit::cast_to_angle_unit | ( | ) | const [inline, virtual, inherited] |
Reimplemented from vcsl_unit.
Definition at line 52 of file vcsl_angle_unit.h.
virtual const vcsl_charge_unit* vcsl_unit::cast_to_charge_unit | ( | ) | const [inline, virtual, inherited] |
Definition at line 72 of file vcsl_unit.h.
virtual const vcsl_length_unit* vcsl_unit::cast_to_length_unit | ( | ) | const [inline, virtual, inherited] |
Reimplemented in vcsl_length_unit.
Definition at line 73 of file vcsl_unit.h.
virtual const vcsl_mass_unit* vcsl_unit::cast_to_mass_unit | ( | ) | const [inline, virtual, inherited] |
Definition at line 74 of file vcsl_unit.h.
virtual const vcsl_temperature_unit* vcsl_unit::cast_to_temperature_unit | ( | ) | const [inline, virtual, inherited] |
Definition at line 75 of file vcsl_unit.h.
virtual const vcsl_time_unit* vcsl_unit::cast_to_time_unit | ( | ) | const [inline, virtual, inherited] |
Definition at line 76 of file vcsl_unit.h.
virtual const vcsl_velocity_unit* vcsl_unit::cast_to_velocity_unit | ( | ) | const [inline, virtual, inherited] |
Definition at line 77 of file vcsl_unit.h.
bool vcsl_angle_unit::compatible_units | ( | vcsl_unit_sptr const & | other | ) | const [virtual, inherited] |
Are `this' and `other' compatible units ?.
(Are they associated to the same dimension ?) Pure virtual function of vcsl_unit
Implements vcsl_unit.
Definition at line 9 of file vcsl_angle_unit.cxx.
vcsl_radian_sptr vcsl_radian::instance | ( | ) | [static] |
Return the reference to the unique vcsl_radian object.
Definition at line 7 of file vcsl_radian.cxx.
vcsl_unit_sptr vcsl_angle_unit::standard_unit | ( | ) | const [virtual, inherited] |
Return the standard unit associated to the dimension of `this'.
Pure virtual function of vcsl_unit
Implements vcsl_unit.
Definition at line 17 of file vcsl_angle_unit.cxx.
virtual double vcsl_radian::units_per_standard_unit | ( | ) | const [inline, virtual] |
Returns the number of units of `this' equal of the standard_unit for the dimension.
Pure virtual function of vcsl_unit
Implements vcsl_unit.
Definition at line 40 of file vcsl_radian.h.