Klaus Basan
a280d239e6
using hashes to perform comparisons between blackmisc value objects stored inside of QVariant
...
refs #81
2014-01-08 00:59:00 +00:00
Klaus Basan
978f3c88e5
style changes and removals of typeid
...
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
8844774fbe
fixed bug when compiling with MinGW:
...
CPhysicalQuantity::operator== used the wrong abs() so it was only comparing integers
2013-09-16 23:12:41 +01:00
Mathew Sutcliffe
21ca361bc1
removed operator= and copy ctor from classes where they only duplicated the behaviour of the default implementations that C++ generates automatically
2013-08-19 03:21:12 +01:00
Mathew Sutcliffe
da8ba9aac3
First major wave of PQ refactoring, including but not limited to:
...
* Default unit is more clearly stated in one place, not restated in many different places, and is not always the SI unit
* Converter strategy pattern in CMeasurementUnit, covering linear, affine, and different kinds of sexagesimal units
* General reorganization of CMeasurementUnit construction and CPhysicalQuantity methods, not removing any behvaiour
* Move duplicated method unitFromSymbol from derived classes into base class CMeasurementUnit
* For DBus, CPhysicalQuantity marshals both in its own unit and in the default unit
2013-08-19 03:05:08 +01:00
Mathew Sutcliffe
baa0ac147e
remove integer quantities
2013-08-14 18:05:15 +01:00
Mathew Sutcliffe
2c781e8b36
style fixes: mostly just things that make my eyes bleed :)
2013-08-13 22:29:48 +01:00
Klaus Basan
40a97c3d82
Added I18N for PQs, initial version. Hence resource file and language files. Changed samplesphysicalquantities to check some I18N topics.
2013-07-27 20:23:23 +02:00
Klaus Basan
b84df5fc21
Merged with changes of MS, some similar bug fixes done in parallel
2013-04-30 02:34:15 +02:00
Klaus Basan
8f5d9263fd
Fixed all issues detected by the test cases under MinGW - such as usage of abs() -> changed to qAbs(), rounding issues detected during calculations, and changed streaming methods with qDebug() (QDebug vs &QDebug issue).
2013-04-30 01:43:14 +02:00
Mathew Sutcliffe
a05b85135c
replaced "clone" with "derived" in CRTP (more usual, more flexible, more clear in its intent, and avoids copying the object twice on compilers that don't optimise return by value)
2013-04-30 00:09:32 +01:00
Klaus Basan
c97ddc4e3b
Polymorphic clone for CRT Pattern in templates (basically a static_cast for concrete initializations of template class)
2013-04-27 17:18:32 +02:00
Klaus Basan
5eac9be7d5
Unit tests for acceleration and more for vector
2013-04-25 20:21:04 +02:00
Klaus Basan
8121babe77
Initial structure for refactoring, some conversions still missing. Especially required further test cases.
2013-04-19 00:19:41 +02:00
Klaus Basan
5bf308c54b
Initial refactoring of vector and matrix classes
2013-04-18 01:04:21 +02:00
Klaus Basan
5f678dfe28
String-ifier for streams as preparation for the GeoClasses
2013-04-12 19:21:50 +02:00
Klaus Basan
42712a2baf
Fixed Doxygen comments
2013-04-11 00:28:35 +02:00
Klaus Basan
9a87731944
Avionics classes for Transponder, ADF, changed namespace to 2ndlevel
2013-04-09 02:00:38 +02:00
Klaus Basan
eb102372f1
Individual (per object) conversion as well as per unit (class) now possible, this is required for sexagesimal conversion (degrees) and will be required for geo-positions. Further classed for avionics.
2013-04-05 02:29:52 +02:00
Klaus Basan
943872ff67
Changed order of samples directory, started with aviation classes.
2013-04-01 21:53:35 +02:00
Klaus Basan
f77258343d
CAngleUnit::sexagesimalDeg(), moved conversion to virtual method in CMeasurmenetUnit, made string conversion virtual and also moved it to CMeasurmenetUnit (=>individual formatters). Time unit added.
2013-03-31 00:35:25 +01:00
Klaus Basan
be34b78425
Renamed distamce to SI conform name length: CDistance->CLength
...
Started with aviation classes
2013-03-27 18:09:39 +01:00
Klaus Basan
5677cd41e3
Changed PQ to template, removed unit default values, checked unit tests
2013-03-27 12:03:16 +01:00
Klaus Basan
b3439ea3e4
Virtual destructor for polymorphic classes, const correctness, removed virtual method call in constructor
2013-03-24 17:15:08 +01:00
Klaus Basan
3b99954bdc
Unit tests for temperature, virtual method for value conversion
2013-03-22 23:02:25 +01:00
Klaus Basan
525910c7a3
Moved PQs from blackcore to blackmisc, added header for namespace, mainpage.dox for Doxygen
2013-03-22 16:07:53 +01:00