Length dimension. More...
#include <vcsl_length.h>
Public Member Functions | |
virtual | ~vcsl_length () |
virtual bool | compatible_unit (vcsl_unit_sptr const &new_unit) const |
Is `new_unit' a compatible unit for the dimension ?. | |
virtual vcsl_unit_sptr | standard_unit () const |
Return the standard unit associated to the dimension. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Static Public Member Functions | |
static vcsl_length_sptr | instance () |
Return the reference to the unique vcsl_length object. | |
Private Member Functions | |
vcsl_length () |
Length dimension.
Definition at line 21 of file vcsl_length.h.
vcsl_length::vcsl_length | ( | ) | [inline, private] |
Definition at line 29 of file vcsl_length.h.
virtual vcsl_length::~vcsl_length | ( | ) | [inline, virtual] |
Definition at line 33 of file vcsl_length.h.
bool vcsl_length::compatible_unit | ( | vcsl_unit_sptr const & | new_unit | ) | const [virtual] |
Is `new_unit' a compatible unit for the dimension ?.
Pure virtual function of vcsl_dimension
Implements vcsl_dimension.
Definition at line 8 of file vcsl_length.cxx.
vcsl_length_sptr vcsl_length::instance | ( | ) | [static] |
Return the reference to the unique vcsl_length object.
Definition at line 24 of file vcsl_length.cxx.
vcsl_unit_sptr vcsl_length::standard_unit | ( | ) | const [virtual] |
Return the standard unit associated to the dimension.
Pure virtual function of vcsl_dimension
Implements vcsl_dimension.
Definition at line 16 of file vcsl_length.cxx.