refs #413, #416 Using Mixin::Index in more classes so that index "myself" yields correct derived type.

(cherry picked from commit 2b7f7eb6b692a3464863ece86b30ea0b7efc2a1d)
This commit is contained in:
Mathew Sutcliffe
2015-05-08 20:22:02 +01:00
parent dfe42e1ce7
commit f631f51210
8 changed files with 24 additions and 9 deletions

View File

@@ -24,13 +24,15 @@ namespace BlackMisc
class BLACKMISC_EXPORT CComSystem :
public CModulator<CComSystem>,
public Mixin::MetaType<CComSystem>,
public Mixin::JsonOperators<CComSystem>
public Mixin::JsonOperators<CComSystem>,
public Mixin::Index<CComSystem>
{
public:
//! Base type
using base_type = CModulator<CComSystem>;
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CComSystem)
BLACKMISC_DECLARE_USING_MIXIN_INDEX(CComSystem)
//! Channel spacing frequency
enum ChannelSpacing