| Multi diag tools
    | 
List of columns in a item model that represents a primary key. More...
#include <PrimaryKey.h>
| Public Types | |
| typedef ColumnList::const_iterator | const_iterator | 
| STL const iterator. | |
| Public Member Functions | |
| PrimaryKey ()=default | |
| Construct a null primary key. | |
| PrimaryKey (std::initializer_list< int > list) | |
| Construct a primary key.  More... | |
| int | columnCount () const | 
| Get count of columns. | |
| bool | isNull () const noexcept | 
| Check if this primary key is null. | |
| int | greatestColumn () const | 
| Get the greates column.  More... | |
| bool | containsColumn (int column) const | 
| Check if this primary key contains a column. | |
| void | clear () | 
| Clear. | |
| const_iterator | begin () const | 
| Get const iterator to the first column. | |
| const_iterator | end () const | 
| Get const iterator to the last. | |
| ColumnList | toColumnList () const | 
| Get columns list. | |
| Static Public Member Functions | |
| static PrimaryKey | fromColumnList (const ColumnList &columnList) | 
| Get a primary key from a column list. | |
List of columns in a item model that represents a primary key.
Definition at line 32 of file PrimaryKey.h.
| 
 | inlineexplicit | 
Construct a primary key.
Definition at line 49 of file PrimaryKey.h.
| 
 | inline | 
Get the greates column.
Returns -1 if this list is empty.
Definition at line 77 of file PrimaryKey.h.
 1.8.11
 1.8.11