mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
38 lines
579 B
C++
38 lines
579 B
C++
#include "pqmass.h"
|
|
|
|
namespace BlackCore {
|
|
|
|
/**
|
|
* Default Constructor
|
|
*/
|
|
CMass::CMass(): CPhysicalQuantity(0, CMassUnit::kg(),CMassUnit::kg())
|
|
{
|
|
//void
|
|
}
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
CMass::CMass(const CPhysicalQuantity &weight): CPhysicalQuantity(weight)
|
|
{
|
|
// void
|
|
}
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
CMass::CMass(qint32 value, const CMassUnit &unit) : CPhysicalQuantity(value, unit, CMassUnit::kg())
|
|
{
|
|
// void
|
|
}
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
CMass::CMass(double value, const CMassUnit &unit) : CPhysicalQuantity(value, unit, CMassUnit::kg())
|
|
{
|
|
// void
|
|
}
|
|
|
|
} // namespace BlackCore
|