GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | Static Public Attributes | List of all members
gd::MeasurementBaseUnit Class Reference

An atomic unit of measurement. More...

#include <MeasurementBaseUnit.h>

Public Member Functions

 MeasurementBaseUnit (gd::String name_, gd::String symbol_, gd::String quantity_)
 
const gd::StringGetName () const
 Return the unit name.
 
const gd::StringGetSymbol () const
 Return the unit symbol.
 
const gd::StringGetQuantity () const
 Return the physical quantity.
 

Static Public Attributes

static const gd::MeasurementBaseUnit degreeAngle
 
static const gd::MeasurementBaseUnit pixel
 
static const gd::MeasurementBaseUnit meter
 
static const gd::MeasurementBaseUnit second
 
static const gd::MeasurementBaseUnit kilogram
 

Detailed Description

An atomic unit of measurement.

Member Data Documentation

◆ degreeAngle

const gd::MeasurementBaseUnit gd::MeasurementBaseUnit::degreeAngle
static
Initial value:
=
MeasurementBaseUnit("degree", "deg", "")

◆ kilogram

const gd::MeasurementBaseUnit gd::MeasurementBaseUnit::kilogram
static
Initial value:
=
MeasurementBaseUnit("kilogram", "Kg", "mass")

◆ meter

const gd::MeasurementBaseUnit gd::MeasurementBaseUnit::meter
static
Initial value:
=
MeasurementBaseUnit("meter", "m", "distance")

◆ pixel

const gd::MeasurementBaseUnit gd::MeasurementBaseUnit::pixel
static
Initial value:
=
MeasurementBaseUnit("pixel", "px", "distance")

◆ second

const gd::MeasurementBaseUnit gd::MeasurementBaseUnit::second
static
Initial value:
=
MeasurementBaseUnit("second", "s", "time")

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