Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
decl.hpp
Go to the documentation of this file.
1
6#pragma once
7
8namespace flecs {
10struct units {
11
21struct Prefixes { };
22
32struct Yocto { };
34struct Zepto { };
36struct Atto { };
38struct Femto { };
40struct Pico { };
42struct Nano { };
44struct Micro { };
46struct Milli { };
48struct Centi { };
50struct Deci { };
52struct Deca { };
54struct Hecto { };
56struct Kilo { };
58struct Mega { };
60struct Giga { };
62struct Tera { };
64struct Peta { };
66struct Exa { };
68struct Zetta { };
70struct Yotta { };
72struct Kibi { };
74struct Mebi { };
76struct Gibi { };
78struct Tebi { };
80struct Pebi { };
82struct Exbi { };
84struct Zebi { };
86struct Yobi { };
87
99struct Duration { };
101struct Time { };
103struct Mass { };
109struct Force { };
111struct Amount { };
113struct Length { };
115struct Pressure { };
117struct Speed { };
119struct Temperature { };
121struct Data { };
123struct DataRate { };
125struct Angle { };
127struct Frequency { };
129struct Uri { };
131struct Color { };
132
136struct duration {
144struct PicoSeconds { };
146struct NanoSeconds { };
148struct MicroSeconds { };
150struct MilliSeconds { };
152struct Seconds { };
154struct Minutes { };
156struct Hours { };
158struct Days { };
159
161};
162
164struct angle {
172struct Radians { };
174struct Degrees { };
175
177};
178
179
181struct time {
189struct Date { };
190
192};
193
194
196struct mass {
204struct Grams { };
206struct KiloGrams { };
207
209};
210
211
221struct Ampere { };
222
224};
225
226
228struct amount {
236struct Mole { };
237
239};
240
241
251struct Candela { };
252
254};
255
256
258struct force {
266struct Newton { };
267
269};
270
271
273struct length {
281struct Meters { };
283struct PicoMeters { };
285struct NanoMeters { };
287struct MicroMeters { };
289struct MilliMeters { };
291struct CentiMeters { };
293struct KiloMeters { };
295struct Miles { };
297struct Pixels { };
298
300};
301
302
304struct pressure {
312struct Pascal { };
314struct Bar { };
315
317};
318
319
321struct speed {
335struct MilesPerHour { };
336
338};
339
340
350struct Kelvin { };
352struct Celsius { };
354struct Fahrenheit { };
355
357};
358
359
361struct data {
369struct Bits { };
371struct KiloBits { };
373struct MegaBits { };
375struct GigaBits { };
377struct Bytes { };
379struct KiloBytes { };
381struct MegaBytes { };
383struct GigaBytes { };
385struct KibiBytes { };
387struct MebiBytes { };
389struct GibiBytes { };
390
392};
393
421
422
424struct frequency {
432struct Hertz { };
434struct KiloHertz { };
436struct MegaHertz { };
438struct GigaHertz { };
439
441};
442
443
445struct uri {
453struct Hyperlink { };
455struct Image { };
457struct File { };
458
460};
461
462
464struct color {
472struct Rgb { };
474struct Hsl { };
476struct Css { };
477
479};
480
482struct Percentage { };
484struct Bel { };
486struct DeciBel { };
487
490
493};
494}
units(flecs::world &world)
Construct the units module.
Definition impl.hpp:10
Amount quantity.
Definition decl.hpp:111
Angle quantity.
Definition decl.hpp:125
Atto prefix (10^-18).
Definition decl.hpp:36
Bel unit.
Definition decl.hpp:484
Centi prefix (10^-2).
Definition decl.hpp:48
Color quantity.
Definition decl.hpp:131
Data rate quantity.
Definition decl.hpp:123
Data quantity.
Definition decl.hpp:121
Deca prefix (10^1).
Definition decl.hpp:52
DeciBel unit.
Definition decl.hpp:486
Deci prefix (10^-1).
Definition decl.hpp:50
Duration quantity.
Definition decl.hpp:99
Electric current quantity.
Definition decl.hpp:105
Exa prefix (10^18).
Definition decl.hpp:66
Exbi prefix (2^60).
Definition decl.hpp:82
Femto prefix (10^-15).
Definition decl.hpp:38
Force quantity.
Definition decl.hpp:109
Frequency quantity.
Definition decl.hpp:127
Gibi prefix (2^30).
Definition decl.hpp:76
Giga prefix (10^9).
Definition decl.hpp:60
Hecto prefix (10^2).
Definition decl.hpp:54
Kibi prefix (2^10).
Definition decl.hpp:72
Kilo prefix (10^3).
Definition decl.hpp:56
Length quantity.
Definition decl.hpp:113
Luminous intensity quantity.
Definition decl.hpp:107
Mass quantity.
Definition decl.hpp:103
Mebi prefix (2^20).
Definition decl.hpp:74
Mega prefix (10^6).
Definition decl.hpp:58
Micro prefix (10^-6).
Definition decl.hpp:44
Milli prefix (10^-3).
Definition decl.hpp:46
Nano prefix (10^-9).
Definition decl.hpp:42
Pebi prefix (2^50).
Definition decl.hpp:80
Percentage unit.
Definition decl.hpp:482
Peta prefix (10^15).
Definition decl.hpp:64
Pico prefix (10^-12).
Definition decl.hpp:40
Prefixes scope.
Definition decl.hpp:21
Pressure quantity.
Definition decl.hpp:115
Speed quantity.
Definition decl.hpp:117
Tebi prefix (2^40).
Definition decl.hpp:78
Temperature quantity.
Definition decl.hpp:119
Tera prefix (10^12).
Definition decl.hpp:62
Time quantity.
Definition decl.hpp:101
URI quantity.
Definition decl.hpp:129
Yobi prefix (2^80).
Definition decl.hpp:86
Yocto prefix (10^-24).
Definition decl.hpp:32
Yotta prefix (10^24).
Definition decl.hpp:70
Zebi prefix (2^70).
Definition decl.hpp:84
Zepto prefix (10^-21).
Definition decl.hpp:34
Zetta prefix (10^21).
Definition decl.hpp:68
Amount units.
Definition decl.hpp:228
Angle units.
Definition decl.hpp:164
CSS color unit.
Definition decl.hpp:476
HSL color unit.
Definition decl.hpp:474
RGB color unit.
Definition decl.hpp:472
Color units.
Definition decl.hpp:464
Data units.
Definition decl.hpp:361
Data rate units.
Definition decl.hpp:395
Duration units.
Definition decl.hpp:136
Electric current units.
Definition decl.hpp:213
Force units.
Definition decl.hpp:258
Frequency units.
Definition decl.hpp:424
Length units.
Definition decl.hpp:273
Luminous intensity units.
Definition decl.hpp:243
Mass units.
Definition decl.hpp:196
Pressure units.
Definition decl.hpp:304
KiloMetersPerHour unit.
Definition decl.hpp:333
KiloMetersPerSecond unit.
Definition decl.hpp:331
MetersPerSecond unit.
Definition decl.hpp:329
Speed units.
Definition decl.hpp:321
Temperature units.
Definition decl.hpp:342
Time units.
Definition decl.hpp:181
URI units.
Definition decl.hpp:445
Units module.
Definition decl.hpp:10
The world.
Definition world.hpp:246