Public Member Functions | Protected Member Functions
vcsl_dimension Class Reference

Abstract dimension. More...

#include <vcsl_dimension.h>

Inheritance diagram for vcsl_dimension:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vcsl_dimension (vcsl_dimension const &)
virtual ~vcsl_dimension ()
virtual bool compatible_unit (vcsl_unit_sptr const &new_unit) const =0
 Is `new_unit' a compatible unit for the dimension ?.
virtual vcsl_unit_sptr standard_unit () const =0
 Return the standard unit associated to the dimension.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Member Functions

 vcsl_dimension ()

Detailed Description

Abstract dimension.

A dimension is a type of quantity to be measured

Definition at line 21 of file vcsl_dimension.h.


Constructor & Destructor Documentation

vcsl_dimension::vcsl_dimension ( ) [inline, protected]

Definition at line 30 of file vcsl_dimension.h.

vcsl_dimension::vcsl_dimension ( vcsl_dimension const &  ) [inline]

Definition at line 34 of file vcsl_dimension.h.

virtual vcsl_dimension::~vcsl_dimension ( ) [inline, virtual]

Definition at line 37 of file vcsl_dimension.h.


Member Function Documentation

virtual bool vcsl_dimension::compatible_unit ( vcsl_unit_sptr const &  new_unit) const [pure virtual]

Is `new_unit' a compatible unit for the dimension ?.

Implemented in vcsl_length, and vcsl_angle.

virtual vcsl_unit_sptr vcsl_dimension::standard_unit ( ) const [pure virtual]

Return the standard unit associated to the dimension.

Implemented in vcsl_length, and vcsl_angle.


The documentation for this class was generated from the following file: