Issue #77 Add class CPropertyIndexRef

This is a reference to a CPropertyIndex with
a subset of its API, and fewer dependencies.
This commit is contained in:
Mat Sutcliffe
2020-11-01 19:56:59 +00:00
parent c2ac37f552
commit ecac4bcb8c
6 changed files with 207 additions and 2 deletions

View File

@@ -11,6 +11,7 @@
#ifndef BLACKMISC_PROPERTYINDEX_H
#define BLACKMISC_PROPERTYINDEX_H
#include "blackmisc/propertyindexref.h"
#include "blackmisc/blackmiscexport.h"
#include "blackmisc/mixin/mixincompare.h"
#include "blackmisc/mixin/mixindbus.h"
@@ -199,6 +200,9 @@ namespace BlackMisc
//! From string
CPropertyIndex(const QString &indexes);
//! Return a simplified non-owning reference
operator CPropertyIndexRef() const;
//! Copy with first element removed
CPropertyIndex copyFrontRemoved() const;