Klaus Basan
978f3c88e5
style changes and removals of typeid
...
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
7117545fd6
Operator function templates, using std::enable_if to match only classes
...
derived from CStreamable, for streaming to/from QtDBusArgument, avoiding
the unrelated operator function template for streaming Container<T>
defined by Qt, by being a better match in overload resolution.
2013-08-26 21:15:59 +01:00
Mathew Sutcliffe
5f267e8245
minor regularization of vectors and matrices
2013-08-19 17:44:33 +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
a6f89ce9ea
renamed CBaseStreamStringifier to CStreamable
2013-08-19 03:05:09 +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
abfd72552b
Removed template from basestreamstringifier as discussed in https://dev.vatsim-germany.org/boards/15/topics/497?r=503
2013-05-10 22:56:36 +02:00
Klaus Basan
7b3174fd96
Merge with MS "private instead of protected in CRTP" changes
2013-05-01 00:51:57 +02:00
Klaus Basan
837809b96d
Changed round and renamed length in vector / matrix
2013-05-01 00:00:03 +02:00
Mathew Sutcliffe
e5afc2c627
made derived() private instead of protected in CRTP
2013-04-30 20:12:47 +01: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
a31e405b6b
Implemented commutative multiplications as friends in the templates, further test cases (unit tests), fixed Doxygen attributes, renamed test classes
2013-04-25 01:56:18 +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
bd53371de4
Fixed some issue with scalar multiplications (explicit) and continued with UNIT tests
2013-04-21 01:13:23 +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
8ffa443a69
Revised avionics (stringifier) and matrix operations
2013-04-19 14:36:30 +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