SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches
sqt::AbstractIndex Class Referenceabstract

#include <sqt/orm/table/index/abstract_index.h>

Description

An interface that provides access to information about an index.

This interface is implemented by all index types defined using the SQT_INDEX, SQT_INDEX_2, SQT_INDEX_UNIQUE and SQT_INDEX_UNIQUE_2 macros. It allows the way to interact with index definitions in a non-template manner.

See also
SQT_INDEX
SQT_INDEX_2
SQT_INDEX_UNIQUE
SQT_INDEX_UNIQUE_2

Public Member Functions

 AbstractIndex (const AbstractIndex &)=delete
AbstractIndexoperator= (const AbstractIndex &)=delete
virtual std::string_view GetName () const noexcept=0
virtual AbstractColumnsView GetAbstractColumns () const noexcept=0
virtual bool IsUnique () const noexcept=0