Flecs
v4.0
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
8
namespace
flecs {
9
struct
units
{
10
19
struct
Prefixes
{ };
20
29
struct
Yocto
{ };
30
struct
Zepto
{ };
31
struct
Atto
{ };
32
struct
Femto
{ };
33
struct
Pico
{ };
34
struct
Nano
{ };
35
struct
Micro
{ };
36
struct
Milli
{ };
37
struct
Centi
{ };
38
struct
Deci
{ };
39
struct
Deca
{ };
40
struct
Hecto
{ };
41
struct
Kilo
{ };
42
struct
Mega
{ };
43
struct
Giga
{ };
44
struct
Tera
{ };
45
struct
Peta
{ };
46
struct
Exa
{ };
47
struct
Zetta
{ };
48
struct
Yotta
{ };
49
struct
Kibi
{ };
50
struct
Mebi
{ };
51
struct
Gibi
{ };
52
struct
Tebi
{ };
53
struct
Pebi
{ };
54
struct
Exbi
{ };
55
struct
Zebi
{ };
56
struct
Yobi
{ };
57
68
struct
Duration
{ };
69
struct
Time
{ };
70
struct
Mass
{ };
71
struct
ElectricCurrent
{ };
72
struct
LuminousIntensity
{ };
73
struct
Force
{ };
74
struct
Amount
{ };
75
struct
Length
{ };
76
struct
Pressure
{ };
77
struct
Speed
{ };
78
struct
Temperature
{ };
79
struct
Data
{ };
80
struct
DataRate
{ };
81
struct
Angle
{ };
82
struct
Frequency
{ };
83
struct
Uri
{ };
84
struct
Color
{ };
85
88
struct
duration
{
95
struct
PicoSeconds
{ };
96
struct
NanoSeconds
{ };
97
struct
MicroSeconds
{ };
98
struct
MilliSeconds
{ };
99
struct
Seconds
{ };
100
struct
Minutes
{ };
101
struct
Hours
{ };
102
struct
Days
{ };
103
105
};
106
107
struct
angle
{
114
struct
Radians
{ };
115
struct
Degrees
{ };
116
118
};
119
120
121
struct
time
{
128
struct
Date
{ };
129
131
};
132
133
134
struct
mass
{
141
struct
Grams
{ };
142
struct
KiloGrams
{ };
143
145
};
146
147
148
struct
electric_current
{
155
struct
Ampere
{ };
156
158
};
159
160
161
struct
amount
{
168
struct
Mole
{ };
169
171
};
172
173
174
struct
luminous_intensity
{
181
struct
Candela
{ };
182
184
};
185
186
187
struct
force
{
194
struct
Newton
{ };
195
197
};
198
199
200
struct
length
{
207
struct
Meters
{ };
208
struct
PicoMeters
{ };
209
struct
NanoMeters
{ };
210
struct
MicroMeters
{ };
211
struct
MilliMeters
{ };
212
struct
CentiMeters
{ };
213
struct
KiloMeters
{ };
214
struct
Miles
{ };
215
struct
Pixels
{ };
216
218
};
219
220
221
struct
pressure
{
228
struct
Pascal
{ };
229
struct
Bar
{ };
230
232
};
233
234
235
struct
speed
{
242
struct
MetersPerSecond
{ };
243
struct
KiloMetersPerSecond
{ };
244
struct
KiloMetersPerHour
{ };
245
struct
MilesPerHour
{ };
246
248
};
249
250
251
struct
temperature
{
258
struct
Kelvin
{ };
259
struct
Celsius
{ };
260
struct
Fahrenheit
{ };
261
263
};
264
265
266
struct
data
{
273
struct
Bits
{ };
274
struct
KiloBits
{ };
275
struct
MegaBits
{ };
276
struct
GigaBits
{ };
277
struct
Bytes
{ };
278
struct
KiloBytes
{ };
279
struct
MegaBytes
{ };
280
struct
GigaBytes
{ };
281
struct
KibiBytes
{ };
282
struct
MebiBytes
{ };
283
struct
GibiBytes
{ };
284
286
};
287
288
struct
datarate
{
295
struct
BitsPerSecond
{ };
296
struct
KiloBitsPerSecond
{ };
297
struct
MegaBitsPerSecond
{ };
298
struct
GigaBitsPerSecond
{ };
299
struct
BytesPerSecond
{ };
300
struct
KiloBytesPerSecond
{ };
301
struct
MegaBytesPerSecond
{ };
302
struct
GigaBytesPerSecond
{ };
303
305
};
306
307
308
struct
frequency
{
315
struct
Hertz
{ };
316
struct
KiloHertz
{ };
317
struct
MegaHertz
{ };
318
struct
GigaHertz
{ };
319
321
};
322
323
324
struct
uri
{
331
struct
Hyperlink
{ };
332
struct
Image
{ };
333
struct
File
{ };
334
336
};
337
338
339
struct
color
{
346
struct
Rgb
{ };
347
struct
Hsl
{ };
348
struct
Css
{ };
349
351
};
352
353
struct
Percentage
{ };
354
struct
Bel
{ };
355
struct
DeciBel
{ };
356
357
units
(
flecs::world
&
world
);
358
361
};
362
}
flecs::units::Amount
Definition
decl.hpp:74
flecs::units::Angle
Definition
decl.hpp:81
flecs::units::Atto
Definition
decl.hpp:31
flecs::units::Bel
Definition
decl.hpp:354
flecs::units::Centi
Definition
decl.hpp:37
flecs::units::Color
Definition
decl.hpp:84
flecs::units::DataRate
Definition
decl.hpp:80
flecs::units::Data
Definition
decl.hpp:79
flecs::units::Deca
Definition
decl.hpp:39
flecs::units::DeciBel
Definition
decl.hpp:355
flecs::units::Deci
Definition
decl.hpp:38
flecs::units::Duration
Definition
decl.hpp:68
flecs::units::ElectricCurrent
Definition
decl.hpp:71
flecs::units::Exa
Definition
decl.hpp:46
flecs::units::Exbi
Definition
decl.hpp:54
flecs::units::Femto
Definition
decl.hpp:32
flecs::units::Force
Definition
decl.hpp:73
flecs::units::Frequency
Definition
decl.hpp:82
flecs::units::Gibi
Definition
decl.hpp:51
flecs::units::Giga
Definition
decl.hpp:43
flecs::units::Hecto
Definition
decl.hpp:40
flecs::units::Kibi
Definition
decl.hpp:49
flecs::units::Kilo
Definition
decl.hpp:41
flecs::units::Length
Definition
decl.hpp:75
flecs::units::LuminousIntensity
Definition
decl.hpp:72
flecs::units::Mass
Definition
decl.hpp:70
flecs::units::Mebi
Definition
decl.hpp:50
flecs::units::Mega
Definition
decl.hpp:42
flecs::units::Micro
Definition
decl.hpp:35
flecs::units::Milli
Definition
decl.hpp:36
flecs::units::Nano
Definition
decl.hpp:34
flecs::units::Pebi
Definition
decl.hpp:53
flecs::units::Percentage
Definition
decl.hpp:353
flecs::units::Peta
Definition
decl.hpp:45
flecs::units::Pico
Definition
decl.hpp:33
flecs::units::Prefixes
Definition
decl.hpp:19
flecs::units::Pressure
Definition
decl.hpp:76
flecs::units::Speed
Definition
decl.hpp:77
flecs::units::Tebi
Definition
decl.hpp:52
flecs::units::Temperature
Definition
decl.hpp:78
flecs::units::Tera
Definition
decl.hpp:44
flecs::units::Time
Definition
decl.hpp:69
flecs::units::Uri
Definition
decl.hpp:83
flecs::units::Yobi
Definition
decl.hpp:56
flecs::units::Yocto
Definition
decl.hpp:29
flecs::units::Yotta
Definition
decl.hpp:48
flecs::units::Zebi
Definition
decl.hpp:55
flecs::units::Zepto
Definition
decl.hpp:30
flecs::units::Zetta
Definition
decl.hpp:47
flecs::units::amount::Mole
Definition
decl.hpp:168
flecs::units::amount
Definition
decl.hpp:161
flecs::units::angle::Degrees
Definition
decl.hpp:115
flecs::units::angle::Radians
Definition
decl.hpp:114
flecs::units::angle
Definition
decl.hpp:107
flecs::units::color::Css
Definition
decl.hpp:348
flecs::units::color::Hsl
Definition
decl.hpp:347
flecs::units::color::Rgb
Definition
decl.hpp:346
flecs::units::color
Definition
decl.hpp:339
flecs::units::data::Bits
Definition
decl.hpp:273
flecs::units::data::Bytes
Definition
decl.hpp:277
flecs::units::data::GibiBytes
Definition
decl.hpp:283
flecs::units::data::GigaBits
Definition
decl.hpp:276
flecs::units::data::GigaBytes
Definition
decl.hpp:280
flecs::units::data::KibiBytes
Definition
decl.hpp:281
flecs::units::data::KiloBits
Definition
decl.hpp:274
flecs::units::data::KiloBytes
Definition
decl.hpp:278
flecs::units::data::MebiBytes
Definition
decl.hpp:282
flecs::units::data::MegaBits
Definition
decl.hpp:275
flecs::units::data::MegaBytes
Definition
decl.hpp:279
flecs::units::data
Definition
decl.hpp:266
flecs::units::datarate::BitsPerSecond
Definition
decl.hpp:295
flecs::units::datarate::BytesPerSecond
Definition
decl.hpp:299
flecs::units::datarate::GigaBitsPerSecond
Definition
decl.hpp:298
flecs::units::datarate::GigaBytesPerSecond
Definition
decl.hpp:302
flecs::units::datarate::KiloBitsPerSecond
Definition
decl.hpp:296
flecs::units::datarate::KiloBytesPerSecond
Definition
decl.hpp:300
flecs::units::datarate::MegaBitsPerSecond
Definition
decl.hpp:297
flecs::units::datarate::MegaBytesPerSecond
Definition
decl.hpp:301
flecs::units::datarate
Definition
decl.hpp:288
flecs::units::duration::Days
Definition
decl.hpp:102
flecs::units::duration::Hours
Definition
decl.hpp:101
flecs::units::duration::MicroSeconds
Definition
decl.hpp:97
flecs::units::duration::MilliSeconds
Definition
decl.hpp:98
flecs::units::duration::Minutes
Definition
decl.hpp:100
flecs::units::duration::NanoSeconds
Definition
decl.hpp:96
flecs::units::duration::PicoSeconds
Definition
decl.hpp:95
flecs::units::duration::Seconds
Definition
decl.hpp:99
flecs::units::duration
Definition
decl.hpp:88
flecs::units::electric_current::Ampere
Definition
decl.hpp:155
flecs::units::electric_current
Definition
decl.hpp:148
flecs::units::force::Newton
Definition
decl.hpp:194
flecs::units::force
Definition
decl.hpp:187
flecs::units::frequency::GigaHertz
Definition
decl.hpp:318
flecs::units::frequency::Hertz
Definition
decl.hpp:315
flecs::units::frequency::KiloHertz
Definition
decl.hpp:316
flecs::units::frequency::MegaHertz
Definition
decl.hpp:317
flecs::units::frequency
Definition
decl.hpp:308
flecs::units::length::CentiMeters
Definition
decl.hpp:212
flecs::units::length::KiloMeters
Definition
decl.hpp:213
flecs::units::length::Meters
Definition
decl.hpp:207
flecs::units::length::MicroMeters
Definition
decl.hpp:210
flecs::units::length::Miles
Definition
decl.hpp:214
flecs::units::length::MilliMeters
Definition
decl.hpp:211
flecs::units::length::NanoMeters
Definition
decl.hpp:209
flecs::units::length::PicoMeters
Definition
decl.hpp:208
flecs::units::length::Pixels
Definition
decl.hpp:215
flecs::units::length
Definition
decl.hpp:200
flecs::units::luminous_intensity::Candela
Definition
decl.hpp:181
flecs::units::luminous_intensity
Definition
decl.hpp:174
flecs::units::mass::Grams
Definition
decl.hpp:141
flecs::units::mass::KiloGrams
Definition
decl.hpp:142
flecs::units::mass
Definition
decl.hpp:134
flecs::units::pressure::Bar
Definition
decl.hpp:229
flecs::units::pressure::Pascal
Definition
decl.hpp:228
flecs::units::pressure
Definition
decl.hpp:221
flecs::units::speed::KiloMetersPerHour
Definition
decl.hpp:244
flecs::units::speed::KiloMetersPerSecond
Definition
decl.hpp:243
flecs::units::speed::MetersPerSecond
Definition
decl.hpp:242
flecs::units::speed::MilesPerHour
Definition
decl.hpp:245
flecs::units::speed
Definition
decl.hpp:235
flecs::units::temperature::Celsius
Definition
decl.hpp:259
flecs::units::temperature::Fahrenheit
Definition
decl.hpp:260
flecs::units::temperature::Kelvin
Definition
decl.hpp:258
flecs::units::temperature
Definition
decl.hpp:251
flecs::units::time::Date
Definition
decl.hpp:128
flecs::units::time
Definition
decl.hpp:121
flecs::units::uri::File
Definition
decl.hpp:333
flecs::units::uri::Hyperlink
Definition
decl.hpp:331
flecs::units::uri::Image
Definition
decl.hpp:332
flecs::units::uri
Definition
decl.hpp:324
flecs::units
Definition
decl.hpp:9
flecs::world
The world.
Definition
world.hpp:137