Public Member Functions | Protected Member Functions | List of all members
vcsl_dimension Class Referenceabstract

Abstract dimension. More...

#include <vcsl_dimension.h>

Inheritance diagram for vcsl_dimension:
Inheritance graph
[legend]

Public Member Functions

 vcsl_dimension (vcsl_dimension const &)
 
 ~vcsl_dimension () override=default
 
virtual bool compatible_unit (vcsl_unit_sptr const &new_unit) const =0
 Is ‘new_unit’ a compatible unit for the dimension ?. More...
 
virtual vcsl_unit_sptr standard_unit () const =0
 Return the standard unit associated to the dimension. More...
 
void ref ()
 
void unref ()
 
long get_references () const
 
bool is_referenced () const
 

Protected Member Functions

 vcsl_dimension ()=default
 

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() [1/2]

vcsl_dimension::vcsl_dimension ( )
protecteddefault

◆ vcsl_dimension() [2/2]

vcsl_dimension::vcsl_dimension ( vcsl_dimension const &  )
inline

Definition at line 34 of file vcsl_dimension.h.

◆ ~vcsl_dimension()

vcsl_dimension::~vcsl_dimension ( )
overridedefault

Member Function Documentation

◆ compatible_unit()

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.

◆ standard_unit()

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: