mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user