Klaus Basan
ff5cf5ea4a
refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords
2014-02-05 23:26:13 +00:00
Mathew Sutcliffe
db4c05dd9f
refs #84 removed the CValueObject::compare method and added a friend function BlackMisc::compare to replace it.
...
The new compare is implemented using "multimethods" described in the book Advanced C++ Programming Styles and Idioms by James Coplien.
First, the isA method is used to determine which of the values being compared is the most general. (For example, CLength is more general than CAltitude.)
Then the compareImpl method is called on the most general value, with the other value as an argument.
If there is not a direct inheritance relation between the two values (or they are the same class) then the comparison is invalid and a assert is triggered.
2014-01-17 01:38:27 +00:00
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
5f267e8245
minor regularization of vectors and matrices
2013-08-19 17:44:33 +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
62591a750f
Refactoring, renamed: convertToQString (old: stringForConvert)
2013-07-28 03:31:04 +02: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
7316980a5c
Enabled coordinates for DBus
2013-07-25 12:37:51 +02: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
472521f281
Further details on classes like epsilon compare, further unit tests.
2013-04-24 01:59:17 +02:00
Klaus Basan
f4affe55ef
Had to withdraw 3Vector3D, since they store values internally as float (idiotic design). Hence qreal will be dropped. Started with Unit tests.
2013-04-20 17:46:46 +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