pgLab/pglablib/PgAm.h

20 lines
332 B
C
Raw Normal View History

#ifndef PGAM_H
#define PGAM_H
#include "Pgsql_declare.h"
#include <QString>
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