Struct units

Synopsis

#include <include/flecs/addons/cpp/mixins/units/decl.hpp>

struct units

Description

No description yet.

Structures

Amount
amount
Angle
angle
Atto
Bel
Centi
data
Data
datarate
DataRate
Deca
Deci
DeciBel
duration
Duration
electric_current
ElectricCurrent
Exa
Exbi
Femto
Force

Mentioned in

force
Gibi
Giga
Hecto
Kibi
Kilo
length
Length
luminous_intensity
LuminousIntensity
mass
Mass

Mentioned in

Mebi
Mega
Micro
Milli
Nano
Pebi
Percentage
Peta
Pico
Prefixes
pressure
Pressure
speed
Speed

Mentioned in

Tebi
temperature
Temperature
Tera
time
Time

Mentioned in

Yobi
Yocto
Yotta
Zebi
Zepto
Zetta

Methods

units

Source

Lines 4-167 in include/flecs/addons/cpp/mixins/units/decl.hpp.

struct units {

////////////////////////////////////////////////////////////////////////////////
//// Unit prefixes
////////////////////////////////////////////////////////////////////////////////

struct Prefixes { };

struct Yocto { };
struct Zepto { };
struct Atto { };
struct Femto { };
struct Pico { };
struct Nano { };
struct Micro { };
struct Milli { };
struct Centi { };
struct Deci { };
struct Deca { };
struct Hecto { };
struct Kilo { };
struct Mega { };
struct Giga { };
struct Tera { };
struct Peta { };
struct Exa { };
struct Zetta { };
struct Yotta { };
struct Kibi { };
struct Mebi { };
struct Gibi { };
struct Tebi { };
struct Pebi { };
struct Exbi { };
struct Zebi { };
struct Yobi { };


////////////////////////////////////////////////////////////////////////////////
//// Quantities
////////////////////////////////////////////////////////////////////////////////

struct Duration { };
struct Time { };
struct Mass { };
struct ElectricCurrent { };
struct LuminousIntensity { };
struct Force { };
struct Amount { };
struct Length { };
struct Pressure { };
struct Speed { };
struct Temperature { };
struct Data { };
struct DataRate { };
struct Angle { };


////////////////////////////////////////////////////////////////////////////////
//// Units
////////////////////////////////////////////////////////////////////////////////

struct duration {
struct PicoSeconds { };
struct NanoSeconds { };
struct MicroSeconds { };
struct MilliSeconds { };
struct Seconds { };
struct Minutes { };
struct Hours { };
struct Days { };
};

struct angle {
struct Radians { };
struct Degrees { };
};

struct time {
struct Date { };
};

struct mass {
struct Grams { };
struct KiloGrams { };
};

struct electric_current {
struct Ampere { };
};

struct amount {
struct Mole { };
};

struct luminous_intensity {
struct Candela { };
};

struct force {
struct Newton { };
};

struct length {
struct Meters { };
struct PicoMeters { };
struct NanoMeters { };
struct MicroMeters { };
struct MilliMeters { };
struct CentiMeters { };
struct KiloMeters { };
struct Miles { };
};

struct pressure {
struct Pascal { };
struct Bar { };
};

struct speed {
struct MetersPerSecond { };
struct KiloMetersPerSecond { };
struct KiloMetersPerHour { };
struct MilesPerHour { };
};

struct temperature {
struct Kelvin { };
struct Celsius { };
struct Fahrenheit { };
};

struct data {
struct Bits { };
struct KiloBits { };
struct MegaBits { };
struct GigaBits { };
struct Bytes { };
struct KiloBytes { };
struct MegaBytes { };
struct GigaBytes { };
struct KibiBytes { };
struct MebiBytes { };
struct GibiBytes { };
};

struct datarate {
struct BitsPerSecond { };
struct KiloBitsPerSecond { };
struct MegaBitsPerSecond { };
struct GigaBitsPerSecond { };
struct BytesPerSecond { };
struct KiloBytesPerSecond { };
struct MegaBytesPerSecond { };
struct GigaBytesPerSecond { };
};

struct Percentage { };
struct Bel { };
struct DeciBel { };

units(flecs::world& world);

};