CONZEPT 16 C++ API
|
#include "C16/Key.hpp"
Classes | |
class | Field |
Field of a key. More... | |
class | Reorganization |
Reorganization of a key. More... | |
Public Member Functions | |
virtual Database & | database () const =0 |
Gets the database of the key. More... | |
virtual const Table & | table () const =0 |
Gets the table of the key. More... | |
virtual int | number () const =0 |
Gets the number of the key. More... | |
virtual const std::string & | name () const =0 |
Gets the name of the key. More... | |
virtual bool | unique () const =0 |
Gets if the key is unique. More... | |
virtual Reorganization::Result | reorganize (const Reorganization::Callback &callback=Reorganization::Callback()) const |
Reorganizes the key. More... | |
virtual const Series< Field > & | fields () const =0 |
Gets the fields of the key. More... | |
|
pure virtual |
Gets the number of the key.
|
pure virtual |
Gets the name of the key.
|
pure virtual |
Gets if the key is unique.
|
virtual |
Reorganizes the key.
callback | Callback that will be called in a loop during the reorganization |
Exception::Unavailability | Key reorganization unavailable. Key reorganization is unavailable for the origin database. |
Gets the fields of the key.