Lengthを表すベースクラス. [詳細]
#include <Length.hpp>
Public メソッド | |
| LengthBase (const T &meter=T()) | |
| Lengthを表すスカラー変数を生成する. | |
| LengthBase (const typename LengthBaseTraits< T >::ScalarType &rhs) | |
| Lengthを表すスカラー変数をコピーして生成する. | |
| const T & | ToMeter () const |
| メートル単位の値を得る. | |
| const T | ToMillimeter () const |
| ミリメートル単位の値を得る. | |
Static Public メソッド | |
| static LengthBase | FromMeter (const T &meter) |
| メートルからLengthを表すスカラー変数を生成する. | |
| static LengthBase | FromMillimeter (const T &millimeter) |
| ミリメートルからLengthを表すスカラー変数を生成する. | |
Lengthを表すベースクラス.
| NSDimensionPromise::LengthBase< T >::LengthBase | ( | const T & | meter = T() |
) | [inline, explicit] |
Lengthを表すスカラー変数を生成する.
| meter | 変数の初期値 |
| NSDimensionPromise::LengthBase< T >::LengthBase | ( | const typename LengthBaseTraits< T >::ScalarType & | rhs | ) | [inline] |
Lengthを表すスカラー変数をコピーして生成する.
| rhs | コピー元の変数 |
| static LengthBase NSDimensionPromise::LengthBase< T >::FromMeter | ( | const T & | meter | ) | [inline, static] |
メートルからLengthを表すスカラー変数を生成する.
| static LengthBase NSDimensionPromise::LengthBase< T >::FromMillimeter | ( | const T & | millimeter | ) | [inline, static] |
ミリメートルからLengthを表すスカラー変数を生成する.
| const T& NSDimensionPromise::LengthBase< T >::ToMeter | ( | ) | const [inline] |
メートル単位の値を得る.
| const T NSDimensionPromise::LengthBase< T >::ToMillimeter | ( | ) | const [inline] |
ミリメートル単位の値を得る.
1.7.1