2018-08-25 18:11:12 +02:00
|
|
|
|
#ifndef PGAM_H
|
|
|
|
|
|
#define PGAM_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "Pgsql_declare.h"
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
2018-12-25 16:39:58 +01:00
|
|
|
|
/**
|
|
|
|
|
|
* @brief The PgAm class
|
|
|
|
|
|
*
|
|
|
|
|
|
* AM = Access Method, for indexes
|
|
|
|
|
|
*/
|
2018-08-25 18:11:12 +02:00
|
|
|
|
class PgAm {
|
|
|
|
|
|
public:
|
|
|
|
|
|
Oid oid;
|
|
|
|
|
|
QString name;
|
|
|
|
|
|
|
|
|
|
|
|
PgAm();
|
|
|
|
|
|
|
|
|
|
|
|
bool operator==(Oid rhs) const { return oid == rhs; }
|
|
|
|
|
|
bool operator<(Oid rhs) const { return oid < rhs; }
|
|
|
|
|
|
bool operator<(const PgAm &rhs) const { return oid < rhs.oid; }
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // PGAM_H
|