MotionLib  1.0.0
SamBuCa motion library
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
smc::units::Value Struct Reference

Public Types

typedef double value_type
 

Public Member Functions

 Value (unit_t unit, value_type value)
 
bool canConvert (unit_t unit) const
 
bool convert (unit_t unit)
 
Valueoperator+= (value_type raw)
 
Valueoperator-= (value_type raw)
 
Valueoperator*= (value_type raw)
 
Valueoperator/= (value_type raw)
 
std::string toString (void) const
 

Public Attributes

unit_t unit
 
value_type value
 

Protected Member Functions

bool checkConvert (value_type &converted, unit_t unit) const
 

Detailed Description

Definition at line 90 of file Units.hpp.


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