Computer Assited Medical Intervention Tool Kit  version 5.0
ForceUnit Class Reference

Class that defines the different units of a Load 'Force'. More...

#include <ForceUnit.h>

+ Inheritance diagram for ForceUnit:
+ Collaboration diagram for ForceUnit:

Static Public Member Functions

static ForceUnitKN ()
 KiloNewtons. More...
 
static ForceUnitN ()
 Newtons. More...
 
static ForceUnitPN ()
 picoNewtons More...
 

Private Member Functions

 ForceUnit (std::string n)
 private constructor More...
 

Additional Inherited Members

- Public Member Functions inherited from Unit
std::string getUnitName ()
 
virtual ~Unit ()=default
 
- Protected Attributes inherited from Unit
std::string unitString
 

Detailed Description

Class that defines the different units of a Load 'Force'.

Note
This class implements the type-safe design pattern.

Constructor & Destructor Documentation

◆ ForceUnit()

ForceUnit::ForceUnit ( std::string  n)
inlineprivate

private constructor

Member Function Documentation

◆ KN()

ForceUnit & ForceUnit::KN ( )
static

KiloNewtons.

Referenced by Loads::xmlRead().

+ Here is the caller graph for this function:

◆ N()

ForceUnit & ForceUnit::N ( )
static

Newtons.

Referenced by Force::Force(), and Loads::xmlRead().

+ Here is the caller graph for this function:

◆ PN()

ForceUnit & ForceUnit::PN ( )
static

picoNewtons

Referenced by Loads::xmlRead().

+ Here is the caller graph for this function:

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