Commit Graph

27 Commits

Author SHA1 Message Date
Mathew Sutcliffe
6601393df8 refs #460 CDataCache for dynamic (downloaded/generated) data with file-based distribution among processes. 2015-11-19 20:58:26 +00:00
Mathew Sutcliffe
54bc3f265a refs #450 Added disk file saving and loading of CValueCache. 2015-11-19 20:58:10 +00:00
Mathew Sutcliffe
5da4b75d3e refs #297 CDictionary: allow access to m_impl and added forEachIntersection function (only supported when impl is QMap). 2015-11-19 20:51:22 +00:00
Mathew Sutcliffe
3941876aad Fixed CDictionary::swap and made CDictionary::operator== into a friend function. 2015-11-19 20:51:20 +00:00
Mathew Sutcliffe
47cac09e81 refs #437 Removed toQVariant and convertFromQVariant. 2015-05-31 17:21:17 +01:00
Mathew Sutcliffe
36a2e1a2bb refs #413 All value classes which had custom policies shall inherit from mixins instead. 2015-05-12 20:37:50 +01:00
Mathew Sutcliffe
6b40cde862 refs #413 Make all value class methods non-virtual.
toCVariant() and convertFromCVariant() are now deprecated,
use CVariant::from() and CVariant::to() instead.
2015-05-12 20:37:47 +01:00
Mathew Sutcliffe
b64ae55a86 refs #413 Access control of convertToQString changed from protected to public. 2015-05-12 20:37:43 +01:00
Mathew Sutcliffe
64e21b0a46 refs #413 Decomposed json-related functions of CValueObject into Mixin::JsonByTuple. 2015-05-12 20:37:41 +01:00
Mathew Sutcliffe
30cc7048ac refs #413 Decomposed dbus-related functions of CValueObject into Mixin::DBusByTuple. 2015-05-12 20:37:31 +01:00
Mathew Sutcliffe
2f55caf7c6 refs #413 Decomposed hash-related functions of CValueObject into Mixin::HashByTuple. 2015-05-12 20:36:04 +01:00
Mathew Sutcliffe
d9faa031d2 refs #413 Decomposed metatype-related functions of CValueObject into a dedicated class Mixin::MetaType,
bypassing the old Policy::MetaType classes. The ultimate intention is to decompose all the aspects of
CValueObject into separate mixins in this manner, and have derived classes inherit from the mixins directly.
Splitting the responsibilities of CValueObject into separate classes will reduce the coupling between different
cross-cutting concerns and allow us to untangle the web of interdependencies and greatly simplify things.
2015-05-12 20:36:03 +01:00
Mathew Sutcliffe
9977d97a67 refs #356 Renamed CValueObjectStdTuple to CValueObject. 2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
a5e6b31c0f refs #356 Update remaining CValueObject derived classes to use CValueObjectStdTuple instead. 2015-03-27 19:08:53 +00:00
Mathew Sutcliffe
0179240619 refs #247 Compiler fixes in CDictionary. 2014-12-13 01:38:51 +00:00
Mathew Sutcliffe
f2412483a0 Fixed mistakes detected by clang. 2014-10-16 17:11:31 +01:00
Roland Winklmeier
23c54a968d Fix missing includes in CDictionary 2014-10-07 23:37:10 +02:00
Klaus Basan
c1895c1ab2 refs #314, fixed missing virtual keyword and Doxygen comment 2014-08-25 13:10:13 +02:00
Klaus Basan
40b428a315 refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
2014-08-24 02:47:16 +02:00
Klaus Basan
290abe3693 refs #314, fromQVariant / location of toQVariant
* renamed fromQVariant to convertFromQVariant, the "from" methods imply the object is changed (fromJson, fromString ..)
* implemented fromQVariant - changing the object by QVariant
* moved toQVariant into PQ template
* free function setFromQVariant
2014-08-24 02:47:05 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Mathew Sutcliffe
d6234ee2cd refs #311 added initializer_list constructors in containers 2014-08-06 17:29:20 +01:00
Mathew Sutcliffe
58318677b5 refs #311 CDictionary: added move constructor and fixed move assignment 2014-08-06 17:29:19 +01:00
Mathew Sutcliffe
bd02c74ea8 refs #290 using a CRange of iterator adaptors to return containers of keys and values from CDictionary without copying the elements 2014-07-13 20:30:19 +01:00
Mathew Sutcliffe
e23e418797 incidental refactoring: simplify some predicates by templating their call operators 2014-07-13 00:45:22 +01:00
Mathew Sutcliffe
ef93477a82 CDictionary: fixed, enabled, and tested automatic selection of appropriate default implementation container.
refs #281
2014-07-04 11:41:44 +02:00
Roland Winklmeier
d46c5edb9f Generic CDictionary as associative container
refs #281
2014-07-04 11:41:44 +02:00