Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
vcsl_length Class Reference

Length dimension. More...

#include <vcsl_length.h>

Inheritance diagram for vcsl_length:
Inheritance graph
[legend]

Public Member Functions

 ~vcsl_length () override=default
 
bool compatible_unit (vcsl_unit_sptr const &new_unit) const override
 Is ‘new_unit’ a compatible unit for the dimension ?. More...
 
vcsl_unit_sptr standard_unit () const override
 Return the standard unit associated to the dimension. More...
 
void ref ()
 
void unref ()
 
long 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. More...
 

Private Member Functions

 vcsl_length ()=default
 

Detailed Description

Length dimension.

Definition at line 21 of file vcsl_length.h.

Constructor & Destructor Documentation

◆ vcsl_length()

vcsl_length::vcsl_length ( )
privatedefault

◆ ~vcsl_length()

vcsl_length::~vcsl_length ( )
overridedefault

Member Function Documentation

◆ compatible_unit()

bool vcsl_length::compatible_unit ( vcsl_unit_sptr const &  new_unit) const
overridevirtual

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.

◆ instance()

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.

◆ standard_unit()

vcsl_unit_sptr vcsl_length::standard_unit ( ) const
overridevirtual

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.


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